Re: Exposing Data as Feeds (implementation.data)

2007-06-25 Thread Luciano Resende

Great, Thanks for adding support in the feed.binding for these other
operations...

I'll take a look at adding support for other CRUD methods in
implementation.data in the next couple days...

On 6/25/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

Luciano Resende wrote:
 After playing around with exposing data as services [1] and some
 off-line chat with Jean-Sebastien, he mentioned that it would be
 interesting to start exposing data as feeds as well.

 Implementation.data  comes to this purpose, It gives you a REST view
 of a database table, and in conjunction with biding.feed it exposes
 the database contents as ATOM Feeds and can easily be aggregated into
 feed readers or other Web 2.0 feed-friendly solutions.

 At the moment, this is a work in progress, and implementation.data is
 only supporting the get portion of ATOM, and then work on other CRUD
 operations.

 I'm about to get a sample that demonstrate this new functionality
 available, but you can also look at the companyFeed test scenario
 available in the implementation itself, as it can give you further
 understanding.

 [1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg18908.html


If you configure you service with binding.atom the feed binding is now
able to handle post, put, delete as well as get of individual entries
using the Atom protocol, in addition to returning a feed containing the
collection of entries.

I added the corresponding method skeletons to your CompanyFeed at [1].
They will need to be completed with code accessing the Company table to
create, update, and delete the corresponding rows. The getCollection
method currently returns an empty feed, it should be changed to add to
the feed the entries representing each row in the Company table. I
wanted to do it but was not sure how to get all the rows using the
implementation.data API.

[1]
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-data/src/test/java/org/apache/tuscany/sca/implementation/data/companyFeed/CompanyFeed.java

--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exposing Data as Feeds (implementation.data)

2007-06-25 Thread Jean-Sebastien Delfino

Luciano Resende wrote:

After playing around with exposing data as services [1] and some
off-line chat with Jean-Sebastien, he mentioned that it would be
interesting to start exposing data as feeds as well.

Implementation.data  comes to this purpose, It gives you a REST view
of a database table, and in conjunction with biding.feed it exposes
the database contents as ATOM Feeds and can easily be aggregated into
feed readers or other Web 2.0 feed-friendly solutions.

At the moment, this is a work in progress, and implementation.data is
only supporting the get portion of ATOM, and then work on other CRUD
operations.

I'm about to get a sample that demonstrate this new functionality
available, but you can also look at the companyFeed test scenario
available in the implementation itself, as it can give you further
understanding.

[1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg18908.html



If you configure you service with binding.atom the feed binding is now 
able to handle post, put, delete as well as get of individual entries 
using the Atom protocol, in addition to returning a feed containing the 
collection of entries.


I added the corresponding method skeletons to your CompanyFeed at [1]. 
They will need to be completed with code accessing the Company table to 
create, update, and delete the corresponding rows. The getCollection 
method currently returns an empty feed, it should be changed to add to 
the feed the entries representing each row in the Company table. I 
wanted to do it but was not sure how to get all the rows using the 
implementation.data API.


[1] 
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-data/src/test/java/org/apache/tuscany/sca/implementation/data/companyFeed/CompanyFeed.java


--
Jean-Sebastien


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Exposing Data as Feeds (implementation.data)

2007-06-21 Thread Luciano Resende

After playing around with exposing data as services [1] and some
off-line chat with Jean-Sebastien, he mentioned that it would be
interesting to start exposing data as feeds as well.

Implementation.data  comes to this purpose, It gives you a REST view
of a database table, and in conjunction with biding.feed it exposes
the database contents as ATOM Feeds and can easily be aggregated into
feed readers or other Web 2.0 feed-friendly solutions.

At the moment, this is a work in progress, and implementation.data is
only supporting the get portion of ATOM, and then work on other CRUD
operations.

I'm about to get a sample that demonstrate this new functionality
available, but you can also look at the companyFeed test scenario
available in the implementation itself, as it can give you further
understanding.

[1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg18908.html

--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]