Archive for the 'Coding' Category

Enterprise Integration with Apache Camel

I’ve just published a mini e-book, in Portuguese, about Enterprise Integration with Apache Camel. If you happen to speak Portuguese, you can download it out here.

Quick tips for running Java applications on OpenShift

Apache Commons Configuration:

It’s pretty common to need to set hostname or a port for your service in OpenShift. If you’re using Apache Commons Configuration, there’s a quick an easy way to access variables exported by the cartridges. You can address the environment variables using the ‘env’ prefix.

Continue reading ‘Quick tips for running Java applications on OpenShift’

NoSQL: links for beginners

NoSQL databases are some of the hottest topics in the IT industry in the moment. A beginner can easily feel swamped with the amount of documentation available. Since I am a beginner to NoSQL as well, I separated two links which I access every now and then:

A Visual Guide to NoSQL explains how the commonly used NoSQL offerings relate to CAP Theorem.

A Beginner’s Guide to NoSQL is an article, originally written for the Software Developer’s Journal, that explain the basics principles and ideas behind the NoSQL databases.

 

 

Running the Simple Apache CXF Server Example on Red Hat Openshift

Today I dedicated some time to educate myself about OpenShift, the Red Hat’s Platform-As-A-Service offering. It allow us, developers, to quickly develop, deploy and provide scalable applications over the web.

To learn about it, I decided to deploy a really simple web application. I thought it would be a good idea to deploy the Simple CXF Server example on my free account. You can see it in action here. Because OpenShift documentation is quite extensive, it might be complicated for the beginner like me. So I decided to take notes of my steps while I deployed I simple Apache CXF-based application.

These are the steps I had to do:

Continue reading ‘Running the Simple Apache CXF Server Example on Red Hat Openshift’

SSPS: SDM Development and Latest Releases

You can find the documentation for the latest SDM version here. Also, version 0.2.3 is out and fixes a couple of annoying bugs. Check it out.

Toy Project: Download Server

In case you need an example about how to use one of these:

  • Unix Message Queues
  • Unix Sockets
  • POSIX Threads
  • LibCurl
  • Basic C usage

You may want to take a look at the source code of my toy project at GitHub. I don’t claim it to be good, bug free or even usable beyond what I need – much to the contrary: I don’t think I would show this at a job interview o.O. Anyway, feel free to check it out if you need an usage example of any of these technologies.

SSPS 0.2.0 is out

I just released another version of SSPS: no more XMLs, no more WebDav. Instead: Groovy-based scripts, Git or SVN repositories. Check it out.

Eclipse Juno Sucks

I have been using Eclipse Juno for the last couple of months and I must say that it’s probably the worst Eclipse version I have ever used:

  • Important plugins (Findbugs, PMD, CodePro Analytix) don’t work or work badly.
  • The UI (perspectives) disappear out of nowhere and don’t come back.
  • It’s slow. Very. Slow.
  • The new UI is ugly.

So far, it’s biggest success is driving me towards IntteliJ.

Installing Oracle Java on Ubuntu

 

I used this reference.

 

 

How to create deb packages

Today, after a very long time, I had to create a package for a Linux system. It’s been a long time since I did that for the last time so I had to re-learn it again. This time, however, I am using Ubuntu so I had to create deb packages instead of rpm ones. Browsing the web I found these two texts very useful:

Happy hacking!

Next Page »


Categories