distributed - How to include "start orbd -ORBInitialPort 1050" in java? -
i trying learn how use corba example in web site
http://www.cs.mun.ca/java-api-1.5/guide/rmi-iiop/rmiiiopexample.html
so in example should run command line run orb
start orbd -orbinitialport 1050
is there anyway include in java program?
you use runtime.exec(...)
, see docs, notice starting windows service there, once start it, stay active until stop explicitly.
doesn't orb have api java integration? page talks java rmi+ iiop(corba) integration, if can embed corba orb in application way better launching server manually.
if can recommend orb, should jacorb.
Comments
Post a Comment