Package org.jboss.example.jms.statelessclustered.bean

Examples of org.jboss.example.jms.statelessclustered.bean.StatelessClusteredSessionExampleHome.create()


      InitialContext ic = new InitialContext();
     
      StatelessClusteredSessionExampleHome home =
         (StatelessClusteredSessionExampleHome)ic.lookup("ejb/StatelessClusteredSessionExample");           
     
      StatelessClusteredSessionExample bean = home.create();

      String queueName = getDestinationJNDIName();
      String text = "Hello!";

      bean.drain(queueName);
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.