• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about EJB Richard Monson Book

Naichen Liu
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 50, he said:" EJB servers increase performance by synchronizing object interactions and sharing resource".
I undstand the second part, by sharing resource, we can increase the performance, i.e. connection pooling or instance pooling.
But for the "synchronizing object interactions", it's really confusing, because synchronization is always bottle neck for application's performance, and that's why we need to be careful when declare a method as synchronized.
Could anybody explain? Thanks, by the way, the book I refered to is 2nd edition
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!