This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: War File on Web Server Communicating to ear File on Application Server?
 
Similar Threads
Best packaging and deployment strategy for web applications
Diff. Btwn EAR, WAR, & JAR Files????
EAR File in JBOSS
What is an EAR file?
JAR,EAR,WAR files