This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBS with Servlet JSP in single server

 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if there are some guidelines in determinging the value of using EJB's in an application where the client is always a browser and there is only one server representing the middle tier.
If the browser is always be talking to a servlet and the servlet would run on the same server as the beans themselves, would it be better to simply rely on plain java Beans for session information and use the session object to hold state? With Entity Beans it seems to me that it would be more useful if there was a way to have the findbys return a reference to the actual Bean as opposed to the remote interface? Is that an overly simplistic view? Thanks, and please pardon my naivity if this question is really dumb.
Jeff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic