6 Replies Latest reply on Jun 3, 2010 1:16 PM by gdfgd eqwe

    Automating ejb-jar.xml and web.xml

    Chris Simons Expert

      Unlike JBoss, Oracle WebLogic needs EJBs listed discretely in /resources/META-INF/ejb-jar.xml.  Session beans need to also be declared within /resources/WEB-INF/web.xml.

      Is there any way to automate the addition and updates to these files to reflect the EJBs and beans that are contained in your project either during the development and/or build cycle?

      Could this be accomplished using Ant to populate add, for example...

            <interceptor-class >org.jboss.seam.ejb.SeamInterceptor</interceptor-class>

      ...for each EJB that is found in the project?

      If you have any information or resources you could point me to I would be much appreciative.