This repository is Proof of concept (POC) of the Distributed Object Paradigm and Remote Method Invocation in distributed applications. For example Xorg, Gnome, KDE and Java Beans api. It's an alternative to SOAP protocol. This application allows you to manage your phonebook using spring gui and command line.
RMI-IIOP (read as "RMI over IIOP") denotes the Java Remote Method Invocation (RMI) interface over the Internet Inter-Orb Protocol (IIOP), which delivers Common Object Request Broker Architecture (CORBA) distributed computing capabilities to the Java platform.
More info :
- Compile project files
- Go to
bin/directory and runrmic -iiop zad1.PhoneDirectorycommand to generate exportObjects stubs - Define JNDI configuration presented below using
jndi.propertiesfile or in JVM settingsConfiguration should be placed in yourjava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory java.naming.provider.url=iiop://{hostName}:{port} // eg. localhost:3333bin/directory
- Start COS naming ORB server with command
orbd -ORBInitialPort {portNumber}from yourbin/directory - Run server and client with JNDI configuration (There's client GUI too...)