The Java Momentum
Daily life of a Java Software Engineer.
Daily life of a Java Software Engineer.
Jul 28th
At last, back in Belgium behind my desk and finding some time to write something.
After 7 days of exploring the citylife, the two weeks at the Belgian Coast were very welcome.
In a few days I will be recommencing my daily job as a Java Software Engineer and blogging things as they happen.
Jun 22nd
Today, the RichFaces 4 Alpha 2 was released. For an overview of what’s new in JSF2 and the possibilities, check out this blog by Andy Schwartz for a complete review with lots of links and documentation.
Quote from the Richfaces Project Page
RichFaces is a component library for JSF and an advanced framework for easily integrating AJAX capabilities into business applications.
- 100+ AJAX enabled components in two libraries
- a4j: page centric AJAX controls
- rich: self contained, ready to use components
- Whole set of JSF benefits while working with AJAX
- Skinnability mechanism
- Component Development Kit (CDK)
- Dynamic resources handling
- Testing facilities for components, actions, listeners, and pages
- Broad cross-browser support
- Large and active community
JSF 2 and RichFaces 4
We are working hard on RichFaces 4.0 which will have full JSF 2 integration. That is not all though, here is a summary of updates and features:
- Redesigned modular repository and build system.
- Simplified Component Development Kit with annotations, faces-config extensions, advanced templates support and more..
- Ajax framework improvements extending the JSF 2 specification.
- Component review for consistency, usability, and redesign following semantic HTML principles where possible.
- Both server-side and client-side performance optimization.
- Strict code clean-up and review.
I followed the tutorial on how to get a project up and running from this JBoss Community article and started work on a clean skeleton. On this blank project I will be experimenting with JSF2 and richfaces components in the near future.
With this blank project in mind, I created following architecture:
You can immediatly start experimenting by importing this Maven2 project in your favourite IDE (mvn eclipse:eclipse goal is configured). Have fun!
Jun 21st
Today I had the opportunity to write a reusable component for the project I am currently working on. Because I had the freedom to write it from scratch, I looked into some of the design patterns that are commonly used in the process of Software Engineering.
While I refreshed some of the common design patterns, I found this nice thread on Stack Overflow – Examples of gof design patterns. It offers an overview of design patterns that are being used in the Sun Java SE and JavaEE API. Since the sun JDK is open-source and thus free for all, it’s easy for you to take a look into its source code and learn from the better implementations of these patterns.

Some of the patterns that are linked into the JDK:
Just take a look for yourself! Keep your favourite IDE open with sources attached!
Jun 20th