You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Neha Srivastava <ne...@wipro.com> on 2002/09/18 05:46:54 UTC

classpath question


  hi all,

  Why do we have to set all the jar's in the classpath separately?

  why does it not work if i set classpath upto lib directory where i have all the jars?

  Thanks and Regards
  neha


------------------------------------------------------------------------------


  --
  To unsubscribe, e-mail:   <ma...@xml.apache.org>
  For additional commands, e-mail: <ma...@xml.apache.org>

Re: classpath question

Posted by Scott Nichol <sn...@scottnichol.com>.
See http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/classpath.html for
information on setting the classpath.  The JVM does *not* look for .jar
files in specified directories; they must be listed explicitly.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>; <bh...@snb.psi.soft.net>
Sent: Wednesday, September 18, 2002 12:50 AM
Subject: Re: classpath question


hi,

That means if i set the classpath upto lib directory only it will include
all the classes in all the jars.
but atleast it should work..which is not happening.

which is this exercise directory?

Thanks and Regards
neha


  ----- Original Message -----
  From: bheemesh
  To: soap-user@xml.apache.org
  Sent: Wednesday, September 18, 2002 9:56 PM
  Subject: RE: classpath question


  Hi ,

  To load only those jars which are required and declared in classpath. The
iterpreter will look into these CLASSPATH info and load the respective
classes.

  try executing 'd:\exercise> java -verbose MyClass

  this will display the class files loaded and from which jar.

  regards,
  Bheem
    -----Original Message-----
    From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
    Sent: Tuesday, September 17, 2002 8:47 PM
    To: soap-user@xml.apache.org
    Subject: classpath question




      hi all,

      Why do we have to set all the jar's in the classpath separately?

      why does it not work if i set classpath upto lib directory where i
have all the jars?

      Thanks and Regards
      neha


--------------------------------------------------------------------------


      --
      To unsubscribe, e-mail:
<ma...@xml.apache.org>
      For additional commands, e-mail:
<ma...@xml.apache.org>



----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: classpath question

Posted by Scott Nichol <sn...@scottnichol.com>.
See http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/classpath.html for
information on setting the classpath.  The JVM does *not* look for .jar
files in specified directories; they must be listed explicitly.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>; <bh...@snb.psi.soft.net>
Sent: Wednesday, September 18, 2002 12:50 AM
Subject: Re: classpath question


hi,

That means if i set the classpath upto lib directory only it will include
all the classes in all the jars.
but atleast it should work..which is not happening.

which is this exercise directory?

Thanks and Regards
neha


  ----- Original Message -----
  From: bheemesh
  To: soap-user@xml.apache.org
  Sent: Wednesday, September 18, 2002 9:56 PM
  Subject: RE: classpath question


  Hi ,

  To load only those jars which are required and declared in classpath. The
iterpreter will look into these CLASSPATH info and load the respective
classes.

  try executing 'd:\exercise> java -verbose MyClass

  this will display the class files loaded and from which jar.

  regards,
  Bheem
    -----Original Message-----
    From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
    Sent: Tuesday, September 17, 2002 8:47 PM
    To: soap-user@xml.apache.org
    Subject: classpath question




      hi all,

      Why do we have to set all the jar's in the classpath separately?

      why does it not work if i set classpath upto lib directory where i
have all the jars?

      Thanks and Regards
      neha


--------------------------------------------------------------------------


      --
      To unsubscribe, e-mail:
<ma...@xml.apache.org>
      For additional commands, e-mail:
<ma...@xml.apache.org>



----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Re: classpath question

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

That means if i set the classpath upto lib directory only it will include all the classes in all the jars.
but atleast it should work..which is not happening.

which is this exercise directory?

Thanks and Regards
neha


  ----- Original Message ----- 
  From: bheemesh 
  To: soap-user@xml.apache.org 
  Sent: Wednesday, September 18, 2002 9:56 PM
  Subject: RE: classpath question


  Hi ,
   
  To load only those jars which are required and declared in classpath. The iterpreter will look into these CLASSPATH info and load the respective classes.
   
  try executing 'd:\exercise> java -verbose MyClass
   
  this will display the class files loaded and from which jar.
   
  regards,
  Bheem
    -----Original Message-----
    From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
    Sent: Tuesday, September 17, 2002 8:47 PM
    To: soap-user@xml.apache.org
    Subject: classpath question




      hi all,

      Why do we have to set all the jar's in the classpath separately?

      why does it not work if i set classpath upto lib directory where i have all the jars?

      Thanks and Regards
      neha


--------------------------------------------------------------------------


      --
      To unsubscribe, e-mail:   <ma...@xml.apache.org>
      For additional commands, e-mail: <ma...@xml.apache.org>

Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> 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" <Vi...@ushacomm.co.in>
> > To: <so...@xml.apache.org>
> > 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" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > 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" <Vi...@ushacomm.co.in>
> > > > To: <so...@xml.apache.org>
> > > > 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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> 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" <Vi...@ushacomm.co.in>
> > To: <so...@xml.apache.org>
> > 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" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > 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" <Vi...@ushacomm.co.in>
> > > > To: <so...@xml.apache.org>
> > > > 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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


Re: From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
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" <Vi...@ushacomm.co.in>
> To: <so...@xml.apache.org>
> 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" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > 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" <Vi...@ushacomm.co.in>
> > > To: <so...@xml.apache.org>
> > > 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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>

Re: From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
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" <Vi...@ushacomm.co.in>
> To: <so...@xml.apache.org>
> 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" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > 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" <Vi...@ushacomm.co.in>
> > > To: <so...@xml.apache.org>
> > > 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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> 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" <Vi...@ushacomm.co.in>
> > To: <so...@xml.apache.org>
> > 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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> 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" <Vi...@ushacomm.co.in>
> > To: <so...@xml.apache.org>
> > 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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>


Re: From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
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" <Vi...@ushacomm.co.in>
> To: <so...@xml.apache.org>
> 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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
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" <Vi...@ushacomm.co.in>
> To: <so...@xml.apache.org>
> 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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>

Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: From a Servlet

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <Vi...@ushacomm.co.in>
To: <so...@xml.apache.org>
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




From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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
 

From a Servlet

Posted by Vinayan Menon <Vi...@ushacomm.co.in>.
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
 

Re: classpath question

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

That means if i set the classpath upto lib directory only it will include all the classes in all the jars.
but atleast it should work..which is not happening.

which is this exercise directory?

Thanks and Regards
neha


  ----- Original Message ----- 
  From: bheemesh 
  To: soap-user@xml.apache.org 
  Sent: Wednesday, September 18, 2002 9:56 PM
  Subject: RE: classpath question


  Hi ,
   
  To load only those jars which are required and declared in classpath. The iterpreter will look into these CLASSPATH info and load the respective classes.
   
  try executing 'd:\exercise> java -verbose MyClass
   
  this will display the class files loaded and from which jar.
   
  regards,
  Bheem
    -----Original Message-----
    From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
    Sent: Tuesday, September 17, 2002 8:47 PM
    To: soap-user@xml.apache.org
    Subject: classpath question




      hi all,

      Why do we have to set all the jar's in the classpath separately?

      why does it not work if i set classpath upto lib directory where i have all the jars?

      Thanks and Regards
      neha


--------------------------------------------------------------------------


      --
      To unsubscribe, e-mail:   <ma...@xml.apache.org>
      For additional commands, e-mail: <ma...@xml.apache.org>

RE: classpath question

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi ,

To load only those jars which are required and declared in classpath. The
iterpreter will look into these CLASSPATH info and load the respective
classes.

try executing 'd:\exercise> java -verbose MyClass

this will display the class files loaded and from which jar.

regards,
Bheem
  -----Original Message-----
  From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
  Sent: Tuesday, September 17, 2002 8:47 PM
  To: soap-user@xml.apache.org
  Subject: classpath question




    hi all,

    Why do we have to set all the jar's in the classpath separately?

    why does it not work if i set classpath upto lib directory where i have
all the jars?

    Thanks and Regards
    neha


----------------------------------------------------------------------------


    --
    To unsubscribe, e-mail:   <ma...@xml.apache.org>
    For additional commands, e-mail: <ma...@xml.apache.org>

RE: classpath question

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi ,

To load only those jars which are required and declared in classpath. The
iterpreter will look into these CLASSPATH info and load the respective
classes.

try executing 'd:\exercise> java -verbose MyClass

this will display the class files loaded and from which jar.

regards,
Bheem
  -----Original Message-----
  From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
  Sent: Tuesday, September 17, 2002 8:47 PM
  To: soap-user@xml.apache.org
  Subject: classpath question




    hi all,

    Why do we have to set all the jar's in the classpath separately?

    why does it not work if i set classpath upto lib directory where i have
all the jars?

    Thanks and Regards
    neha


----------------------------------------------------------------------------


    --
    To unsubscribe, e-mail:   <ma...@xml.apache.org>
    For additional commands, e-mail: <ma...@xml.apache.org>