Have you tried storing the ejb-jar.xml deployment descriptor in the WEB-INF directory?
the ear consist of couple of ejb-modules, just put to the root of the ear and declared in application.xml
Each ejb-module (jar-file) have META-INF directory in it and possibly ejb-jar.xml there.
I declared an exception to be application-exception in the ejb-jar.xml for the ejb-based webservice endpoint.
I hope I do nothing wrong.
Naren Chivukula wrote:I'm just getting into EJB3.1 and other related JEE 5 technologies. I feel having ejb-jar.xml in WEB-INF directory just to deploy EJBs in web application is very odd, why not use Enterprise archive in that case! Don't know how many these kind of weird changes in JEE 5 I have to get over with!
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton