• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

META-INF?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic