Basics of Enterprise Portal development using Java

...Previous

Select AbstractPortalComponent and click next. 

 

Enter name, classname and package name. 

 

Click on finish . Then add following code as given in figure. Most of the code is auto generated. 

package test.hello; 

import com.sapportals.portal.prt.component.*; 

public class HelloTest1 extends AbstractPortalComponent

{

    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)

    {

 response.write("First portal application project demo");

    }

} 

 

2.2     Configure portal landscape

We need to upload our project to portal. For this we will configure portal landscape.

Open Window->Preferences

Click on SAP Enterprise Portal.

Click Add to add a new portal system.

Suppose my portal has address :  http://punitp54700d:50100/irj/portal 

Enter Alias = Any name (MyPortal)

Host = punitp54700d

Port = 50100

User id for login

And click OK. 

 

Make it default. Remember you can add more but only one can be default. 

2.3      Deployment and creation of PAR file

Now click on icon Create/Export PAR file in toolbar. 

Click here to continue....

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image