on 02-23-2006 3:00 PM
Hi,
I have a jar containing my ejbs with descriptors(jboss/weblogic). I have created an enterprise application project in NWDS. Is there any way i can directly put this ejb jar into ear project without using migration plugin. I will change the descriptors in the jar file manually. Please guide..
Thanks and regards,
Sujesh
Hi,
Create an EJB Module Project for ex: MyEJB
Goto File -> Import -> Zip file and click next.
Choose the jar file which contains your EJBs and Choose the into folder for ex: MyEJB.
Click Finish.
Now all the ejb files comes into the MyEJB folder as an EJB Module Project.
Here, you can manually edit the deployment descriptors.
Thats all.
Give your project reference to the MyEJB project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujesh ,
have u read ..
details in
http://help.sap.com/saphelp_nw04/helpdata/en/2c/dd813e77d46245e10000000a114084/content.htm
that i have given in my last reply ..
import is possible provided u have the code ..
just go through the above link..
u have to find out another solution..
i think u can do it by menas of <b>deploy tool</b>.
Using the Deploy Tool is more convenient in the following cases.
If only the EAR of the application is available and it does not contain the sda-dd.xml, use the Deploy Tool to convert and deploy the application on the J2EE Engine ..
go through this also..
http://help.sap.com/saphelp_nw04/helpdata/en/16/df813e77d46245e10000000a114084/content.htm
its is better to go through all of its possibilities before applying one technique..
<b>Details of Deploy Tool</b>
http://help.sap.com/saphelp_nw04/helpdata/en/a8/fcbc3d16f39e33e10000000a11405a/content.htm
let me know ..
Regards
Kishor Gopinathan
Message was edited by: Kishor Gopinathan
Message was edited by: Kishor Gopinathan
Hi Sujesh ,
Do u have the source code of the EJB?.
if yes,
then u can almost migrate it completely , provided there is no j2ee engine specific API's are used in ur EJB.
Regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishor,
I dont have source code . All i have is ejb jar which contains all the ejb classes and deployment descriptors.I already have a ear project. Now i want to add this jar file to this ear project and deploy to WAS. I'LL change the descriptors manually. Pls let me know how will i go about it in this scenario
regards,
SUJESH
Hi Sujesh ,
u r right , we can change the deployement descriptors .
but here the problem is , the format ofejb look up strings in the case of JBoss Web server and SAP J2EE Engine are different. in ur present ejb , they might be following the look up strings in the JBoss server , which is different in SAP J2EE WAS.
without source how we can change this look up strings .?
one possibility here is , we have to decompile the .class files into Java classes using a 3rd party tool and have to manually edit the look up strings .
then make it jar..
thats is the real constraint here.
Edited
-
if some of ur ejb's have inter dependence how can u achieve this. there we have to make it compatible with the SAP J2EE WAS na..
i think without source code it is difficult in NWDS .
otherwise we have to go for another technique. exposing this ejbs as webservice or porting using deploy tool.
<b>http://help.sap.com/saphelp_nw04/helpdata/en/2c/dd813e77d46245e10000000a114084/content.htm</b>
just have a look at this also..
http://www.javaworld.com/javaworld/jw-08-2004/jw-0802-ejbws.html.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/b6b6334024ad4187a8fa7dfbe23caf/content.htm
Regards
Kishor Gopinathan
Message was edited by: Kishor Gopinathan
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.