• Post Reply Bookmark Topic Watch Topic
  • New Topic

threading in ejb??

 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I wanted to know how does one implement threading in ejb and servlets if the application is to be used by a no. of concurrent users.Please give a good explanation coz i am a bit weak at threads
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this thread.
 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi thanx for the reply but what about threading in servlets how do i implement and manage that can u please help me out by either providing an explanation or givin me an explanation
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saahil,
Servlets are multi-threaded by default. You don't have to do anything extra, however, you have to protect the states and attributes if concurrent access is a problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!