Stateful session beans are appropriate if any of the following conditions are true.
A session bean may be either:
A Session Bean implements and encapsulates a business task that can be invoked programmatically by a client over local, remote, or web service client views.
The session bean performs work (such as calculations or database access) for its client, shielding Read more…
You can download latest version of JDK from this location
http://www.oracle.com/technetwork/java/javase/downloads/index.html
We have used Java SE 6 Update 30. Click on the download Read more…