Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
My free books and tutorials: http://www.slideshare.net/krizsan
My free books and tutorials: http://www.slideshare.net/krizsan
Have you tried storing the ejb-jar.xml deployment descriptor in the WEB-INF directory?
Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
My free books and tutorials: http://www.slideshare.net/krizsan
Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
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.
Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
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!
My free books and tutorials: http://www.slideshare.net/krizsan
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |