0 Replies Latest reply on Dec 14, 2006 2:26 AM by Anne Forumer

    Packaging a Client - Which classes to include?

    Anne Forumer Newbie

      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?