Have I got this completely wrong?

H

harry

All I want to do is to package a JAR file inside an EJB Jar file so that the
EJB class file methods can access the JAR's file's classes!

There is no WEB-INF/lib directory as with web components so where exactly
should I place it & how to reference it from the EJB class methods?

This only seems to work if I expand the JAR file inside the EJB classes
directory.

Am I trying to do the impossible? completely off the mark? or wot?

I have tried all sorts of combinations but all fail unless in exploded
format!

please someone put me out of my misery!

thanks

harry
 
R

Raymond DeCampo

harry said:
All I want to do is to package a JAR file inside an EJB Jar file so that the
EJB class file methods can access the JAR's file's classes!

There is no WEB-INF/lib directory as with web components so where exactly
should I place it & how to reference it from the EJB class methods?

This only seems to work if I expand the JAR file inside the EJB classes
directory.

Am I trying to do the impossible? completely off the mark? or wot?

I have tried all sorts of combinations but all fail unless in exploded
format!

please someone put me out of my misery!

Use the Class-Path attribute of the MANIFEST.MF file in the EJB jar just
as if it were an application.

HTH,
Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top