Community
Participate
Working Groups
This bug is to backport the code to move interfaces to EJB client project to WTP 305P +++ This bug was initially created as a clone of Bug #309757 +++ To reproduce: A) Set up project 1) Ensure you are in the Java EE perspective 2) File -> New -> project 3) Select EJB -> EJB Project 4) Select Next 5) In resulting EJB Project Dialog enter project name (<project-name>) and select Add Project to EAR checkbox 6) Select Next 7) Uncheck Create an EJB Client Jar Module ... 8) Select Finish B) Create a SLSB 1) Highlight the project created in A) (<project-name>) 2) Right Click -> New -> Session Bean 3) Add package name Class name and check Create business interface Remote 4) Select Finish 5) Fix any unresolved classes (in my case I had to add jboss-javaee.jar) 6) Add a member variable ie String message 7) Generate getter + setters 8) verify you have an SLSB with local and remote interfaces that can set + get a message. C) Create a client jars to access the SLSB created in B) 1) Highlight the project created in A) 2) Right Click -> JEE Tools -> Create EJB Client Jar 3) Select Finish 4) Observer the <project-name>Client project is created 5) Check what is created within the <project-name>Client project... reading http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jst.ejb.doc.user/topics/ceclientjars.html I would expect that all classes required would be there except for value objects. This action should potentially move some interfaces into the client project.
Created attachment 196048 [details] Proposed patch Backport of bug 309757 plus the fix in bug 345499
approved
Committed to R3_0_5_patches