• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBS with Servlet JSP in single server  RSS feed

 
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
Boost this thread!