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.
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.
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.