You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jean-Sebastien Delfino <js...@apache.org> on 2011/05/11 06:23:43 UTC

GSoC NoSQL DataStore scenario, was: [jira] [Commented] (TUSCANY-3522) [GSoC 2011] Develop a 'NoSQL' Datastore component for Apache Cassandra, CouchDB, Hadoop/Hbase

On Sat, Apr 30, 2011 at 12:16 PM, Eranda Sooriyabandara (JIRA)
<de...@tuscany.apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/TUSCANY-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027362#comment-13027362 ]
>
> Eranda Sooriyabandara commented on TUSCANY-3522:
> ------------------------------------------------
>
> Here are some works I did up to today,
> 1. Read about SCA
> 2. Setup and checkout some samples of some NoSQL databases,
> In here I used the hector client for Apache Cassandra and couchdb4j (use JSON) client for Apache CouchDB. I think we can use some of this clients for our implementations. We need to decide which one to use.
>
> There are some topics which we need to discuss about as follows,
> Sample scenario which we are going to implement over various databases. In here for which extent are we going to implement the functionality?
> The REST API. We can discuss about this after finalize the scenario.
>
> After decide those we can use the database independent parts (REST API) as a SCA component and mock the database access.
>

Here are a few ideas of scenarios:

a) a store with a catalog of goods, and a shopping cart app, similar
to the Tuscany store sample;

b) an app allowing you to track the location of your friends, you
build a list of friends, they update their location, and you can query
for the 5 closest ones;

c) a Twitter-like app, you follow a list of people and see the
messages they write.

These three scenarios have pretty different write / read / query
characteristics. We already have REST service examples for (a) in our
store sample. You could just build on that, but if you want more fun,
I think it'd be really interesting to try to come with REST services
for (b) or (c) as well.

Any thoughts from others in the team?
-- 
Jean-Sebastien

Re: GSoC NoSQL DataStore scenario, was: [jira] [Commented] (TUSCANY-3522) [GSoC 2011] Develop a 'NoSQL' Datastore component for Apache Cassandra, CouchDB, Hadoop/Hbase

Posted by Jean-Sebastien Delfino <js...@apache.org>.
On Wed, May 11, 2011 at 6:20 PM, Eranda Sooriyabandara
<07...@gmail.com> wrote:
> Hi Jean-Sebastian,
> I like to try with the Twitter-like app since it will be interesting. Any
> comments?
> If you can provide me the  location of REST service example for shopping
> cart app then I can use it for get some idea from it.
> thanks
> Eranda
>

You'll find it there:
http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/applications/store/

It uses the Tuscany ATOMPub binding. ATOMPub is a good example of a
standard REST protocol.

I think there's a few more REST samples but can't find them at the
moment. Looks like most samples have been moved out of the samples
directory for some reason.

Could the guys working on REST send a few pointers to the other REST samples?

Thanks!
-- 
Jean-Sebastien

Re: GSoC NoSQL DataStore scenario, was: [jira] [Commented] (TUSCANY-3522) [GSoC 2011] Develop a 'NoSQL' Datastore component for Apache Cassandra, CouchDB, Hadoop/Hbase

Posted by Eranda Sooriyabandara <07...@gmail.com>.
Hi Jean-Sebastian,
I like to try with the Twitter-like app since it will be interesting. Any
comments?
If you can provide me the  location of REST service example for shopping
cart app then I can use it for get some idea from it.
thanks
Eranda