This content has been marked as final.
Show 3 replies
-
1. Re: SLSB can't find DTO classes
juha Nov 1, 2003 10:42 AM (in response to dbenoff)What is a DTO and what does your package structure look like at the moment?
-- Juha -
2. Re: SLSB can't find DTO classes
dbenoff Nov 1, 2003 1:56 PM (in response to dbenoff)Hi Juha,
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):
META-INF
|-->MANIFEST.MF
|-->jboss.xml
|-->ejb-jar.xml
hibernateEJB
|-->UserBean.class
|-->LocalUser.class
|-->LocalUserHome.class
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? -
3. Re: SLSB can't find DTO classes
juha Nov 1, 2003 2:04 PM (in response to dbenoff)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.
-- Juha