cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding SAP NetWeaver JEE

Former Member
0 Kudos

It seems it is not possible to deploy an EJB JAR file module as is. I use NetBeans with GlassFish to develop EJB modules that expose Web Services endpoints. The backend is Oracle Database. I develop on my local workstation and after testing launch the browser and login to the admin console of GlassFish on production server. I then simply deploy the jar file which is the EJB module. It all works. I'm wondering if I can get this to work on SAP JEE with none to little tweaking. But it seems it is not straight-forward without using the IDE. If you know of a way I can do this can you please point me to it. Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Neeraj,

Welcome to SDN!

OK, straight to your question: You can deploy externally developed applications as well as applications developed in the SAP NetWeaver Developer Studio. Take a look at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/882f621d-0e01-0010-99b7-c5bc4f1a4b6b">this</a> paper (especially from page 9 on).

Regarding "with none to little tweaking" - in general, you only have to pack the EJB JAR into a standard EAR file (deployment of standalone EJB apps is not supported in this version). If you don't rely on any non-standard features of GlassFish or Oracle, this should be sufficient.

One final note - there is no need to cross-post the same question in parallel forums. Please take a minute to go through the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">Rules of Engagement</a> accessible from every SDN forum.

Hope it helps!

-Vladimir

P.S. You can find plenty of useful documents about SAP NetWeaver AS, Java EE 5 Edition on the Java EE 5 @ SAP <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/javaee5">homepage</a> as well as in the [url=https://wiki.sdn.sap.com/wiki/display/Java/JavaEE5+Development]SDN Wiki[/url].

Former Member
0 Kudos

Hello Vladimir,

Thanks for taking the time to reply.

I went through the posting guideline and am still not clear on what to do if I am not sure what category a question falls into. In this case there was more than one place where the question seemed to be appropriate. I do appreciate your cross-linking the threads. I will continue on this thread only, hoping that anyone seeing it else where will get referred here through your links.

I did look at the paper you had a link below to. It talks of Deploy View which is available from the IDE. The problem is I don't have a local installation of SAP JEE. It is deployed somewhere on some dev Unix machine which I don't have access to. So I'm looking for some browser based admin tool, if there is one.

Thanks again.

Vlado
Advisor
Advisor
0 Kudos

Hi Neeraj,

It is not possible with this release of SAP NetWeaver AS Java. It is tailored especially for end-to-end development scenarios, thus assuming that you have the entire development and runtime environment in your local workplace. That being said, I'd suggest that you install the Java EE 5 Edition locally on your machine - the requirements and resource consumption are pretty low (runs quite ok on a regular laptop). You can download it from <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da699d27-0b01-0010-99b0-f11458f31ef2">here</a>.

(BTW, I doubt your SAP Java EE 5 server is installed on a Unix machine as this preview edition is available only for Win XP and Win 2k3.)

Regarding how to choose the appropriate forum - there's a short description under each forum name - just choose the one that seems most relevant to you. There are forum moderators that can move it to another one if the question falls into a different category.

Cheers,

Vladimir