What Specification Defines server.xml and application.xml???


General J2EE: What Specification Defines server.xml and application.xml???

  1. Hi!,
        I'm having a little trouble finding the server.xml and application.xml files mentioned in any of the official Java specs out there. I've looked in the J2EE spec, the EJB spec, and the Servlet spec, but no luck. I did find some information on application.xml in the J2EE spec regarding packaging apps, but I'd love to find more information on the full set of tags that can be used inside of that descriptor.

  2. http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd

    DTD's are defined and given in ejb-spec in the appendix section..
    So have look at the spec and gat the latest dts for relavent ejb's u are using.

  3. server.xml and application.xml[ Go to top ]

    server.xml is not a standard, it's used in Tomcat but not in the J2EE specs. application.xml is in the J2EE specs however. Here's the DTD:


    This is for J2EE 1.3.

    Hope this helps.
  4. Thanks Allen!!! I read through most of the J2EE 1.3 Specification and never saw server.xml mentioned, but it's tough to say when something like that: a.) should be there, but is missing, b.) shouldn't be there, but is related in some way to the documentation in hand and could be referenced in the doc's.

    Maybe I'll put together a web page one day soon mapping J2EE containers to their config files. Somebody might find that useful for sorting through things!