cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying external jars from NWDS CE 7.1

0 Kudos

Hi All,

How can I deploy external jar to CE server and how to use that in a webdynpro project?

I already referred these two blogs and they are working only for NW2004s.

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

I am looking for the same feature in CE NWDS.

I am using NWDS for CE 7.1 (SP01)

Thanks,

Fahad Hamsa

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Fahad,

If you have read the blogs mentioned then you are well versed with the process of creating and deploying External JAR files as Libraries.

If so, then the following help.sap.com [link|http://help.sap.com/saphelp_nwce10/helpdata/en/45/c93bc6a24a4ebce10000000a11466f/frameset.htm] will help you to Migrate those DCs into CE External Libraries.

Regards,

Alka.

Former Member
0 Kudos

Hi,

If u r simple project then follow this.

1. Right click on your project.

2.Select Properties-->java BuildPath

3. Select Tab Librarties-->Add External jars

if u r using DCs then follow below method

External jars can be deployed using as usual ear projects or u can do one thing u can add external jars as dependencies in web dynpro project.

In order to that.

1.Right click web dynpro project

development component->show in->component properties.

in the depndencies tab add ur exrtenal jars .

2.Just make sure that if u r directly adding external jar to dynpro then go with the above specified method or else

if u r using ear project then add ear project as dependecies.

regards

Surender Dahiya

Edited by: Surender Dahiya on Apr 23, 2008 1:28 PM

0 Kudos

Hi Srinivasan,

Before doing that, we should deploy the jar file to server as external library. This technique will work only for Normal webdynpro project, provieded we are keeping the jar file inside lib folder of the project. But i am using DC project, so this wont work. If I try that, I will get java.lang.ClassNotFoundException.

Hi Surendar,

In Project Component Properties, i am not able to see the option to add external jar file. There I can see the option to add only standard components and custom components. Where to add the external jar there?

Thanks,

Fahad Hamsa

snehal_kendre
Active Contributor
0 Kudos

Hi Fahad,

If the external jar you are talking about is not available in standerd SC's of your track.

then you need to create an external library DC.it creates an empty one.

in its src folder copy the external jar files from your pc.

create its public part.which contain the folder containing jar files

build it.

used it as used DC in your application.

Former Member
0 Kudos

Hi,

Have you tried this.

1. Right click on your project.

2.Select Properties-->java BuildPath

3. Select Tab Librarties-->Add External jars.

Then add your jar.

I am not very sure of yyour req. The above is a solution if you want to include a jar for building purpose.

Hope it helps.

Regards,

Srinivasan Subbiah

Edited by: Srinivasan Subbiah on Apr 23, 2008 1:27 PM