From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 28 Sep 2011 17:22:04 -0700
EJB embedded uses SA if there is only one EJB module (for more than one,
it creates a temp exploded ear directory). But SA needs to know that
it's an EJB module, so add it as the 1st element, in addition to the JAR
type.