adam bien's blog

J2EE 1.4 Patterns were workarounds...and Java EE 5 Patterns are opensourced now 📎

My Java EE 5 Architekturen Book is completed now (it only has to be reviewed and printed), and I found some time to opensource all the examples at java.net  The project   (Patterns For Java EE 5) consists actually of several Netbeans 6 projects which demonstrate patterns, utilities and new ideas. About 20 projects are still waiting for check in (I have to find some time for cleanup). P4J5 (https://p4j5.dev.java.net) covers service oriented, as well as domain driven ideas. All the samples are tested with Glassfish v2, Netbeans 5.5/6 the Netbean's sample JavaDB so they should work out of the box. Although the book was written in german language, all the examples come with english javadoc. I checked in initially the replacement of the ServiceLocator "pattern". In the next weeks I will check in the remaining patterns/projects.
Btw. although J2EE patterns were said to be workarounds, they are still very suitable for some cases in the Java EE 5 environment.

We will discuss all the patterns in the Java EE 5 Patterns workshop in Hamburg at oose.de next week :-).