Yes, resources can be any state, including database connections. If the resource implements RemoveCallback, then when destroy is initiated, the "remove()" method is invoked to allow the resource to clean up state.
Rachana > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of liuwenmao > Sent: Friday, August 10, 2007 9:21 AM > To: [email protected] > Subject: [gt-user] What kinds of resources can WSRF manage? > > Hello list: > > I'm just starting to learn WSRF(Web Services Resource > Framework ) , I followed the Tutorial at > http://gdp.globus.org/gt4-tutorial/multiplehtml/index.html. > > I found all the example is to examine a variable "int value", > then here is the question: how complex could the resource be? > > Would it possible if I want to use a thread or a database connection? > I noticed that if the client call "math.destroy(new > Destroy());", the resource in the server site no longer > exists. Then if the resource is a connect or something > complex, is there any callback handler I can use to destroy > it manually? > > Thanks in advance:-) > > -- > Your Sincerely > Liu Wenmao(刘文懋) > > Pact518 Lab > Harbin Institute of Technology > http://marvel.hit.edu.cn > -- > In a world without fences or walls, there's no need for Gates > or Windows. >
