cancel
Showing results for 
Search instead for 
Did you mean: 

how to set up NWDS and where do I find libraries, and API doc...

Former Member
0 Kudos

Hi experts,

I am new EP Development. I have WebAS 6.40 installed, with NWDS - only NWDS and no EP. I have written some small code using HTMLB control, and getting error coz the libraries pertaining to HTMLB are missing. I tried to import the libraries into NWDS from the project properties, but did not find any libraries. Where can I find the libraries that I can include in the NWDS? Do we have to install anything else than just installing NWDS to get the access to libraries and APIs ? Please advise.

Thanks in advance.

Vicky R.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

WAS is only an application server, you have to install enterprise portal to deploy and run applications.

Refer this link for a simple example

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/ce/e0a341354ca309e10000000a155106/frameset.htm">jspdynpage</a>

You can download the EP sneak preview from here

<a href="https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6">Download</a>

Use the JAR FINDER to find the required jar files

<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2951">Jar Finder</a>

HTMLB Documentation

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/0c/9e0e41a346ef6fe10000000a1550b0/frameset.htm">HTMLB</a>

You can search help.sap.com for information.

PORTAL API'S

<a href="https://www.sdn.sap.com/irj/sdn/javadocs">API</a>

========================================================

The basic jar files such as the one for htmlb are available in the eclipse->plugins directory in your system. use the jar finder set the path to eclipse->plugins directory and give the search term as "htmlb" and

right click on the search result to add it to your project.ex:

PDK only contains sample code.

see the jar finder blog and install the jar finder or right click on the project -> properties->java build path->Add external jars->

the htmlb jar is in the folder

eclipse->plugins->com.sap.ep.applicationdevelopment->

com.sap.portal.htmlb_api.jar add this jar to your project.

Some jar files will be on the server machine, if you cannot find the jar file in the eclipse plugins folder then they will be in the server under the path

[drive]C:\usr\sap\JXX\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps

Message was edited by: Kirupanand Venkatapathi

Former Member
0 Kudos

Hi Karthik and Krupa,

thanks a lot for your input. By the way, I know I need EP to deploy the files. I want to deploy to a remote EP. But, to build some small application, I need all the required jar files to be kept in the java path, like HTMLB ones etc. So, how do I get all those jars under NWDS environment. Is it that I have to install PDK definitely on the portal and then get into the portal and physically copy the jar files into NWDS environment? My portal is in a remote location, and I have not been given access to the portal machine, and there is no PDK installed there. From my side, I have to develop .par files without concerning about the remote portal. Please advise me in this regard.

Thanks in advance.

Vicky

Former Member
0 Kudos

Hi Vicky R,

You have to update your portalapp.xml after adding the jar files in your class path.

Java doc you can find under Java development->Java doc.

sample portalapp.xml

<application>

<application-config>

<property name="Sharing Reference" value="com.sap.portal.htmlb,usermanagement"/>

<property name="releasable" value="true"/>

</application>

Hope it helps.

Regards,

Karthick

Former Member
0 Kudos

Hi Vicky R,

You can get all the libraries from your Enterprise Portal.you have to install PDK to get Java Development tag in your portal.

Then go to Java Development->Portal Browser->WEB-INF ..here you can find all the jar files you want.

Download option is provided for each and every par files(under PCD).You can download the par file extract it you 'll get the jar files you want.

Hope it helps.

Regards,

Karthick Eswaran