On Fri, Jan 20, 2012 at 3:35 AM, Conboy, Glen (RCPA QAP IT) <[email protected]> wrote: > Hi, > > > > I have been trying to work out how in Tuscany to best get a service to > persist data to a relational database. > > > > Would someone be able to point me in the right direction? > > > > Some other SCA implementations support JPA. Is using JPA possible in > Tuscany? I see that there is an issue raised to get JPA support implemented > (TUSCANY-3848) so I guess not. > > > > Work on RDB DAS seems to have stalled. > > > > Thanks, > > Glen Conboy > > > >
Hi Glen Yes, it looks like no one is that interested in the DAS approach. From within a component implementation you should be able to use your favourite persistence mechanism, e.g. if you're using Java you should be able to use JPA without SCA getting in the way. TUSCANY-3848 was created as a GSoC idea for a student to look at how JPA could be integrated more closely into SCA. Putting JPA annotations on the component implementation class itself to support "data components" for example. Doesn't look like it was picked up though. Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
