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?