jQuery in Action, 2nd edition*
The moose likes BEA/Weblogic and the fly likes Why does Weblogic server consisting of APP-INF folder in its ear structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Why does Weblogic server consisting of APP-INF folder in its ear structure" Watch "Why does Weblogic server consisting of APP-INF folder in its ear structure" New topic
Author

Why does Weblogic server consisting of APP-INF folder in its ear structure

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Could anybody please let me know why did Weblogic introduced an extra folder rather than following the standard ear architecture that is

My query is why did weblogic introduced APP-INF folder for ear structure ??

As per web it says that

APP-INF/lib : shared jar files can be placed here.

Thanks in advance .


Save India From Corruption - Anna Hazare.
Ed Ward
Ranch Hand

Joined: Jan 30, 2006
Posts: 147
It's not just Weblogic, some other vendors do it as well. Though I do not believe it is a standard. As to why, likely a design decision chosen from several possibilites. You as a developer have the same option. Use it for shared libs or put your shared libs some other place. Make your decisions based on what makes sense for a given problem and project.
A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
as a matter of interest, if you place a shared JAR (say abc.jar) in the EAR APP-INF\lib directory and you want an EJB to use it, would you have to include the lib folder in the manifest file? i.e. should the manifest entry be lib/abc.jar or just abc.jar ?

can't find anything anywhere that says to or not
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why does Weblogic server consisting of APP-INF folder in its ear structure
 
Similar Threads
Location to place the xml file inside the .ear for JAXBinding?
Packaging into EAR
How to create APP-INF/lib structure in ear
How to Hot deploy in weblogic8.1
Where to keep shared jar files of an ear file inside JBOSS