1.

How Do You Optimize Stateless Session Beans?

Answer»

• Tune the Stateless SESSION beans POOL size to avoid OVERHEAD of creation and destruction of beans.
• Use setSessionContext() or ejbCreate() method to cache bean specific resources.
• Release ACQUIRED resources in ejbRemove() method.

• Tune the Stateless session beans pool size to avoid overhead of creation and destruction of beans.
• Use setSessionContext() or ejbCreate() method to cache bean specific resources.
• Release acquired resources in ejbRemove() method.



Discussion

No Comment Found