cancel
Showing results for 
Search instead for 
Did you mean: 

success building a MDB as a JCR client anyone ?

jbaton
Champ in-the-making
Champ in-the-making
Hi all,

Has anybody succeeded in doing a message driven bean that interacts with the repository using the jcr api ? or using the jcr api from outside the web client ?

I read across the forum that it fires up a new repository if done when the web client is running.

Is there a Jboss guru here that knows how to share the alfresco jars and  above all the spring context between the web client and my jar containing only the mdb

Or am I forced to use the ws api to have the UI and my mdb running at the same time on the same repository.

Thanks in advance


Jerome
1 REPLY 1

jbaton
Champ in-the-making
Champ in-the-making
For info,

I made the MDB using the ws api and it works fine (with the jboss bundle) although it needs some jms tuning for a stress usage (jboss default is treat 1 message and wait  :shock: ).

I'll write a page about that soon, the story of a program that sends jms messages that are treated with the ws api.
All this on the same host of course Smiley Happy

I'm still interested in getting the singleton of the JCR repo in the same appserver but from another context.
Really should try to put the jcr in JNDI using a servlet (init method).


Jerome BATON