Actually, you may want to consider doing the integration as a "shared library" approach.
See https://github.com/maeste/jboss-as/commit/787ae82770531c01b8277519ffe8354089e2935d as an example.
Reply to this message by going to Community
Start a new discussion in JBoss AS7 Development at Community