Contact us | Links | |||||||||||||||||||||
|
JBoss 3.2 compatibility howtoThis howto contains information for IIOP.NET 1.2.3 or newer.
Accessing the name service NamingContext nameService = (NamingContext)RemotingServices.Connect(typeof(NamingContext), nameserviceIOR);
The nameserviceIOR is the IOR printed by JBoss at startup in a line [CorbaNamingService] Naming: [IOR: -- a hex string --]. string nameserviceLoc = "corbaloc::" + nameServiceHost + ":" + nameServicePort + "/JBoss/Naming/root"; NamingContext nameService = (NamingContext)RemotingServices.Connect(typeof(NamingContext), nameserviceLoc); Hint: The nameService is listening normally on port 3528.
Using an EJB NameComponent[] name = new NameComponent[] { new NameComponent("MyHome", "") }; // get the reference to the adder-home MyEjbHome myHomeIf = (MyEjbHome)nameService.resolve(name); The ejb can now be created using this home interface (standard ejb pattern): MyEjb myBean = myHomeIf.create();
Known problems
|
About this projectThis project is maintained by Elca Informatique SA and was developed in collaboration with the Programming Languages and Runtime Systems Research Group of the ETH-Zurich as part of Dominic Ullmann's diploma thesis. IIOP.NET Use CasesRead the IIOP.NET success stories. News
|
|||||||||||||||||||
© 2003-2004 ELCA All Rights Reserved |