On 1/24/07, Craig L Russell <[EMAIL PROTECTED]> wrote:
I'm afraid that we're rolling over a cliff here. I'd like to have a
discussion and resolution on the future of the JPA sandbox work, and
IMHO putting it into a branch just defers the real decision that we
need to make.

Yes, I agree. We need a proposal for getting JPA into Roller.


There are advantages and disadvantages with using JPA instead of
Hibernate native APIs, and we need to resolve whether Roller will
support a single back end or multiple back ends.

I think there are three end results:

1. Stay the course. JPA continues as a second class citizen, remains
in the sandbox, and might not work, subject to feature development in
the main line. "Someone" will have to come along after a checkin to
make sure that the sandbox code continues to work.

2. Switch out Hibernate API and use JPA API as the one API that is
supported by Roller. Note that since Hibernate has a JPA
implementation, current users of Roller could continue to use
Hibernate but with a different API.

3. Support both JPA and Hibernate native APIs in Roller. New feature
development would have to test in both JPA and Hibernate modes before
checking in.

When I started working on this project, I anticipated outcome 3. I'm
used to implementing and using pluggable back ends and this applies
equally to hardware platforms, Java VMs, persistence APIs, and
databases. It was a bit of a surprise to me that this was not the
expectation of the rest of the team, but it was rather late in the
cycle when I discovered this would be an issue.

I've had some experience supporting multiple back-end implementations.
It is no fun at all and a distraction from what Roller really needs
which is better UI, easier installation and cool new features.


I understand that in the early stages of the project, there was some
skepticism in the team that the JPA API would be suitable for
production. I would say that we should be past discussion on this
point. We're down to fine points in the implementation.

Yes. I agree. We need to have that discussion now and I'm going to
kick it off by introducing a proposal for Roller 4.0 with JPA today.

- Dave

Reply via email to