Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic