To the original poster: There's an example of a servlet calling an EJB at

http://www.weblogic.com/docs/examples/ejb/basic/beanManaged/index.html


On Wed, 17 Mar 1999, Jon Tirsen wrote:

> Hmm... Not that simple all the time. The basic reasoning is of course
> correct but to achieve full use of the EJB/Servlet architecture one must
> add some elements.

Obviously. He asked for a beginner's tutorial, not a dissertation. :-)

[snip - discussion of a session-wraps-entity design]

Sounds like a good design. When using servlets in an EJB context, the
servlet essentially becomes the client tier of the classical 3-tier
architecture. Given that, the servlet should be responsible for
presentation (in servlets, generating HTML output); the business logic
should reside in the beans themselves.

===========================================================================
                Tom Valesky   -- [EMAIL PROTECTED]
                     http://www.patriot.net/users/tvalesky

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to