Package org.rhq.helpers.jeegen.ejb

Examples of org.rhq.helpers.jeegen.ejb.EjbArchive


        if (entityBeanCount < 0 || statelessSessionBeanCount < 0 || statefulSessionBeanCount < 0 || messageDrivenBeanCount < 0) {
            printUsageAndExit();
        }

        EjbArchive ejbArchive = new EjbArchive(ShrinkWrap.create(JavaArchive.class), ejbVersion, entityBeanCount,
            statelessSessionBeanCount, statefulSessionBeanCount, messageDrivenBeanCount);
        File ejbJarFile = new File("test-ejb.jar");
        ejbArchive.as(ZipExporter.class).exportTo(ejbJarFile, true);
    }
View Full Code Here

TOP

Related Classes of org.rhq.helpers.jeegen.ejb.EjbArchive

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.