cancel
Showing results for 
Search instead for 
Did you mean: 

how to use external jars in NW2004

siddharth_jain
Active Contributor
0 Kudos

Hello Experts,

can i use the same approach mentioned in the below Weblog for using the external jars in NW2004.

/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components

and if not then what will be the best way to achieve it in NW2004.

Please provide your inputs on above.

Regards,

Siddharth

Accepted Solutions (1)

Accepted Solutions (1)

NarendraChandel
Contributor
0 Kudos

Hi Sidharth,

If you are using web dynpro DC perspective then you need to follow the following points to use the external jar files in it.

1. Create a external library project.

2. copy the external jars in the library folder os the projects.

3.) Select all the jars from the u201CLibrariesu201D folder, Right click and then select Development Component and click on Add to Public Part

4.Select the first Radio Button (Provides an API)and give some nameto it.

5. Repeat the step no 3 but now select the second radio button other than as selected in step no 4.

6. Now build your lirary DC.

7. Now create a j2ee DC project.

8. ) Expand the node DC Definition and Right Click on Used DC. Select Add Used DC.

9. Select the External Library DC with build time dependency.

10.Right click on the J2EE DC and then select Development Component followed by Build

11. Right click on the J2EE DC and then select Development Component followed by Deploy

now you can use both the libary DC and the j2ee DC in your web dynpro DC as used DC.

But if you have created a web dynpro project only(but not DC) than you can directly add the external jars in java build path

hope this will help

regards

Narendra

Edited by: Narendra Singh on Oct 27, 2009 11:22 AM

Answers (1)

Answers (1)

siddharth_jain
Active Contributor
0 Kudos

Procedure mentioned in the blog worked for 04.