● Java EE: The Foundation for Your Business (Keynote)
● Java EE 6: An Overview (Keynote)
● GlassFish v3 - Java EE 6 Reference Implementation & Beyond (Keynote)
● Enterprise Java Beans (EJB) 3.1 Features
● Jersey, JAX-RS and REST with GlassFish v3
● Servlet 3.0
● Java Persistence API (JPA) 2.0
● Java Server Faces (JSF) 2.0
● Web Services in GlassFish
● Context Dependency and Injection (JSR 299)
● OSGi in GlassFish v3
● Dynamic Languages with GlassFish v3
● Tools for GlassFish v3: NetBeans and Eclipse
● Grizzly: NIO & Web Framework. Comet using GlassFish
● Monitoring, Management in GlassFish v3
New load-balance option for stateless session beans
A new method for load-balancing stateless EJBs is introduced in GlassFish v2.1.1.
This provides for load-balancing with each request. Per-request load balancing
chooses the first node in the cluster to use on each request.
The old load balancing feature chooses the first node to use when the InitialContext is created;
thereafter each request uses the same node (unless a failure occurs).
Enabling this feature is done by setting a new property in the sun-ejb-jar.xml file:
per-request-load-balancing (boolean). If this property is not set,
the original Load Balance behavior is preserved.
As a verification check, you can verify that this is configured properly
by looking for the following (FINE, in the EJB logger) log message
when the EJB is loaded: