royvanrijn: JDK7.B won't fix modularity, won't fix the dependency mess and won't add anything new to the language (except minor Coin stuff)

What kind of woman would your web framework be?

January 20th, 2010

Struts

This would be Struts

If Struts was a woman, she would probably be around their 40s. She is mature and has a lot of experience, but she has lost her glamour and her good looks. Everything still kind of works, but not ‘like it used to’. Young new JEE developers don’t want anything to do with her and try to stay away. But the older mature managers still have feelings for her and long back to when she was young and the world was a better place.

Continue reading »

Learn to use Dependency Injection

January 18th, 2010

Recently I placed a comment on this interesting blog from Uncle Bob Martin (Robert C. Martin). It contains a brief description on how I teach people how to use the Spring Framework.

Now, by popular demand (one person requested it over Twitter), I’ll guide you through the method and examples I use in this blogpost. It explains why people should use frameworks like Spring and/or Google Guice, and how.

Continue reading »

Splitting up Spring Web Flow & Facelets into JARs

December 15th, 2009

In our current project we want to have multiple Spring Web Flow-flows in one WAR-file. But we also want the flows and pages to be inside seperate JAR files, making the application a bit more managable and modulair.

This sounds straightforward but it took quite a bit of code and time…

Continue reading »

Cleaner code: Inversion of logic

December 11th, 2009
Design patterns

Almost all programmers have heard about and used design patterns. And there are a lot of them. Famous design patterns include the Singleton, Observer, Template method. These are all patterns that focus on objects and the relationship between them.

There are more groups of patterns, for example take Dependency Injection (or Inversion of Control). This is an architectural pattern. They tell you things about the design of the whole program. And there are specific pattern groups, like concurrency patterns.

These patterns help you solve common problems in a well defined way, other programmers will recognise the patterns used and it will help produce more maintainable code.

Continue reading »

Java EE 6 released, including Servlet 3.0

December 10th, 2009

Today marks the release of Java EE 6. The reference implementation (Glassfish V3) has been released and the specifications are going into their final state very soon.

About two years ago, while I was attending the JavaOne conference, I first heard about the Servlet 3.0 ideas. As a web developer I’ve worked a lot with these Servlets so I was curious about the ideas. But what I saw wasn’t what I hoped for. On the contrary, what I saw was a huge mistake in my opinion!
Continue reading »

Page 2 of 3123