I would probably have a method getCorbaServerHandle() on the projects java
code. And I would prefer lazy loading.
getCorbaServerHandle() {
// myCorabServerHandler is an instance variable in the project
class.
if ((myCorbaServerHandler == null) ||
(myCorbaServerHandler.isInvalid()) {
myCorbaServerHandler = <get a new handle>
}
return myCorabServerHandler;
}
>From any page, you can get a handle to the project with CSpider.getProject()
Aby
-----Original Message-----
From: Amit [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 28, 1999 9:16 AM
To: [EMAIL PROTECTED]
Subject: [ND] Global Variables - Urgent
Hi Everyone!
In my application I get a handle to a Corba server and execute different
methods on
different pages. Could anyone tell me which would be the best place to get
the handle.
Also in between the Corba server may crash, so I might need to get the
handle again.
Thanks.
Amit.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]