You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by António Mota <am...@gmail.com> on 2007/06/04 17:18:55 UTC

Implement a simple case scenario

Hi all:

I have to make a test-case using a SDO to connect to a DB, a very
simple example. Let me explain the scenario:

We are choosing technologies to develop a app. Until now we are
inclined to use RAP to design the GUI, OSGI at the server side and as
ORM we are considering

- hibernate
- EJB 3
- SDO

It was i that proposed SDO, but the fact is that i only used SDO 1.0
(IBM RAD) in two JSF projects and they didn't went very well. However
i trully think the SDO design is very good and it has future.

So my question is, how can i implement between today and tomorrow a
very simple case scenario where i implement a simple Java class that
exposes some methods to read/write a table in a DB, using Tuscany.
Where should i start?


Thanks all for your help.

-- 
Melhores cumprimentos / Best regards
António Santos Mota

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org


Re: Implement a simple case scenario

Posted by Luciano Resende <lu...@gmail.com>.
You could use DAS unit test cases as simple examples, but we also have
sample applications such as DAS Companyweb [1] that describe multiple
operations on the context of DAS/SDO and Relational Database store
such as :

   1.  Display all Companies in the database
   2. Display all Companies and related Departments
   3. Add a new Department to a Company
   4. Delete all Departments from a Company
   5. Change the names of Departments in a Company


We also have a simple customer sample application that demonstrate DAS
on a J2SE environment [2]

[1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/companyweb/
[2] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/customer/


On 6/4/07, António Mota <am...@gmail.com> wrote:
> Hi all:
>
> I have to make a test-case using a SDO to connect to a DB, a very
> simple example. Let me explain the scenario:
>
> We are choosing technologies to develop a app. Until now we are
> inclined to use RAP to design the GUI, OSGI at the server side and as
> ORM we are considering
>
> - hibernate
> - EJB 3
> - SDO
>
> It was i that proposed SDO, but the fact is that i only used SDO 1.0
> (IBM RAD) in two JSF projects and they didn't went very well. However
> i trully think the SDO design is very good and it has future.
>
> So my question is, how can i implement between today and tomorrow a
> very simple case scenario where i implement a simple Java class that
> exposes some methods to read/write a table in a DB, using Tuscany.
> Where should i start?
>
>
> Thanks all for your help.
>
> --
> Melhores cumprimentos / Best regards
> António Santos Mota
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org
>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org