You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 25 Members of 4546 |
| Forum: Seam Users |
28. Aug 2008, 17:18 CET | Link |
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-binding>
<ejb-name>#{ejb-name}/ejb-name>
<interceptor-class >org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
</interceptor-binding>
...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.
Thanks.
You can use an ant xmltask to update these files. Have a look here.
Thanks for the reply - this looks to be exactly what we need.