Isn't this a component whose implementation is a DAS query (not DAS
itself)? The component offers a service which is defined as
DASService. So, instead of Java code, we are using a query.
I say this because in SCA we don't really have the notion of an
"implementation-less" service and a component is defined by the SCDL
<component> entry so there is always a component.
Jim
On Nov 8, 2006, at 9:13 PM, Luciano Resende wrote:
Thanks Kevin, some comments below...
As for the naming :) I was just calling DAS exposed as an SCA
service...
On 11/8/06, Kevin Williams < [EMAIL PROTECTED]> wrote:
The term DAS-POJO Service is probably confusing. What I meant is
service implemented in Java that does not require a new component
type.
POJService?
--
Kevin
Kevin Williams wrote:
> I just committed the nice DAS - POJO service contribution from
Luciano
> and have a few comments/discussion points:
>
> Here is the service API:
>
> /**
> *
> * @author lresende
> *
> */
> public interface DASService {
> public void configureService(InputStream configStream)
> throws
> DASServiceException;
> public DataObject executeCommand(String
commandName, Vector
> commandArguments) throws DASServiceException;
> public DataObject execute(String adHocQuery, Vector
> commandArguments) throws DASServiceException;
>
> public void applyChanges(DataObject graphRoot) throws
> DASServiceException;
> }
>
>
>
> We need to find a way to replace the "configureService" API with an
> SCA pattern for providing config information.
Yes, this was THE thing I know we need to improve as mentioned on this
thread :
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg10421.html
SCA guys, any suggestions about something already available in
SCA ? Or
maybe an Annotation ?
Amita has solved this with the DAS-container contribution but I assume
there is a pattern
> for POJO services too.
>
> We should avoid checked exceptions.
>
Could you elaborate little bit more here ? Why exactly this ?
Could the Vector argument list be replaced with a List?
>
> I think Apache discourages the use of the @author tag
Sure, it was just a setting in my eclipse IDE, I'll create a patch
removing
that.
As for the other things... I'll look into that and provide a patch
with the
changes...
> --
> Kevin
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]