Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

War File on Web Server Communicating to ear File on Application Server?

 
Sumit Tiwari
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application I am using Apache web server and J Boss application Server.I want to deployed the war files on web server while ear file containing all services in Application server .Now my doubt is that how this ear file that is on the Application server will communicate to the Web Server.
 
Ram Narayan.M
Ranch Hand
Posts: 247
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why cant you collate the war file and jar file(business component programs) in ear file and deploy in JBOSS App Server itself?
 
Sumit Tiwari
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can do that ...like my doubt is that is their any communication may be possible or not ??
 
Ram Narayan.M
Ranch Hand
Posts: 247
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes... You will have to access the JNDI Service running in Application Server by using the remote hostname and the port in which JNDI Service listens..
After JNDI lookup, you will get EJBObject Stub to access the Bean component...

Make sure if JBOSS Application Server allows the remote calls. If not, you will have to change the Security Permissions to get access to it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic