1 Reply Latest reply on May 31, 2003 12:01 PM by reverbel

    IR's initial reference

    heesch

      As I unterstand when IIOP is loaded into JBoss a Corba naming service and an interface repository are running somewhere in the background.

      I can access the naming service from C++ or Java without any problems by using the followinginitial reference for it:

      corbaloc::127.0.0.1:3528/JBoss/Naming/root

      I could also publish some EJB to it by defining the iiop proxy invoker in invoker-bindings for that EJB :-)

      Is it also possible to access JacORB's interface repository and inspect the EJB's interface? What do I have to take as initial reference ?


      Regards from Mannheim, Germany
      Stefan Heesch

        • 1. Re: IR's initial reference
          reverbel

          > As I unterstand when IIOP is loaded into JBoss a
          > Corba naming service and an interface repository are
          > running somewhere in the background.

          You're right about the CORBA naming service. An interface repository, however, is not started "when IIOP is loaded" into JBoss 3.2.x. It is
          started whenever an IIOP-enabled EJB is deployed. Each such EJB has a separate IR (because the Foo interface in EJB A might be different from the Foo interface in EJB B). This behavior (one IR per EJB) started in release 3.2.0 of JBoss.

          > Is it also possible to access JacORB's interface repository and inspect > the EJB's interface? What do I have to take as initial reference ?

          The IOR of the interface repository is printed out when an IIOP-enabled EJB is deployed.

          Cheers,

          Francisco