Hi,
What I do to activate business objects is create a "Broker" object that is
started by hand, this object is responsible for activating other business
objects through a Factory pattern:
Broker broker = Naming.lookup ( blah blah blah );
myObject = (MyInterface)broker.createObject ("COM.mydomain.MyInterfaceImpl");
Interesting thing here, the business objects themselves don't have to register
with the rmiregistry (unless some other part of your application needs this
functionality).
Hope this helps,
-Mario.
Michael Kranz wrote:
> Hi,
>
> believe it or not: I really mean rmid; look at
>
> http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/rmid.html
>
> The same is true with Windows. So my question was, is there rmid in
> JDK1.1.6, especially under Linux? What I learned from you, folks: Apparently
> not. But read ahead...
>
> Is there any equivalent for rmid? If I interpret Mik and Joe correctly, it
> seems so, because they say running RMI-Objects with Linux. But how does an
> application-object-server under JDK1.1.6 activate business-objects (which I
> compile with rmic and register via rmiregistry) without rmid? (According to
> the JDK1.2 documentation above even rmiregistry has to access rmid). Maybe
> you are already using some CORBA-stuff underneath instead of "Pure RMI"?