Archive for the ‘Java’ Category

Better Builds with Maven

I think a lot of people who are working with Maven know this already. But I have never wrote about it here at Happy-Coding: Better Builds with Maven is a freely available book, which contains lot’s of best practice information about the work with Maven. Available to download at MaestroDev.  

Resetting Java formatting options in Netbeans

I’ve just searched for a way to reset the Java Formatting Options in Netbeans 7.1.1. And I didn’t find a convenient  way to do this. The only way I found was to directly delete the .xml file (org-netbeans-modules-editor-settings-CustomPreferences.xml) which is responsible for storing the Java settings: USER_DIR/.netbeans/7.1/config/Editors/text/x-java/Preferences

quick coding info: order of Java modifiers

How you should order Java mofifiers so that you conform to the Java specs. public protected private abstract static final transient volatile synchronized native strictfp

JPPF 3.0 released

The new version of the nice Java Parallel Processing Framework (JPPF) is out. See what’s new in the release 3.0 by reading the release notes.

Neo4j. NoSQL graph database

Neo4j is a graph database, storing data in the nodes and relationships of a graph. The most generic of data structures, a graph elegantly represents any kind of data, preserving the natural structure of the domain.

Configure Glassfish 3.2 to use log4j

I am just working with Glassfish 3.2 and wanted to integrate log4j logging, so I can see Logger outputs in my normal server.log First I downloaded a log4j jar. Then I copied this jar file into my Glassfish /lib directory. Then I created a log4j.properties file and put it into the /config directory of my [...]

Twitter says goodbye to Ruby on Rails

The guys at Twitter are moving away from their Ruby on Rails front-end servers towards their customized Java server Blender which is based on good old Netty. In the next phase of our deploy, we will eliminate Ruby on Rails entirely, connecting users directly to Blender and potentially reducing latencies even further. (via twitter.com)

mybatis

Shame on me, that it took my brain 4 months to recognize that Apache Ibatis has retired and has become mybatis.

Install sun-java6-jdk on Ubuntu 10.04 (Lucid)

Note on current Debian versions: SunSDK has been completely removed from the partner archives and the user should move to OpenJDK instead. See also the following links: Moving to OpenJDK as the official Java SE 7 Reference Implementation Java 6 Transition You should install OpenJDK instead sudo apt-get install openjdk-6-jdk If you still want to run [...]

How to change a normal Eclipse project to a Java Eclipse project

I just had the problem that i wanted to change the project-type of an Eclipse project to ‘Java Project’ — it was a normal project before. This are the steps i executed: Close the project Go to the project directory  (e.g. using Terminal application) Open .project file Go to the XML node <natures> and insert [...]