File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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

Ganeshb
Greenhorn

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.
Chee
Greenhorn

Joined: Jan 23, 2001
Posts: 16
Hi
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
Ganeshb
Greenhorn

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
ganeshb,
Your name does not currently meet our criteria for naming. Please look at the JavaRanch naming policy. Thankyou.
 
jQuery in Action, 2nd edition
 
subject: weblogic\lib --and-- weblogicaux.jar why ????