aspose file tools*
The moose likes JBoss/WildFly and the fly likes War File on Web Server Communicating to ear File on Application Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "War File on Web Server Communicating to ear File on Application Server?" Watch "War File on Web Server Communicating to ear File on Application Server?" New topic
Author

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

Sumit Tiwari
Greenhorn

Joined: Sep 26, 2011
Posts: 22
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

Joined: Jul 11, 2010
Posts: 247

Why cant you collate the war file and jar file(business component programs) in ear file and deploy in JBOSS App Server itself?


SCJP 6 [SCJP - Old is Gold]
Sumit Tiwari
Greenhorn

Joined: Sep 26, 2011
Posts: 22
I can do that ...like my doubt is that is their any communication may be possible or not ??
Ram Narayan.M
Ranch Hand

Joined: Jul 11, 2010
Posts: 247

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.
 
 
subject: War File on Web Server Communicating to ear File on Application Server?