I would like to pack in a war file a webservice and 2 mds’s but no matter what i do i do not see the MDS’s being deployed.
The other alternative i have is to pack my app in a ear and there to put the war file and jar files for mdb’s but I want to know if it is possible to pack this into a WAR file.
Is there any special thing I need to specify in web.xml file or in ejb-jar.xml to see the MDS’s deployed ?
Thank you !
All EJBs need to go in an EAR file. The WAR spec only applies to web apps with servlets and JSPs.
So your solution is to create the WAR file separately and put that into your EAR along with your MDBs.