You can directly access EJB from your jsp & directly call its business
methods from jsps using the remote interface.
Regards
Ashwani Kalra
E-Comm Group
NIIT Ltd. India
> ----------
> From: Rao, Chintala Srinivasa (CAP,
> FLEET)[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Saturday, July 15, 2000 2:58 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JSPs accessing EJBs
>
> Yes... that is OK..
>
> For suppose, Now as of some constraints, I don't want to develop Servlets.
> I want to access EJBs (business methods) directly from JSPs (i.e., from
> presentation layer).
> Are my APIs doesn't support direct calls from JSP to EJB?
> I need little explanation..
>
> Thanks in advance..
>
>
> -----Original Message-----
> From: Douglas Bullard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 14, 2000 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JSPs accessing EJBs
>
>
> Not true - I use JSP pages which talk directly to EJBs. Another approach
> is
> to have the JSP pages talk to server-side Java Beans, which in turn talk
> to
> the EJBs. This way you can keep the amount of Java code in your JSP to a
> minimum, and use the JSP strictly for presentation.
>
>
>
> Douglas Bullard
> Internet Commerce Applications Engineer
> GemStone Systems, Inc.
> 20575 NW von Neumann Drive
> Beaverton, OR 97006
> (503) 533-3590
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Jorge Salas-Ortiz [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 14, 2000 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: JSPs accessing EJBs
>
> Hello all,
>
> I recently read in an EJB book that JSPs can not
> access EJBs. This book could be outdated. My concern
> is what would be the approach if I wanted to keep
> existing JSPs and not replace them with servlets
> because serlvets can access EJBs.
>
> I have read that wrapping EJBs in JavaBeans or simple
> classes is the way to go. Does anyone have any other
> ideas or suggestions...
>
> thanks, jorge
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ==========================================================================
> =
> 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".
>
> ==========================================================================
> =
> 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".
>
>
>
Visit http://www.NetVarsity.com for online learning
===========================================================================
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".