my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes weblogic\lib  --and-- weblogicaux.jar why ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "weblogic\lib  --and-- weblogicaux.jar why ????" Watch "weblogic\lib  --and-- weblogicaux.jar why ????" New topic

weblogic\lib --and-- weblogicaux.jar why ????


Joined: Feb 08, 2001
Posts: 3
When we are setting the classpath for weblogic\lib, why we need to explicitly set weblogic\lib\weblogicaux.jar again,when we know that weblogicaux.jar is the sub directory for lib.
Please justify(dont say that weblogicaux has jar files, that is the reason-that is true but,lib should take care of it ,b-coz lib is said to be parent direcory.

Joined: Jan 23, 2001
Posts: 16
You should understand the diffrence between a Sub directory and a JAR file.
First n Foremost..Weblogicaux.jar is itself a jar file which holds all the class files need to develop an EJB..Just open it and see.
When you set the classpath to \\weblogic\lib it does not mean that the classfiles can be extracted automatically and referenced in your EJB, Hence we explicitly set the classpath for this particular Jar file.
Cheers Johnson

Joined: Feb 08, 2001
Posts: 3
Hi !
Good ! But ,please explain when we are setting the classpath by weblogic\lib\weblogicaux.jar,how it is able to unjar the file,and why cant it unjar when it is treated as a sub directory?
And also please let me know ,if that is the case,should we set classpath for all the jar files which come with weblogic?
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
Your name does not currently meet our criteria for naming. Please look at the JavaRanch naming policy. Thankyou.
I agree. Here's the link:
subject: weblogic\lib --and-- weblogicaux.jar why ????
It's not a secret anymore!