-
1. Re: Beginner; sample code , plain Treecache
belaban Dec 8, 2004 3:24 PM (in response to derry2)JBossCache and OC4J are competing products, which one do you want to use ? If it is JBossCache, there are docs and a tutorial on the wiki.
Bela -
2. Re: Beginner; sample code , plain Treecache
derry2 Dec 8, 2004 4:38 PM (in response to derry2)Sorry,
I probably was not clear with the question.
I mean't the OC4J application server. I am trying to Use JBossCache in the OC4J application server container.
I have been trying to find documentation to run JBossCache on other application servers. (OC4J's application server container in my case)
Could you please point me to relevant documentation , if any.
I am a nove and i will try to put all that i have tried so far.
This was my original problem:
I wrote a simple java class that would populate a node of TreeCache Object with a HashMap. This code was ruinning in the VM of the OC4J application server.
Then i tried to retrieve the data from a JSP deployed on the app server.
I was not clear how to do a look up for the TreeCache object that i had just created .
Later i read that the MBean server for JBossCache would have to be running with the application server for me to get a look up for the TreeCache Object .
This led me to search for any pertinent documentation.
Thanks,
Derry -
3. Re: Beginner; sample code , plain Treecache
belaban Dec 8, 2004 5:48 PM (in response to derry2)Check out the wiki for how to use JBossCache inside WebLogic: http://www.jboss.org/wiki/Wiki.jsp?page=JBossCacheAndWebLogic
Then look at GenericTransactionManagerLookup.
Wrt to lookup: you can use JNDI now: check out the documentation for 1.2 (coming out next week) for how to do this.
Bela