[Wsf-general] Dataservice implementation details

Deepal Jayasinghe deepal at wso2.com
Thu Mar 1 21:03:32 PST 2007


Chamil's approach seem fine with me since he store the DBInfo as a
parameter . Any way I would like to see what there in the DBInfo as well
as the Deployer, do you have the code somewhere ?

Thanks
Deepal

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.
>
> 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
>>
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"







More information about the Wsf-general mailing list