This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why use Singleton pattern as Readonly in EJB

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • 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