File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why use Singleton pattern as Readonly in EJB

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic