Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

META-INF?

 
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • 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.
 
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 VI Editor Redhat
  • 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 ]
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic