One to One Mappings in Hibernate

Simple One to One using assigned identifiers (meaning you hae to set the id yourself) http://www.xylax.net/hibernate/onetoone.html

Using Formula’s in hibernate mappings and some other neat tricks round computed fields http://www.onjava.com/lpt/a/6092

Hibernates Own Reference Documentation
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#mapping-declaration-onetoone

… Chapter 7 on associations gives some examples.  http://www.hibernate.org/hib_docs/reference/en/html/associations.html

JSR 220: EJB 3.0

Sometimes the best resources are straight from the horses mouth.  The excellent resources I found are located on the Java Community Process site.

The EJB 3 specifications for the core and persistence as well as a simplified spec can be found here.  Download page.  Click on the first download link to get access.

Basics Refresher: Sun Application Server

This works on glassfish as well

Command Does
asadmin start-domain Starts the domain called domain1
asadmin start-domain –verbose domain1 As above but provides lots of logging information
asadmin stop-domain domain1 Stops the domain
asadmin start-database Starts the JavaDB database
asadmin stop-database Stops the database

The admin console will default to http://localhost:4848

Swing Explorer

Initially Swing Explorer looked like it was the one size fits all solution to replace QTP.

Ok, I was a bit nieve, its more aiken to the Object Spy of QTP, allowing to see the heirachy of a Java object just by clicking it.

The neatest thing it has though is a Player to help diagnose the drawing an layout of your objects.  I thought this was a player, ala QTP recording and playback, but no, its a different kind but still very useful if you are trying to debug layout in a Swing app.