Hi, If there is only one ejb-jar in one app, is might be very big in terms of the configuration file, and so i consider using more then one ejb-jar file in the application packaged in one ear. The problem is whether i can have one jaw in one ejb-jar or share one jaw for all ejb-jar?
you can create one for all. But, if you do a seperate one, that is mostly because you want to keep the beans as sperate entities so you should create a jaws descriptor for each and jar up that bean and all that bean needs to work in a deployed app server. Also note that the jaws is now jbosscmp-jdbc.xml not is later releases for jboss