application.xml is J2EE deployment descriptor for "applications". Application consists of WEB-Archive and EJBs, so in this file you just describe, which *.war and *.jar files are used. Then you package application.xml (in META-INF) with another stuff together to something.ear file (you can do it simply with Ant) and you've got your J2EE application deployable at once.
thanks for ur output..
Please correct me if im wrong..
to deploy ut ejb's I need to do the following:
1.package my class files +ejb-jar.xml+jboss.xml+jaws.xml into a jar file.
2.the xml file are there in the meta-inf of course..
3.What exactly now goes into the application.xml..??
do i pack my client(which is a jsp) also into a ear/war file to be includded inthe appplications .xml and where do I place this application.xml...
Please clarify ,Sir, as the documentation is a bit ambigous....
here is a small example of application.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
=> your web archive here
=> your EJB archives here
structure of myapp.ear file:
| |-- application.xml
| |-- manifest.mf
|-- client.jar client ejb classes
|-- mywar.war your complete web client
|-- myejbs.jar your ejbs
You can also add your JCA connectors via *.rar archives here. Read SUN's J2EE 1.3 reference implementation docs, as I can remember it's documented there.