do you have any links to this method, I would like what they suggest?


----- Original Message -----
From: "Nevarez, Benjamin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 1:25 PM
Subject: Re: Use EJB in JSP


> Well, you must find a way to separate presentation from business rules, as
> proposed by JSP Model 1 from Sun (and JavaBeans are not the only choice).
>
> Still better, you can go to MVC, also called JSP Model 2. In this case
there
> is also a controller, typically a servlet. You can get more info in the
J2EE
> blueprints in java.sun.com.
>
> Benjamin
>
>
> -----Original Message-----
> From: Geert Van Damme [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 12:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Use EJB in JSP
>
>
> I don't see why you propose to put an extra layer in between??
> I think it's a very reasonable approach to use EJB in your JSP.
>
> 2 'clean' possibilities
> - you do the lookup of the EJB in a servlet and put the reference to the
EJB
> in the request (or in the session) and then 'forward' to the JSP.
> - use custom tags. I've seen a very nice example of this, I think it was
> somewhere on java.sun.com.
>
> Geert Van Damme
>
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Nevarez, Benjamin
> > Sent: woensdag 9 mei 2001 6:22
> > To: [EMAIL PROTECTED]
> > Subject: Re: Use EJB in JSP
> >
> >
> > Well, it is a little more complex.
> >
> > You can use EJBs from JSP but this is not recommended. It is better
using
> > JavaBeans from JSP (using that jsp:useBean tag) and then, EJBs from the
> > JavaBeans. You can also use EJBs from servlets. If this seems difficult
to
> > you, you better start working now on the J2EE tutorial available in
> > java.sun.com.
> >
> > Benjamin
> >
> > -----Original Message-----
> > From: Liu Te Hua [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 08, 2001 8:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: Use EJB in JSP
> >
> >
> > hello...
> >
> > I want to know how to use EJB in JSP ?
> > is it enough just to use <jsp:usebean ...> tag ?
> >
> > thank you
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> > JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to