• Post Reply Bookmark Topic Watch Topic
  • New Topic

How the application server knows to deploy?  RSS feed

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
An EAR file has the war file(a client side servlet) and a jar file(ejbs files), now how the application server (say JBoss) decides that war will be deployed in servlet container and jar will be deployed by ejb container.


Regards,
Amarshi
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

There will be something called as application.xml under ear in which we specify what is the web module and the ejb module . so google seeing what is an application.xml file inside an ear file .
 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi Ravi,
Below is my applicatin.xml


Correct me if i am wrong, does the above tag <web-uri> says the file will be deployed by servlet container and <ejb> says the file will be deployed by the EJB Container.

Thanks, Amarshi
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To my understanding , depending upon the context root , that is HelloWorldWebModule in your case , the appropiate Web and ejb Modules would be deployed Under your server container .



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!