From feu.teston at gmail.com  Tue Jun  2 06:48:18 2009
From: feu.teston at gmail.com (Feu Teston)
Date: Tue, 2 Jun 2009 07:48:18 -0300
Subject: [dna-users] few questions about connectors and JCR
Message-ID: <8A0AA4DE-A1CC-43C3-8215-D8207E66C256@gmail.com>

Hi Guys!

I'm starting to use JBoss DNA on my project, and I spent the last few  
days taking a look on documentation and also on source code and unit  
tests.

So, a few things I didn't find or I didn't understand well:

1. Is it possible to configure another JCR implementation for DNA? If  
yes, can you guys send me a link or some instructions about how to do  
that?

2. Connectors are pretty disconnected to JCR stuff (witch is very  
good). But I didn't find yet where the information retrieved by the  
connectors go to the federated JCR. Is it done by the  
RepositoryListeners? If you guys can, please tell me some unit tests  
to take a look or some send me some documentation to take a look.

So far, so good. Thanks a lot for the help!




Feu Teston


From rhauch at redhat.com  Tue Jun  2 09:30:54 2009
From: rhauch at redhat.com (Randall Hauch)
Date: Tue, 2 Jun 2009 08:30:54 -0500
Subject: [dna-users] few questions about connectors and JCR
In-Reply-To: <8A0AA4DE-A1CC-43C3-8215-D8207E66C256@gmail.com>
References: <8A0AA4DE-A1CC-43C3-8215-D8207E66C256@gmail.com>
Message-ID: <9B4920B9-3082-4732-AF8C-3AAF25527563@redhat.com>


On Jun 2, 2009, at 5:48 AM, Feu Teston wrote:

> Hi Guys!
>
> I'm starting to use JBoss DNA on my project, and I spent the last  
> few days taking a look on documentation and also on source code and  
> unit tests.
>
> So, a few things I didn't find or I didn't understand well:
>
> 1. Is it possible to configure another JCR implementation for DNA?  
> If yes, can you guys send me a link or some instructions about how  
> to do that?

DNA's JCR implementation works by having each JCR Repository expose  
the content from a single DNA repository source.  That source could be  
an instance of the in-memory connector, federated connector, JPA  
connector, or any other connector.  While we have a goal to create a  
connector that uses another JCR repository (https://jira.jboss.org/jira/browse/DNA-39 
), that connector has not yet been written.  Writing connectors would  
actually be pretty straightforward for simple reading and writing,  
since it's just mapping the connector API to the JCR API.  More  
information about writing a connector can be found in Chapter 5 of the  
Reference Guide (http://www.jboss.org/file-access/default/members/dna/freezone/docs/0.4/manuals/reference/html/repositories.html 
).  DNA 0.5 (soon to be released) only has a few minor changes to the  
connector API.

DNA 0.4 actually has the ability to hook up the sequencer system to a  
JCR implementation via that JCR's observation mechanism. However, this  
capability is being removed in 0.5 and will be replaced by the  
sequencers sitting on top of the connector system.  Again, the  
connector to another JCR repository would allow the sequencers to  
operate on top of another JCR repository.

>
> 2. Connectors are pretty disconnected to JCR stuff (witch is very  
> good). But I didn't find yet where the information retrieved by the  
> connectors go to the federated JCR. Is it done by the  
> RepositoryListeners? If you guys can, please tell me some unit tests  
> to take a look or some send me some documentation to take a look.

The Getting Started document's repository example in 0.5 will showcase  
exactly how to configure the (updated) federated connector and then  
use JCR (or the graph API) on top of this connector.  I haven't quite  
completed the example, but it should be committed to trunk soon  
(hopefully today or tomorrow) and the Getting Started document updated  
very shortly thereafter.

(You can look in the 0.3 version of the Getting Started document to  
get a feel for how the federation connector is configured.  The Java  
code to set up and wire together the different service components will  
be much different and much easier, but the configuration XML file is  
pretty similar.  http://www.jboss.org/file-access/default/members/dna/freezone/docs/0.3/manuals/gettingstarted/html/index.html)

Let us know if you still need more information.

Best regards,

Randall


From rhauch at redhat.com  Thu Jun 11 14:36:41 2009
From: rhauch at redhat.com (Randall Hauch)
Date: Thu, 11 Jun 2009 13:36:41 -0500
Subject: [dna-users] Announcing JBoss DNA 0.5
Message-ID: <33785CDF-EE7B-455E-A752-6A7DCDC9040A@redhat.com>

Hot off the presses is the latest release for JBoss DNA [1].  Our  
Getting Started document [2] and Reference Guide [3] were both  
completely rewritten to be more thorough and better reorganized.   
Among the features are even better JCR compatibility, a RESTful web  
service for accessing and changing repository content (via RESTEasy),  
a new configuration system that leverages a configuration repository,  
an read-only SVN connector, a faster federation connector with a fork- 
join algorithm, an improved connector framework, and updated  
connectors and sequencers.  That's just some of what's in the release.

To recap, here's a brief summary of the project and what we're building:

	JBoss DNA is a JCR implementation that provides access to content  
stored in many different kinds of systems. A JBoss DNA repository  
isn't yet another silo of isolated information. Rather it's a JCR view  
of the information you already have in your environment: files  
systems, databases, other repositories, services, applications, etc.
	To your applications, JBoss DNA looks and behaves like a regular JCR  
repository. Using the standard JCR API, applications can search,  
navigate, version, and listen for changes in the content. But under  
the covers, JBoss DNA gets its content by federating multiple back-end  
systems (like databases, services, other repositories, etc.), allowing  
those systems to continue "owning" the information while ensuring the  
unified repository stays up-to-date and in sync.


Thanks to the whole JBoss DNA team for their hard work on this  
release.  The team has grown steadily over the last 6 months - we're  
now at 10 contributors that are all stellar.  With 0.5 under our belt,  
our next release will be focusing on passing the remaining parts of  
the JCR TCK (Level 1 and Level 2, plus some optional features).  As  
always, if you're interested in helping, please join the dna-dev at lists.jboss.org 
  list or pop into our IRC room (irc.freenode.net#jbossdna).

Regards,

Randall


[1] http://jbossdna.blogspot.com/2009/06/announcing-jboss-dna-05.html
[2] http://www.jboss.org/file-access/default/members/dna/freezone/docs/0.5/manuals/gettingstarted/html/index.html
[3] http://www.jboss.org/file-access/default/members/dna/freezone/docs/0.5/manuals/reference/html/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/dna-users/attachments/20090611/ad25ad89/attachment.html 

