cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy a Servlet on SAP J2EE

former_member301120
Active Participant
0 Kudos

Hello to all,

i've created a Dynamic Web Project. Inside this I've written a Servlet.

How can I export this to a EAR-file in order to deploy it on a SAP J2EE?

Please advice

Regards Christian

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Christian?

What IDE are you using?

If it is the SAP NetWeaver Developer Studio or Eclipse, follow the steps described in [THIS|http://help.sap.com/saphelp_nwce72/helpdata/en/4a/c01d48809a18c6e10000000a42189b/frameset.htm] piece of documentation.

Regards,

Yordan

former_member301120
Active Participant
0 Kudos

Hello,

I'm using SAP Developer Studio.

My servlet works on tomcat. But how can I deploy it on a SAP-J2EE?

How can I add the servlet to the ear-file

Regards

former_member301120
Active Participant
0 Kudos

Hello,

I solved my problem.

File -> New -> Project -> J2EE -> Enterprise Application Project

NEXT

Enter project name

Target Runtime: <none>

Configurations: SAP EAR J2EE 1.4 Project

NEXT

NEXT

NEW MODULE

Create the needed Modules, in my case it was a WebModule

FINISH

Now you can export all as SAP-EAR file and you'll be able to deploy it on a SAP-J2EE.

Best regards

Christian

Former Member
0 Kudos