[Wsf-general] Dataservice implementation details

Chamil Thanthrimudalige chamil at wso2.com
Thu Mar 1 22:07:22 PST 2007


On Mar 1, 2007, at 9:49 PM, Sanjiva Weerawarana wrote:

> Do you still create a subclass of AxisService? If you're putting  
> all the state in the AxisService object itself then this sounds  
> fine to me.

No Sub classes now. I am inserting all stuff into one object and  
inserting that into the new AxisService object. [It is easy for me to  
access the data that way, as opposed to adding a parameter for each  
and every value.]

I had a chat with Deepal about this and he was ok with this new design.

Best Regards,
Chamil Thanthrimudalige


>
> Deepal can you take a look please? This is in your domain :).
>
> Sanjiva.
>
> Chamil Thanthrimudalige wrote:
>> hi all,
>> Implementation needs a new Deployer and a new MessageReceiver. The  
>> new Deployer will be called when a file with extension "dbs" is  
>> dropped in to the directory "db_services". I am not sure whether  
>> this is the best folder name and extension to use. So if some one  
>> has any suggestions please let me know.
>> The Deployer will read the configuration file for the service and  
>> create a DBInfo object from it with the relevant details. It will  
>> then set this as parameter in the new AxisService object. An  
>> instance of DBMessageReceiver is attached to all the operations  
>> that are created.
>> All processing code will be in a static utility class called DBUtils.
>> Any feedback about this design is most welcome.
>> Best Regards,
>> Chamil Thanthrimudalige
>> _______________________________________________
>> Wsf-general mailing list
>> Wsf-general at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/wsf-general
>
> -- 
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> email: sanjiva at wso2.com; cell: +94 77 787 6880; fax: +1 509 691 2000
>
> "Oxygenating the Web Service Platform."





More information about the Wsf-general mailing list