1 Reply Latest reply on Jan 8, 2002 8:30 AM by zargon

    Deploying EJBs and connecting from a client

    harindra_r

      Hi,

      I have just installed JBoss, and need some help configuring and deploying EJBs, and then invoking from a client. Im very familiar with EJBs and WebLogic, and would appreciate if you could give me a hand to kick start JBoss;

      Im using JBoss 2.4.4

      [1] How could I start the GUI tool to edit jboss.xml..? I do not have /bin/ejx.bat file.

      [2] Is there more detailed documentation to be downloaded..?

      [3] Once the EJB is deployed, in order to connect to it using an EJB client,

      + what JNDI initial context factory class should I use..?

      + what is the JNDI provider url that I should use..?


      thanks in advance
      -hari

        • 1. Re: Deploying EJBs and connecting from a client
          zargon

          > Hi,
          >

          > [1] How could I start the GUI tool to edit
          > jboss.xml..? I do not have /bin/ejx.bat file.

          No GUI. Every serious ;-) programmer now uses Xdoclets -> see: http://sourceforge.net/projects/xdoclet

          >
          > [2] Is there more detailed documentation to be
          > downloaded..?

          online you can find docs which are outdated with regards to 2.4.x. But you can find there some fresh snippets about JBoss 3.0 (RabbitHole). You can buy a 400 pages book about 2.4.x from Scott Stark online for 10 dollars.

          > [3] Once the EJB is deployed, in order to connect to
          > it using an EJB client,
          > + what JNDI initial context factory class should I
          > use..?

          don´t know what you mean. I always use:

          import javax.naming.InitialContext;
          .
          .
          jndiContext = new InitialContext();

          > + what is the JNDI provider url that I should use..?

          java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
          java.naming.provider.url=jnp://localhost:1099
          java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces