cancel
Showing results for 
Search instead for 
Did you mean: 

Hosting a Servlet-JSP application onto Portal

Amey-Mogare
Contributor
0 Kudos

Hi,

I have a scenario where I need to host a pure Servlet-JSP based application onto portal.

This application is not developed using Web Dynpro. It is a pure java based application having two separate URLs for Dev and for Production.

Now I want to give access point to this application via SAP Portal. How can I achieve it?

Thanks and regards,

Amey Mogare

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use NWDS to make a WAR and add it to an EAR and deploy it to the portal's AS Java. It can then be launched as a URl iView with a relative path eg: /MyWebApp

Amey-Mogare
Contributor
0 Kudos

Thank you for reply Michael.

Actually, this TestApp is already deployed on its Dev as well as Prod server as ear file. So we can use same ear file? If yes, then how? If not, then how do I go about?

But I have one question here. How will we manage the different URLs of this application on portal?

I mean, how would Production portal will know to point to production URL of this application???

Thanks and regards,

Amey Mogare

Edited by: Amey Mogare on May 22, 2009 8:29 AM

Former Member
0 Kudos

That's why the relative URL is so useful. On dev it will know to launch from the portal home, on prod it will still know to be relative to the prod portal's host:port.

Former Member
0 Kudos

Hi Amey,

Once the application is deployed you can access it using the alias you have specified for the application. I don't see why the host names of the different servers would be an issue. Within the application you could use relative links to links the different JSPs together.

Yes you could use the same EAR file. You would need to deploy it on the QA and PRD boxes in the same mannar you did for DEV.

Thanks,

GLM

Answers (0)