0 Replies Latest reply on Apr 23, 2012 6:06 AM by Serban Alexe

    Invoke EJB Deployed in JBoss 7 from Client running in JBoss 5

    Serban Alexe Newbie



      I have an EJB deployed in JBoss AS 7.1, and I need to call it from a client application that is deployed inside a JBoss AS 5.1 instance (most likely running on a different machine, if it matters...).


      I was able to call it form a standalone J2SE client (using instructions available here: https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI ).


      I read these instructions https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance , but I don't know how to adapt them to my situation (5.1 client instead of 7).

      - what would be the JBoss AS 5 client equivalent settings ?

      - would I need some form of replacement for the jboss-ejb-client.properties file available in the AS 5.1 server ?

           (in this case: my EJB is deployed in a jar file, contained inside an ear; what is the default classpath where I would have to place the properties file ?)