I use jboss 4.0.2 and i want to have two .war files within one .ear file .
I would have thought this was self-evident from the structure of the EAR's application.xml file, but here's an example of how it looks with two WARs:
/directory/of/war1 /war1 /directory/of/war2 /war2