aspose file tools*
The moose likes Servlets and the fly likes significance of file - application.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "significance of file - application.xml" Watch "significance of file - application.xml" New topic
Author

significance of file - application.xml

pendse anagha
Ranch Hand

Joined: Mar 09, 2005
Posts: 44
I am a bit confused about this file

what is the purpose of this file

From what I have read / googled - looks like
I can define my - java / ejb / war file

What is the purpose ?
Does this mean that an application will not run if I do not have this file ?

Could someone please give some guidance ?

Regards ,
-anagha
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30753
    
156

Anagha,
When you have a web application, you create a war file and specify information about it in a web.xml file. When you have a J2EE app (with EJBs), you create an ear file and specify information about it in an application.xml file.

Yes, it is required for an EAR file.
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

It defines properties on the EAR-level only, and allows you to set context such as "I want this WAR to be reachable at this URL starting address". It does not contain any information for anything inside a WAR or EJB.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: significance of file - application.xml