Take a look at the examples included with the Muse
project. Basically you are talking about a factory pattern Web Service
which can create resources via a method invocation by a client. You can
write you home to create instances however you wish..the difference here is that
you have an operation on the Web Services which will lookup the home via jndi
and have it create the instance and return the epr...
From: Asaf Lahav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 7:04 AM To: wsrf-user@ws.apache.org Subject: creating and later destroy a resource instance Hi, I'm trying to enable
the client to create a new instance of a WSRF
resource. How can I accomplish
that? The file system sample
only illustrates a scenario in which the service home is designed to have a
predefined number or resources it creates and
maintains. And what I'm trying to
accomplish is that the Consumer (client) of a service would be able to utility
the service (or the service home) to create a new instance on demand and direct
the service (or service home) to destroy it when the Consumer doesn't need the
created instance anymore and dispose of it. Asaf
Lahav VP R&D, Prima Grid
LTD. Cellular:
972-54-4717955 Phone:
972-3-6540255 Fax:
972-3-6540254 |
- creating and later destroy a resource instance Asaf Lahav
- RE: creating and later destroy a resource in... Campana Jr., Salvatore J
- RE: creating and later destroy a resourc... Asaf Lahav
- Re: creating and later destroy a res... Sal Campana