Hi, Yes, you can do both - EJB/IIOP or CORBA/IIOP.It depends on the IIOP source. WIth the following statements for example you can call an EJB running within the J2EE-Reference-Implementation 1.3:
java.util.Hashtable h = new java.util.Hashtable(); h.put("java.naming.factory.url.pkgs","com.sun.enterprise.naming"); h.put("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitCon textFactory"); h.put("org.omg.CORBA.ORBInitialHost","localhost"); h.put("org.omg.CORBA.ORBInitialPort","1050"); h.put("java.naming.provider.url","localhost:1050"); Context initCtx = new InitialContext(h); Object objref = (Object) initCtx.lookup("ejb/clientrisession"); J2EEClientSessionHome home = (J2EEClientSessionHome)PortableRemoteObject.narrow(objref,J2EEClientSessionH ome.class); J2EEClientSession j2eeClientSession = home.create(); If you are trying to connect to a CORBA-Server that needs to use it's own org.OMG.CORBA-classes you should place those within your webapp-libs. We have to do so cause we are using a pretty old ORBIX version. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED] _____________________________ -----Ursprüngliche Nachricht----- Von: Kjeld Lau Petersen [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 12. März 2002 11:46 An: '[EMAIL PROTECTED]' Betreff: Using CORBA or IIOP? Hi Can Tomcat be configured to answer CORBA or IIOP requests? I would like to host EJB, that can be reached using CORBA or IIOP. How do I do that? In advance, thank you Regards Kjeld ------------------------------------------------------------------------------ Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen. ---------------------------- For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately. ==============================================================================