4 Replies Latest reply on Jun 7, 2013 2:21 AM by Wolf-Dieter Fink

    Jboss 6.1.0.alpha - how to handle Asynchronous proxy using ejb2.1

    ANAND KUMAR GEORGE PREM KUMAR Newbie

      I am currently in the process of migrating from Jboss 4.3.GA to Jboss EAP 6.1.0.alpha.  The below piece of code we used for Jboss 4.3.GA.  In Jboss 6.1.0 our applications don't need any proxy or RMI call using client or rmi API projects, Since all the deployments are deployed and invoked locally in the Application Server.

       

      In this case , how i can get the Asynchrous behavior asper the Jboss 6 EAP specifications for local lookups ?

       

       

      Code Snippets:

       

      QueueManagerLocal createBean =

                          (QueueManagerLocal)ctx.lookup(LocalBeanNames.QUEUE_MANAGER_LOCAL_BEAN);

                 

                  QueueManagerLocal asyncCreate =

                          (QueueManagerLocal) Asynch.getAsynchronousProxy(createBean);

       

       

      Where, QUEUE_MANAGER_LOCAL_BEAN = "java:global/TSM/QueueManagerEjb-1.0.0-SNAPSHOT/QueueManagerBean!com.cassis.queue.manager.service.QueueManagerLocal";