my dog learned polymorphism*
The moose likes JBoss/WildFly and the fly likes How to Do it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to Do it" Watch "How to Do it" New topic
Author

How to Do it

Jagmohan Negi
Greenhorn

Joined: Aug 24, 2005
Posts: 27
Hi,
I am deploying my application in Tomcat 5.0 web server and JBoss 4.0.2 application server.I have deployed my web part in Tomcat Server and EJBs on JBOSS application server.
Please let me know wt are the files required by Tomcat to lookup the EJB from my tomcat server. Can u provide me an example of Lookup code (from a Tomcat Server to JBOSS server).

Thanx for the help

Jagmohan
Sanju Thomas
Ranch Hand

Joined: Dec 29, 2004
Posts: 243
You can deploy your web componets too in the JBoss. Your approach is not good since your web components has to do remote lookup to get ejb. Intead of this you can create a .ear file contain both your ejb jars and web wars and deploy it in the JBoss. Normally tomcat is integrated in the JBoss server so there is no need of deploying it in the different tomcat server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Do it