
Read Integration Java Content Repository and Spring
According to the article, Springs JCR Module provides (summarized):
- JcrTemplate which allows execution of JcrCallbackand exception handling (transforming checked JCR exceptions into unchecked Spring DAO exceptions).
- Session and can be easily used as a replacement. Moreover the template is aware of thread-bound sessions which can be used across several methods, functionality very useful when using a transactional repository.
- RepositoryFactoryBean which configures, starts and stops the repository instances.
- SessionFactory which unifies the Repository,Credentials and Workspace interfaces and allows automatic registration of listeners and custom namespaces.
- Spring declarative transactional support for repositories that implement the (optional) transactional feature.
- OpenSessionInView interceptor and filter which allow the usage of the same session per thread across different components.
Community comments
Nice article about JSR-170 Content Repository!
by kishore madugula,
importFile sample
by Paul Russo,
global.re importFile sample
by Alex Popescu,
Excellent JSR-170 overview!
by Jennifer Kline,
Remote Storage
by anand mahajan,
Re: Remote Storage
by Konrad Pawlus,
JCR module migrated to Spring Extension JCR
by Salvatore Incandela,
Nice article about JSR-170 Content Repository!
by kishore madugula,
Your message is awaiting moderation. Thank you for participating in the discussion.
Alfresco also very good one among those,as i used alfresco extensively,it also offers all levels support and spring,hibernate were integrated.From UI point of view it uses JSF so i suggest alfresco product while choosing among the JSR-170 Content repository implementations.
Thanks,
Kishore Madugula
importFile sample
by Paul Russo,
Your message is awaiting moderation. Thank you for participating in the discussion.
In the importFile springify sample, I think this line
return (Node) execute(new JcrCallback() {
should be
return (Node) template.execute(new JcrCallback() {
Correct me if I'm wrong.
Thanks,
Paul.
global.re importFile sample
by Alex Popescu,
Your message is awaiting moderation. Thank you for participating in the discussion.
Yes, you are right Paul. Thanks for the correction.
./alex
--
:Architect of InfoQ.com:
.w( the_mindstorm )p.
C4Media/InfoQ Co-Founder
Excellent JSR-170 overview!
by Jennifer Kline,
Your message is awaiting moderation. Thank you for participating in the discussion.
Thanks so much for this article! I had to do some research for my development group and your piece was a great summary that covered a lot of material.
The world needs more articles like this! Thanks!
Remote Storage
by anand mahajan,
Your message is awaiting moderation. Thank you for participating in the discussion.
Hi,
Can u tell me how i can store contents on Remote machine.
I will install application on one machine and store files on other machine. There will be firewall between both machine.
Please help me.
Thanks, in advance.
-Andy
Re: Remote Storage
by Konrad Pawlus,
Your message is awaiting moderation. Thank you for participating in the discussion.
Try:
and run Jackrabbit in Tomcat on this remote machine.
JCR module migrated to Spring Extension JCR
by Salvatore Incandela,
Your message is awaiting moderation. Thank you for participating in the discussion.
Hi guys, I'm the "Spring Extension JCR" committer.
I would announce to you that the original JCR Module was migrated to the new Spring Extension infrastructure. I've recently released a new version of this module currently 0.9!
Below some useful links:
salvatoreincandela.blogspot.com/
forum.springsource.org/forumdisplay.php?f=65