Package org.jboss.as.embedded.ejb3

Examples of org.jboss.as.embedded.ejb3.ClassPathEjbJarScanner


public class SimpleITCase {
    @Test
    public void test1() throws Exception {
        EJBContainer container = EJBContainer.createEJBContainer();

        GreeterBean view = (GreeterBean) container.getContext().lookup("java:global/test-classes/GreeterBean");
        String name = "μετεμψύχωσις";
        String result = view.sayHi(name);
        assertEquals("Hi μετεμψύχωσις", result);

        container.close();
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.embedded.ejb3.ClassPathEjbJarScanner

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.