JBoss 4.0.4-CR2, EJB 3.0

I am trying to package a stand-alone client which will access EJB's. Methods in 
the remote interface that the client uses return DTO objects created from model 
objects. For example, getEmployeeDTO() creates EmployeeDTO from Employee object 
in the Session Bean. I was hoping to get away with just packaging EmployeeDTO 
and not Employee. Is this possible?

I get a classNotFound error for Employee when I invoke the client. Bigger 
question is how to know which classes to package in the client. Does one have 
to include all classes referenced in the SessionBean itself?

Thanks



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993716#3993716

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993716
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to