Examples of BMTStatefulBean


Examples of org.jboss.as.demos.ejb3.archive.BMTStatefulBean

public class ExerciseBMT implements Callable<String> {
    @Override
    public String call() throws Exception {
        InitialContext ctx = new InitialContext();
        String name = "java:global/ejb3-example/BMTStatefulBean!" + BMTStatefulBean.class.getName();
        BMTStatefulBean bean = (BMTStatefulBean) ctx.lookup(name);
        bean.setup("42");
        return bean.commit();
    }
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.