|
Pankaj,
Good Questions!
1. The generated home's super class (AbstractResourceHome)
has a protected member m_resources....This gives you access to all the resource ids via the
ResourceKeys which are the keys in the map. Not sure where you want
them exposed, but if you needed it available somewhere else you could add an
operation on your home to get at the info and then have the other "thing"
(service?) lookup the home from the JNDI context and invoke the
operation...
2. You would need to associate a callback object with
the resource property for dynamically changing values...Is ModifictionTime one
of the spec properties? For certain spec properties we handle things..i.e.
currenttime....If its not a spec prop then you would need to implement the
functionality you are talking about...i.e. a callback object which is a file
change listener..when refreshProperty() is called on it, it checks to see if a
file changed.....
-S From: Kumar, Pankaj Sent: Wednesday, April 13, 2005 3:19 PM To: [email protected] Subject: A couple of questions on Apollo and WSRF Hi, I had good luck with Apollo today –
I was able to write a WSDL for my own “File” service, generate Java files,
supply the code, compile the generated and supplied code, deploy it and test the
WS Resources corresponding to files. But I did come across a couple of
issues/questions:
/Pankaj. |
- A couple of questions on Apollo and WSRF Kumar, Pankaj
- RE: A couple of questions on Apollo and WSRF Campana Jr., Salvatore J
- RE: A couple of questions on Apollo and WSRF Kumar, Pankaj
- RE: A couple of questions on Apollo and WSRF Campana Jr., Salvatore J
