From: "Sesha Nandyal" <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 11:55 AM
Subject: Re: JMS with Tomcat ..


> Unfortunately I am foced to use Tomcat. Is it feasible to use J2EE with
tomcat
>
> Sesha
>
>
> "Shapira, Yoav" wrote:
>
> > Howdy,
> >
> > >   Finally, is there a recommended way of integrating J2EE with tomcat?
> >
> > Have you tried JBoss?

I think that you're confused a bit.

Tomcat is "simply" a Servlet/JSP container.

JMS is the Java Messaging Service. There are several JMS compliant server
providers available.

A modern J2EE compliant container provides, among other things, Servlet,
JSPs, JMS, and EJBs.

If all you want is a JMS server, then you don't need to have a J2EE server.

Now, when you say "integrate Tomcat with J2EE", you'll need to clarify what
you mean.

If you simply want to have a Servlet refer to a JMS server, then it comes
down to what JMS provider you're using, and setting up the parameters.
Everything else is done pretty much through a JNDI interface, with an
InitialContext and a lookup. The same can be said about accessing EJB
components from a J2EE server.

Without knowing which JMS server you're trying to communicate with, it's
pretty hard to get much deeper to resolving your problem.

Which brings up the final point. This is really a JMS configuration issue,
and not a Tomcat per se issue. If you can write a simple test class that
talks to your JMS server and works from the command line, then that same
configuration will probably work within Tomcat, just make sure that the
environment for your InitialContext is correct, and the jars are properly
deployed in Tomcat.

There should be examples provided with your JMS server for simple command
line clients.

Regards,

Will Hartung
([EMAIL PROTECTED])




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

Reply via email to