Yes, with firewall issues, SOAP is a common approach.

I do not know anything about Iona's product, so I can't be of any help with
configuring it to expose an EJB using SOAP.

Scott Nichol

----- Original Message -----
From: "Vinayan Menon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 1:19 AM
Subject: Re: From a Servlet


> Hi Scott.
>
> Let me start by explaining why I decided on SOAP inplace of RMI.
>
> I have an application deployed on IONA, It contains only EJB's which
access
> a local Oracle 9i database and also a remote Corba Server.
>
> Now I have another server which is a web server + servlet container which
> has all my JSP's and servlets.
>
> Both these servers are running in different hosts and also have a firewall
> between them. Considering RMI, I was'nt able to lookup my Facade EJB
(Entry
> Point into IONA's application) and make method calls on it. I have managed
> to communicate to IONA from JRUN using SOAP. Now what remains is to expose
> the Facade EJB as a soap service so that I can make calls on it.
>
> Would it be possible to come over this situation in a better way ? I feel
> SOAP is ideal for this and can get the job done.
>
> Regards.
>
> Vinay
>
>
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 19, 2002 7:12 PM
> Subject: Re: From a Servlet
>
>
> > Just to belabor the point: are you certain you want to expose the EJB as
a
> > SOAP service and call it from the servlet using SOAP rather than calling
> the
> > EJB from the servlet using RMI?
> >
> > Assuming you are certain you want to use SOAP to connect the two, you
> invoke
> > the SOAP service from the servlet as shown in
> > http://www.scottnichol.com/apachesoapservletclient.htm.  As for exposing
> the
> > EJB, I do not know whether Iona provides a built-in way to do this.  If
it
> > does not, you can use Apache SOAP to expose it.  There is an EJB sample
> > provided with Apache SOAP.  I also have instructions for exposing an EJB
> > from JBoss at http://www.scottnichol.com/apachesoapjboss.htm.  That
might
> > give you a start.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Vinayan Menon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, September 19, 2002 12:29 AM
> > Subject: Re: From a Servlet
> >
> >
> > > Hi Scott.
> > >
> > >  Thanks for the link... Its really helpful... I need one more
> > > clarification...
> > >
> > >  I have an ejb, I need to expose as a SOAP service, How should I go
> about
> > > this ? Also this service needs to be invoked from the servlet
mentioned
> > > earlier..
> > >
> > > Regards.
> > >
> > > Vinay
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, September 18, 2002 10:36 PM
> > > Subject: Re: From a Servlet
> > >
> > >
> > > > I'm not sure why you would use a SOAP call instead of using RMI.
> > > >
> > > > For an example of making a SOAP call from a servlet, see
> > > > http://www.scottnichol.com/apachesoapservletclient.htm.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Vinayan Menon" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, September 18, 2002 12:05 AM
> > > > Subject: From a Servlet
> > > >
> > > >
> > > > Hi.
> > > >
> > > >  I need to make a SOAP call from a servlet deployed in JRUN to an
EJB
> > > > running in a IONA application server.
> > > >
> > > >  Is there anyone who has handled a similar scenario ?
> > > >
> > > > Regards.
> > > >
> > > > Vinay
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to