List Info

Thread: creating and later destroy a resource instance




creating and later destroy a resource instance
user name
2006-03-29 14:11:41
Asaf Lahav wrote:

> Can you please point me to a specific example? Or send
me a code sample?
>
>  
>
> **Asaf Lahav**
>
> **VP R&D, Prima Grid LTD.**
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
------------------------------------------------------------
------------
>
> *From Campana
Jr., Salvatore J [mailto:sal.campanahp.com]
> *Sent Wednesday,
March 29, 2006 4:02 PM
> *To
wsrf-userws.apache.org
> *Subject RE:
creating and later destroy a resource instance
>
>  
>
> 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:asaf.lahavprimagrid.com]
> *Sent Wednesday,
March 29, 2006 7:04 AM
> *To
wsrf-userws.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
>
>  
>
Look at the enterprise/resourceadmin example in the Muse
project.

------------------------------------------------------------
---------
To unsubscribe, e-mail: wsrf-user-unsubscribews.apache.org
For additional commands, e-mail: wsrf-user-helpws.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )