tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat Standalone with Jboss
Date Fri, 18 Jul 2003 13:37:34 GMT

Howdy,

>I need Jboss and tomcat to run on separate VMs (and later on, on diff
>machines). I need them to interact, as in the EJB would be the JBoss
>machine and the the servlet/webservice on the another machine. How do i
>accomplish this?

Perferably by starting with some sort of EJB book and tutorial ;)

You would install JBoss.  Write a simple HelloWorld session bean, deploy
it to JBoss.

You would then install tomcat to a separate location.  Write a simple
HelloWorld webapp and deploy it to tomcat.  

Figure out (this is in the JBoss docs) which client classes you need in
order to get a JBoss JNDI initial context.  Copy those classes to your
tomcat webapp.  Write a servlet that gets an initial context to the
JBoss server, looks up and invokes the HelloWorld EJB.

The above will teach you a lot, enough to get you started on the real
app.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message