New blog address

23 June 2008

http://brunovernay.blogspot.com/ !!


EEE (Asus PC) in France

25 February 2008

I didn’t notice the impact and “caffouillage” SFR did with the EEE in france : http://www.blogeee.net/ is worth reading some articles.

Looks like a nice way to introduce another OS to the masses.

By the way my new blog is in http://brunovernay.blogspot.com/


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.


Maven dependencies an Glassfish

12 December 2007

I am a bit new to Maven2 but it seems like I am not the only one to have problems with dependencies. Looks like stuff related to Sun Application Server (now Glassfish) and the Webservice Stack (now Glassfish Metro) has changed and the repositories moved.

References :


Remote access to Netbeans

11 December 2007

Using Netbeans remotely with FreeNX, I had some trouble with the display not refreshing very well.
The solution is simply to uses sun.java2d.pmoffscreen, i.e.  add the option -J-Dsun.java2d.pmoffscreen=false in etc/netbeans.conf.

There should be a way to detect if the display is local or not reading the DISPLAY env variable :

…j2se/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java , see _isDisplayLocal method …

I have to try with the J2D_PIXMAPS=shared/server env variable too.


Follow

Get every new post delivered to your Inbox.