1 Reply Latest reply on Feb 22, 2004 5:54 PM by nhunt

    JBoss & Remote Clients

    rasoul Newbie

      Hi there,
      I am new to JBoss. I can not find any resource that could help me with remote clients and JBoss. I need to know what is the procedure for deploying and running clients which reside on a different JVMs. What needs to be on the remote machine? I have read generic docs on the need for the Home and Remote interfaces and the "stubs". But I can not find any thing that explains what that stub is! Appreciate any help w/ this topic.
      Thanks in advance.
      -r

        • 1. Re: JBoss & Remote Clients
          nhunt Newbie

          The only thing the remote client really needs are the remote and home interfaces. I'm not too sure what is meant by "stubs", but as long as you define the remote and home interfaces of each EJB you want to access remotely in the deployment descriptors (ejb-jar.xml and jboss.xml) you should be sweet. It sounds like you may have to look more in depth at a general introduction to j2ee and enterprise java beans. There are a heap of books available on this subject. Getting a remote client to connect to JBoss was non-trivial for me in the beginning, but looking at Enterprise Java Beans 3rd Edition by Richard Monson-Haefel and working through the JBoss workbook based on this book got me started. The workbook is available from this site for free. Download the workbook and code which doesn't go into much depth but does give you a lot of working examples of remote clients as well as invaluable information on how to configure JBoss and the clients to work.