on 06-02-2009 8:38 AM
Hi All,
I have a normal EJB which is working fine. I have created a DC EJB. How can i import this normal EJB into the DC EJB? Please help me out in resolving this issue.
Regards,
Divya
Hi Divya,
Copy the complete package of session/entity bean from ejb module which you have developed in normal EJB project and paste it ejbmodule of newly created DC.
If you go to the J2EE Dc explorer you can find EJB candidates, right click on EJB candidates there will be an option add to ejb-bar.xml.once you add your bean to ejb-jar.xml
Copy the complete package to src folder of newly created DC and build the DC.
If you are working in NWDI make sure all the files are added to the activity which you have created and then checkin the activity.
Hope this helps you...
Regards,
Saleem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divya,
In J2EE Development prespective-->navigator, copy the entire package of java classes of (session/entity) bean in ejbModule of normal EJB and paste those java classes in ejbmodule of newly created J2EE DC.
J2EE Development prespective-->J2EE DC explorer, you will find "EJB candidates" (for session/entity)beans.Right click on "EJB Candidates" and add this (session/entity) beans to ejb-jar.xml.
J2EE Development prespective-->navigator, copy the entire package of java classes of (session/entity) bean in ejbModule of normal EJB and paste those java classes in src folder of newly created J2EE DC as well.
J2EE Development prespective-->J2EE DC explorer, buid the DC and deploy the ear file.
Regards,
Saleem.
Hi,
See this below help.
http://help.sap.com/saphelp_nw70/helpdata/en/42/c81ebbd57f136fe10000000a1553f7/content.htm
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.