Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

META-INF?

 
bhuvi mdu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What information and files does the META-INF hold, can war file created without having the META-INF too? Awaiting for the response.


bhuvi
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know Tomcat looks for an optional Contex xml fragment in that directory.
The directory gets created by the jar utility that you use to war up your app.
It's purpose is to hold meta-data about the jar file that contains it.
 
Senthil B Kumar
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually the Application Server looks for the META-INF folder to contain the deployment descriptor, that is J2EE standads.

the WAR file contains an WEB-INF folder rather than a META-INF folder.

Its the EAR & JAR file that contains META-INF folder. this is FYIP.
[ May 03, 2005: Message edited by: Senthil B Kumar ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually the Application Server looks for the META-INF folder to contain the deployment descriptor, that is J2EE standads.
App servers look in the WEB-INF directory for the deployment descriptor.

the WAR file contains an WEB-INF folder rather than a META-INF folder.
War files contain a WEB-INF folder as well as a META-INF folder.
META-INF is not required. WEB-INF is.

Its the EAR & JAR file that contains META-INF folder.
Any file created with the jar utility will have a META-INF folder.
Jar puts it there.
[ May 03, 2005: Message edited by: Ben Souther ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic