I believe this is best way, use Business delegate, service locator and may
be session facade respectively from struts to Session bean.
This will be the idle structure.

-----Original Message-----
From: Vinicius [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:06 AM
To: [EMAIL PROTECTED]
Subject: Re: How to access EJB from Struts Code


Take a look at the J2EE design pattern Business Delegate...

Vinícius

----- Original Message -----
From: "Manoj Kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 6:49 AM
Subject: How to access EJB from Struts Code


> Hi,
>    We are planning to use jakarta struts and EJBs for one of our
> project.  My understanding is to call EJBs from the Action classes which
> we define for our application. However, i am not sure that whether this
> (Action Classes) is the best place to call the EJB or should we use one
> more layer between the EJBs and Struts Action classes and let this new
> layer interact with EJBs and Action classes will only be intrecting with
> this new layer and will not be aware of the EJBs. Just wondering that
> which is the best practise to follow. Could any one of you point me to a
> good study material or an article which caters to this need?
>
>
> thanks
> Manoj
>
>
===========================================================================
> 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".

Reply via email to