Originally posted by Jeanne Boyarsky:
Ram,
No, you cannot include a .ear file within another .ear file. You can include it's contents (jars and wars) and merge the application.xml to produce a similar effect.
Literally speaking, it would work out since they are all just zip files but as Jeanne mentioned it is of no practical use.
You should merge the application XML or if you just want to use the application's library, copy the jar file into the ear file and update the manifest entries.