cancel
Showing results for 
Search instead for 
Did you mean: 

External Library and EJB DC

Former Member
0 Kudos

Hi All,

I have created a EJB DC Project. I had added classes12 jar file into the External Library, add added the public parts into the used dc of the EJB DC project. But when i am unable to build the project. If the public parts are not added, i am getting an error like "Deployment of atleast 1 item aborted".

How can i access the classes12 jar file into the EJB DC Project? Please help me in resolving this issue?

Thanks and Regards,

Divya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Divya,

Did you follow below steps:

1. Added classes12.jar to External library dc.

2. Created two public parts ( of type API, and JAR )

3. Added the API public part as used dc in your EJB dc.

4. Created one EAR project.

5. Added external library JAR public part as used dc to the EAR

6. Added the EJB to EAR project

7. Deploying EAR project

Let me know when exactly you are getting the error.

Regards,

Jaya.

Answers (3)

Answers (3)

Former Member
0 Kudos

Problem Resolved.

susmita_panigrahi
Active Participant
0 Kudos

Hi Divya,

Please find the below blogs , this will help you.

/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

Thanks

Susmita

Former Member
0 Kudos

Hi Divya,

Follow the above steps in the following link how to use external library in DC's

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

1)Expose the JAR file in two separate public parts, one with purpose assembly (1) and another one with purpose compilation (2).

2)Use the public part with purpose compilation in the Web Dynpro "client" development component

Let me know if you are still facing the problem.

Hope this helps you...

Regards,

Saleem

Edited by: Saleem Baig Mohammed on Jun 2, 2009 2:35 PM