Package org.hornetq.javaee.example.server2

Examples of org.hornetq.javaee.example.server2.StatelessSenderService.sendHello()


         //Step 2. Getting a reference to the Stateless Bean
         StatelessSenderService sender = (StatelessSenderService)initialContext.lookup("jca-config-example2/StatelessSender/remote");

         //Step 3. Calling a Stateless Session Bean. You will have more steps on the SessionBean
         sender.sendHello("Hello there MDB!");

         System.out.println("Step 3: Invoking the Stateless Bean");

         initialContext.close();
      }
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.