It's not a secret anymore!*
The moose likes EJB and other Java EE Technologies and the fly likes Why use Singleton pattern as Readonly in EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Why use Singleton pattern as Readonly in EJB" Watch "Why use Singleton pattern as Readonly in EJB" New topic
Author

Why use Singleton pattern as Readonly in EJB

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Hi all,
As mentioned in the Design pattern, developer should use Singleton pattern for read-only behaviour and not in read-write manner in which case EJB threads called may be blocked.
Can anyone focus more on this?
Seetesh
 
Consider Paul's rocket mass heater.
 
subject: Why use Singleton pattern as Readonly in EJB
 
Similar Threads
Deleting EJB from container cache?
Hibernate SessionFactory is initialized/read with every EJB call
Singleton Pattern and EJB
Static Methods in EJB
Singleton pattern in j2ee?