Hi there,
I'm tasked with the migration of our existing J2EE (EJB 2.1) web-application from JBoss EAP 5.1 (JBoss AS 5.1.0.GA) to EAP 6.2 (JBoss AS 7.3.0.Final).
Previously we used the <depends> XML element in the jboss-web.xml to define a dependency to our EJB Jar. Our complete jboss-web.xml looks like this:
<?xml version="1.0" encoding=UTF-8"?> <jboss-web> <depends>jboss.j2ee:module="myEJB.jar",service=EjbModule</depends> </jboss-web>
Now, the <depends> XML element is not supported anymore in JBoss 7 (returns a parse error during deployment and of course does not validate anymore against the XML schema).
I'd like to ask on how to migrate this <depends> behavior to JBoss 7?
I've tried google, the JBoss EAP 6.3 migration guide, and searched this forum but could not find any resources on migrating the above jboss-web.xml configuration.
Any pointers to documentation and other resources would be appreciated. Thank you!
Message was edited by: Yves G Fixed copy&paste error in shown jboss-web.xml.
Answering my own question.
As the existing J2EE (EJB 2.1) application at least runs on a JBoss 7.1.1. without the mentioned <depends> configuration, I assume no further migration is required and that is "just works" without it.