Re: Declarative DAS, was Re: Modeling the RDB DAS in SCA, was Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-19 Thread Kevin Williams
I would suggest that we start right away with a RDBDAS-based solution. I also think that the best place to start would be with an interface that is weakly typed. That is, a service interface in terms of dynamic SDO's. If we go this route we can avoid the generation (by hand or otherwise) of

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-09 Thread scabooz
- From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, October 03, 2006 8:26 PM Subject: Re: Modeling persistence services, was Re: EJB3 (JPA) support On Oct 3, 2006, at 2:43 PM, Jeremy Boynes wrote: On Oct 3, 2006, at 1:41 PM, Jim Marino wrote: I like most

RE: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-04 Thread Meeraj Kunnumpurath
services, was Re: EJB3 (JPA) support H...a service modeled as a property is what seems odd. I'm trying to keep an open mind. Imagine drawing a picture of this using the icons from the SCA spec. You'd have some kind of a connection from a component's property to a database? That's what

RE: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-04 Thread Meeraj Kunnumpurath
checked in. Ta Meeraj -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 21:05 To: tuscany-dev@ws.apache.org Subject: Re: Modeling persistence services, was Re: EJB3 (JPA) support I see wires in the assembly as representing the interaction

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-04 Thread Andy Piper
At 22:43 03/10/2006, Jeremy Boynes wrote: I think there's a big difference between something like implementation.jpa and implementation.das I think implementation.jpa is about simplifying the configuration of a complex component with a specific service interface (in this case EntityManager).

Modeling the RDB DAS in SCA, was Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-04 Thread Kevin Williams
Great. I would like to help with this. I have been thinking for awhile about how to best integrate the RDB DAS within SCA. For example, the current BBank scenario uses the RDB DAS as a utility but it would be nice if it could wire in a RDB DAS service or be injected with a configured DAS.

RE: EJB3 (JPA) support

2006-10-03 Thread Meeraj Kunnumpurath
Do you mean the Hibernate session API without using the entity manager? -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 02 October 2006 20:30 To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support On Oct 2, 2006, at 11:35 AM, Meeraj Kunnumpurath wrote: Jim

RE: EJB3 (JPA) support

2006-10-03 Thread Meeraj Kunnumpurath
To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support Yep. I'm working on some minor things to the JPA extension now and I should have them checked in soon (hour or so). I'm still figuring out how this stuff is going to work (I'm more familiar with the Hibernate API than JPA) but perhaps

Re: EJB3 (JPA) support

2006-10-03 Thread Jim Marino
Subject: Re: EJB3 (JPA) support Yep. I'm working on some minor things to the JPA extension now and I should have them checked in soon (hour or so). I'm still figuring out how this stuff is going to work (I'm more familiar with the Hibernate API than JPA) but perhaps when I do the check in I can

RE: EJB3 (JPA) support

2006-10-03 Thread Meeraj Kunnumpurath
Thanks Jim. I will have a look at this in the afternoon and get back to you. Ta Meeraj -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:00 To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support Hi Meeraj, I checked in some minor changes

RE: EJB3 (JPA) support

2006-10-03 Thread Meeraj Kunnumpurath
Jim, Pls see my comments below. Ta Meeraj -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:00 To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support Hi Meeraj, I checked in some minor changes to the JPA extension. I

Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread scabooz
on this, and maybe I'll change my mind. Didn't want to let this thread just die. Dave - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, October 03, 2006 11:40 AM Subject: Re: EJB3 (JPA) support On Oct 3, 2006, at 7:44 AM, scabooz

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Robbie Minshall
make sense. I need to think more on this, and maybe I'll change my mind. Didn't want to let this thread just die. Dave - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, October 03, 2006 11:40 AM Subject: Re: EJB3 (JPA) support On Oct 3

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Jeremy Boynes
: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, October 03, 2006 11:40 AM Subject: Re: EJB3 (JPA) support On Oct 3, 2006, at 7:44 AM, scabooz wrote: Hi Jim, Somewhere buried in your explanation is the answer to my question, but I can't find it, so I'll have to ask

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Jim Marino
[EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, October 03, 2006 11:40 AM Subject: Re: EJB3 (JPA) support On Oct 3, 2006, at 7:44 AM, scabooz wrote: Hi Jim, Somewhere buried in your explanation is the answer to my question, but I can't find it, so I'll have to ask. I'm trying

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Jeremy Boynes
On Oct 3, 2006, at 1:41 PM, Jim Marino wrote: I like most types of cake too but I think we should really have one way of doing this. I've vacillated in the past on whether things such as DataSources, EntityManagers, etc. are modeled as services in an *application* assembly or are contracts

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Jeremy Boynes
On Oct 3, 2006, at 5:26 PM, Jim Marino wrote: This sounds like having cake, eating it, and also being able to give it to a friend :-) We provide the flexibility for users: 1) to access infrastructure services through properties Yes for things like JPA, JDBC, etc. 2) to reference

Re: Modeling persistence services, was Re: EJB3 (JPA) support

2006-10-03 Thread Jim Marino
On Oct 3, 2006, at 6:17 PM, Jeremy Boynes wrote: On Oct 3, 2006, at 5:26 PM, Jim Marino wrote: This sounds like having cake, eating it, and also being able to give it to a friend :-) We provide the flexibility for users: 1) to access infrastructure services through properties Yes for

EJB3 (JPA) support

2006-10-02 Thread Jim Marino
Hi, I checked in a skeleton of EJB3 persistence support (using OpenJPA) that will leverage the system service work I just did. If anyone is interested in helping with this or adding in Hibernate support let me know. We may want to look at providing a generic EJB3 JPA extension, although

RE: EJB3 (JPA) support

2006-10-02 Thread Meeraj Kunnumpurath
I am interested in adding the Hibernate support. However, could you pls elaborate on the use cases for persistence in Tuscany? Kind regards Meeraj -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 02 October 2006 08:25 To: tuscany-dev@ws.apache.org Subject: EJB3 (JPA

Re: EJB3 (JPA) support

2006-10-02 Thread scabooz
developer. thanks Dave Booz - Original Message - From: Jim Marino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, October 02, 2006 3:24 AM Subject: EJB3 (JPA) support Hi, I checked in a skeleton of EJB3 persistence support (using OpenJPA) that will leverage the system

Re: EJB3 (JPA) support

2006-10-02 Thread Jim Marino
: Monday, October 02, 2006 3:24 AM Subject: EJB3 (JPA) support Hi, I checked in a skeleton of EJB3 persistence support (using OpenJPA) that will leverage the system service work I just did. If anyone is interested in helping with this or adding in Hibernate support let me know. We may

Re: EJB3 (JPA) support

2006-10-02 Thread Meeraj Kunnumpurath
a framework that can support any JPA implementation make the EMF available as a system service. Ta Meeraj From: Jim Marino [EMAIL PROTECTED] Reply-To: tuscany-dev@ws.apache.org To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support Date: Mon, 2 Oct 2006 10:30:20 -0700 Sure (since both you

Re: EJB3 (JPA) support

2006-10-02 Thread Jim Marino
@ws.apache.org To: tuscany-dev@ws.apache.org Subject: Re: EJB3 (JPA) support Date: Mon, 2 Oct 2006 10:30:20 -0700 Sure (since both you and Meeraj asked)... Basically, I think the use cases are pretty much the same for JPA, Hibernate, or JDO (not surprisingly): an application developer wants