On Fri, 14 Jul 2000, Rao, Chintala Srinivasa (CAP, FLEET) wrote:
> 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..

as others have explained, you have many choices to get your JSP talking to EJBs.

Perhaps the simplest way to do it is to have your JSPs call a single static
method on some plain class. The plain static method, in turn, contacts the EJB
container and does all the work. Then it returns the necessary presentation
strings to the JSP for display.

There are many ways to get it done, but this'll work fine. This is how my
current web site does it.

-david

--
David Sims               [EMAIL PROTECTED]
Sims Computing, Inc.       www.simscomputing.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".

Reply via email to