[seek-dev] Ecogrid instance pattern

Jing Tao tao at nceas.ucsb.edu
Mon Jan 26 13:50:13 PST 2004


Hi, Matt and other ecogrid folks:

Base on our last week decision, I am working on using instance pattern to 
replace factory pattern in ecogrid service.
 
I think we need to change the wsdd file in order to achive this.
In the documentation of gt3, it gave a example to how to do this. Base 
on the example, I revised the wsdd file and make the service working 
after figuring out some other issues. The following code is our wsdd to 
deploy service instance direclty to gt3:
 <service 
name="org/ecoinformatics/ecogrid/EcoGridQueryInterfaceLevelOneService" provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="org.ecoinformatics.ecogrid.metacat.impl.MetacatImpl"/>
 </service> 

Note, the provider is "java:RPC" and I am not sure if it is good for 
registry. And I need to point out is that the service can be found from 
web browser, but couldn't be found from the GUI service browser came with 
gt3. 

Another issue is how to secure a service which provider="java:RPC". I need 
continue to dig it.

I also tried to use provider="handler"(we used it for factory pattern) to 
achieve the goal. It didn't work.  I am not sure if provider="handler" can 
handle deploying direct service instance or not(Maybe it only for factory 
pattern?). I sent an email to globus discuss and hope get some answers from them.

Any suggestions and comments are very appreciated!

Jing

-- 
Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101




More information about the Seek-dev mailing list