Package org.ow2.easybeans.tests.common.ejbs.base.xmldescriptor

Examples of org.ow2.easybeans.tests.common.ejbs.base.xmldescriptor.ItfBasicBeanRemote.openTransaction()


     * @throws Exception if an error occurs.
     */
    @Test(dependsOnMethods = {"verifySLMappedName"}, expectedExceptions = javax.ejb.EJBException.class)
    public void verifySLBeanTypeElement() throws Exception {
        ItfBasicBeanRemote bean = EJBHelper.getBeanByMappedName("SLSBBasicBeanByXMLMappedRemote");
        bean.openTransaction();
    }

    /**
     * Verifies if the bean defined as stateful is deployed as a stateless. The
     * bean class begins an userTransaction, but does not make the commit. So,
View Full Code Here


     * @throws Exception if an error occurs.
     */
    @Test(dependsOnMethods = {"verifySFMappedName"})
    public void verifySFBeanTypeElement() throws Exception {
        ItfBasicBeanRemote bean = EJBHelper.getBeanByMappedName("SFSBBasicBeanByXMLMappedRemote");
        bean.openTransaction();
    }

    /**
     * Verifies if a bean can make a lookup in other bean(stateless) by the
     * mappedName. This test verifies the local interface.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.