true - that work work as-is right now. <div><br></div><div>Of course the problem remains the meaning of the JCR nodes are specific to guvnor, so you would need to know how it stores things, but yeah, that could work. <br><br>
<div class="gmail_quote">On Mon, Mar 8, 2010 at 11:19 PM, Jaroslaw Kijanowski <span dir="ltr"><<a href="mailto:kijanowski@gmail.com">kijanowski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
if you could use a 'real' database (instead of Derby), how about this?<br>
Configure Jackrabbit to run in a clustered environment in Guvnor and<br>
your standalone app. This is done in the repository.xml file [1]. That<br>
would allow you to access the JCR repo from different apps at the same<br>
time (no locks).<br>
<br>
<br>
[1] <a href="http://wiki.apache.org/jackrabbit/Clustering" target="_blank">http://wiki.apache.org/jackrabbit/Clustering</a><br>
<br>
Cheers,<br>
Jarek<br>
<div><div></div><div class="h5"><br>
Bernd Rücker wrote:<br>
> Hey guys.<br>
><br>
><br>
><br>
> I thought I better ask that question on the dev list, correct me if that<br>
> was a bad choice ;-)<br>
><br>
><br>
><br>
> I want to programmatically access the JCR repository from another<br>
> application (basically to author rules). I understood the<br>
> RulesRepository (which is a nice interface by the way). I tried to<br>
> understand how the JCR Session is created and can be accessed. As far as<br>
> I found it, it seems that a Seam Bean just starts everything<br>
> (RulesRepositoryManager). Now the question is: How can I access this<br>
> from another application? Because the workspace is locked, I cannot<br>
> create another Session from there.<br>
><br>
><br>
><br>
> Wouldn’t it be nice to bind the stuff in JNDI correctly or something<br>
> like that? Or if I do that, can I inject it into the Seam application?<br>
> Or maybe I can access the seam bean somehow from external?<br>
><br>
><br>
><br>
> I think it would be the easiest and best to access the JCR repos instead<br>
> of using WebDav or whatever if I am in another EJB3 application…<br>
><br>
><br>
><br>
> Thanks a lot for any hint<br>
><br>
> Cheers<br>
><br>
> Bernd<br>
><br>
> --<br>
><br>
> Blog: _<a href="http://www.bpm-guide.de" target="_blank">www.bpm-guide.de</a> <<a href="http://www.bpm-guide.de" target="_blank">http://www.bpm-guide.de</a>>_<br>
><br>
> ---------------------------------------------<br>
><br>
> camunda services GmbH - The Business Process Company<br>
><br>
> Zossener Straße 55-58 - 10961 Berlin<br>
><br>
> <a href="http://www.camunda.com" target="_blank">www.camunda.com</a> <<a href="http://www.camunda.com" target="_blank">http://www.camunda.com</a>> - <a href="mailto:info@camunda.com">info@camunda.com</a><br>
> <mailto:<a href="mailto:info@camunda.com">info@camunda.com</a>><br>
><br>
> ---------------------------------------------<br>
><br>
> Bernd Rücker<br>
><br>
> Geschäftsführer<br>
><br>
> Telefon +49 30 664040 901<br>
><br>
> Mobil +49 171 1473461<br>
><br>
> <a href="mailto:bernd.ruecker@camunda.com">bernd.ruecker@camunda.com</a> <mailto:<a href="mailto:bernd.ruecker@camunda.com">bernd.ruecker@camunda.com</a>><br>
><br>
> ---------------------------------------------<br>
><br>
> Amtsgericht Charlottenburg: HRB 113230 B<br>
><br>
> Geschäftsführer: Jakob Freund, Bernd Rücker<br>
><br>
> ---------------------------------------------<br>
><br>
> BPMN-Buch: <a href="http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7" target="_blank">http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7</a><br>
><br>
> EJB-3-Buch: <a href="http://www.ejbbuch.de/" target="_blank">http://www.ejbbuch.de/</a><br>
><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> rules-dev mailing list<br>
> <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
</div></div><div><div></div><div class="h5">> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>
</div>