Well, actually, you *can* put all your business logic into your
servlet.
But then you'd be passing up the niceties of EJB.
Business logic encapsulation & container-managed transactions, to
name a few.
I think Craig was looking at single entry point servlet,
which could route the request to the appropriate EJB.
I'm not too sure about the 'efficiency' comparison, though.
Anyone??
-Deepak.
On Tuesday, October 26, 1999 2:18 PM
aciteam wrote:
> hello all,
> someone was mentioning about keeping the business logic in EJB or
> SERVLET , could someone explain more about where to keep the logic to be
> efficient enough.
> i think craig was saying something about having a single servlet
> for
> the entire appln and that servlet routes the request to the ejb which is
> having the business logic, why can't we have the business logic in the
> servlet itself.
> please explain..
> thanx in advance.
> aciteam
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html