Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Do it

 
Jagmohan Negi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic