Hi Pankaj,
I personally isolate JSPs from EJBs by a JavaBean. That makes your JSP file
a lot cleaner because you make more calls to your bean through the
<jsp:useBean...> tag. Your JavaBean holds the logic as well as the calls to
your EJBs. Your jsp file is easier to maintain and easier to read by the
web-designer.
Hope this helps, let me know if I can help more.


Omar Tazi
Senior Product Manager
Java Tools, Oracle Corp.
Phone: (650) 506 5734
Fax:   (650) 506 7582
Email: [EMAIL PROTECTED]


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pankaj Bhagat
> Sent: Wednesday, October 04, 2000 05:25 AM
> To: [EMAIL PROTECTED]
> Subject: JavaBeans/Scriplets in JSP with EJB's(Debate)
>
>
> Hi ppl!!
>
> We are presently starting the design of a project using : JSP,
> EJB, DB. Now
> we were just wondering about how we should use the EJB's with our JSP's.
> Now according to my present knowledge we could either use
> scriplets or Java
> Beans for interacting with EJB's in our JSP.
> So just wished to know the pro's and con's of both the decisions.
> It would also be good if there is ne pointer to this discussion if it has
> already taken place.
>
> Regards
> Pankaj
>
> ==================================================================
> =========
> 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".
>
>

===========================================================================
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