« Return to Thread: about the situation to use factory to create resource

about the situation to use factory to create resource

by SARA1232007 :: Rate this Message:

Reply to Author | View in Thread

Hi,

It seems that in simple example, the managed resource is created when the invocation to it is called. And in wsrf example, a factory resource is used to create WsResource resource. What confused me is:
Under what situation a factory is needed to create managed resource, and under what situation the resource is created automatically when the invocation to it is called?

Thanks.

Sara

 « Return to Thread: about the situation to use factory to create resource