I'm converting an existing Hibernate app from straight servlets to J2EE, and am refactoring the service classes into SLSBs. I set up the SessionFactory as a JMX bean. I am having problems figuring out how to deploy my DTO classes, though. My beans that have primitive method signatures are working fine, but when I deploy the classes that take DTO's as arguments, I get a NoClassDefFound exception. I've tried packaging the classes inside the ejb-jar, inside the war file, as a jar in the deploy directory, in various lib directories, but nothing works. Can anyone give me any hints on how to get this working?
|