Yes, I have basic structure that can be put into both api and impl. No test cases right now though. We can argue over annotation names if you'd like :-)
Shane,
What top level package do you suggest? org.jboss.seam.jcr ? org.jboss.seam.content ? I'd prefer the latter, especially if we do eventually look at implementation specific features.
It's great to see this collaboration take place, and it's quite
obvious to me that the idea of a Seam JCR module would be appealing
to many developers. George and John, would you both be willing to
work on this module together? For the time being I propose that we
create a Seam JCR project at github (and treat it as a sandbox for
now) which you can both commit to. I can put the basic project
skeleton in place so that it conforms in structure to the other Seam
modules. What do you think?
On 27/02/11 04:08, George Gastaldi wrote:
Excelent idea. I was thinking also to connect the JCR
event model to CDI. An integration with Seam Security should also
be planned.
Funny you bring up this topic this week. I was planning to
propose a Seam Content module this week, mostly because my
schedule is finally clear enough to allow me to work on it.
At this point, I have basic capabilities to inject the
necessary JCR objects into CDI beans and that all works. I
will admit though, I am a little biased towards ModeShape as
that is the other JBoss project I work on. Cross platform
support would work correctly using the service loader +
repository factory approach. In addition to basic injection
support, I was also looking to provide the equivalent of a
SeamManagedPersistenceContext for JCR.
There are also some ModeShape specific features I was
bouncing around, including CDI enabled connectors,
sequencers; as well as connecting their event model w/ CDI's
event model.
I was thinking to create a Seam JCR module to allow
JCR (Java Content
Repositories) to be injected in code. It should work
for jackrabbit as
well as modeshape or any other jcr 2.0 compliant
implementation. Any
suggestions ? Comments appreciated.