JPA, Hibernate, EJB3 and TopLink quick diagram

22 January 2008

I searched some UML diagram on JPA, Hibernate, toplink, openJPA and EJB3 to get a quick understanding on how they are related to each other. I think that I have a good understanding now, but I found some confusing comparisons along the way.

The best I have found so far is : Java Persistence, implementations, and Java EE servers.

So I bring my own here, take it as a work in progress, open to criticisms : JPA UML Diagram

Note : I used UMLet and examples.

I think that I will add the servers deployment view.

So here is the version 2, a bit more cluttered :jpa1.jpg


Grenoble Software Event (GEC) at SUN

17 January 2008

Really a nice feeling about it. Some speakers are good : Jason Baragry for example. And I can see – in real – peoples that were only voices on Podcasts, like Roman Strobl or Alexis Moussine-Pouchkine. I like to be in an international, all english speaking environment. Still the problem is that I already listen to podcast, read news, so I only discovered Identity Managment, OpenDS and Java CAPS. The tools for openESB and CAPS are impressive !

And I didn’t know that SUN was so ahead of the others in term of investment in Open Source !!

Guess it is time to invest in SUN techno …


Fedora 8 and Java

15 January 2008

Some more informations on Fedora 8 and Java. A new hard drive was a good excuse to do a fresh Fedora install. Even with a fresh install, I had to remove all the i386 package (I have a x86_64 : no need to duplicate all package, this is a known problem of Fedora) and legacy gcj stuff.

I installed Java 7 since it is the future. But since it doesn’t have the crypto features yet, and since they are required for Glassfish, I installed the SUN JDK 6 as well.

So informations are bit misleading on the topic. Here is what I like to do :

Install jpackage-utils, then SUN JDK 6 RPM, then JPackage -compat package for the SUN rpm : java-1.6.0-sun-compat-1.6.0.04-1jpp.i586.rpm.

Manage the Java 6 / 7 switch with galternatives or (command line alternatives)

Remember Java 7 IcedTea install tips :

Mauriat Miranda tips and added the JDK as well (-devel) : sudo yum install java-1.7.0-icedtea java-1.7.0-icedtea-devel java-1.7.0-icedtea-plugin

I tested as per Gregory Gulick’s tips and it was OK.