What is a DTO and what does your package structure look like at the moment?
Thanks for responding. By DTO, I mean Data Transfer Object (also called Value Object???)
My ejb jar file is like this (only using local interface):
Even if I put my DTO class (UserDTO) in the hibernateEJB package, and add a classpath entry to the manifest, I get a NoClassDefFound exception.
What am I doing wrong?
You don't need manifest files. Deploying an external JAR into deploy directory will work as long as you make sure your deployment order is correct. Or package your value objects with your EJB jar.