File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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
 
GeeCON Prague 2014
 
subject: Why use Singleton pattern as Readonly in EJB