1) Through CORBA. We make a corba call from Powerbuilder to
Java. Has anyone done it before?
2) Through RMI-IIOP. Again has anyone done it before?
3) Is there any other way as well that I can explore?
AFAIK you should be able to use the TransactionServer object ...
Example:
transactionserver.CreateInstance (objectvariable {, classname } )
--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com
<Anuj Kumar> wrote in message news:48c68b2d.6c2...@sybase.com...
You do it in the same way that one PB component would call another in
EAServer. It's really no different.
(1) Generate a PB proxy for the component you will call (e.g. MyPkg_MyComp)
(2) Declare a variable using the proxy class:
MyPkg_MyComp mc
(3) Use the TransactionServer object to get an instance to call:
ts.CreateInstance(mc, "MyPkg/MyComp")
(4) Call methods on 'mc'.