Hi Raj,
        Thanks!!! When you say Soap Service , do you mean the XML-RPC or some
thing else. Can you pass a pointer to a article that gives the details of the
process which
are talking about in your mail?

Thanx
Manoj

Raj Chanian wrote:

> Hi Manoj,
>
> Why dont you use the args body of the call to pass url to a soap service in
> one arg and object name and method name in the xml body for next arg, that
> will allow struts to redirect your call(this can be managed by
> struts-config.xml) to a soap service which manages the ejb calls for you via
> a class factory singleton.
>
> The struts call will then be overridden by the soap service which will then
> act as a facade to your class factory singleton.
>
> Regards,
>
> Raj
>
> -----Original Message-----
> From: Manoj Kumar [mailto:[EMAIL PROTECTED]
> Sent: 04 April 2003 10:50
> To: [EMAIL PROTECTED]
> 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".

Reply via email to