This content has been marked as final.
Show 3 replies
-
1. Re: Best practice for sharing a data structure through JNDI
starksm64 Dec 17, 2004 11:57 AM (in response to fredatwork)The java:comp context is by spec definition component local. You cannot bind into it and have that shared by other components. You need to bind into another context.
-
2. Re: Best practice for sharing a data structure through JNDI
fredatwork Dec 17, 2004 12:23 PM (in response to fredatwork)Thanks for Scott for his answer.
I'm also wondering if JBoss Cache is something that I have to look into in order to implement a cache of POJOs (Plain Old Java Objects), that is a cache of objects to share among session beans ?
I plan to run in a cluster. Is JNDI enough to store (in memory) a cache of POJOs or should I try to use JBoss Cache ?
Fred -
3. Re: Best practice for sharing a data structure through JNDI
starksm64 Dec 18, 2004 10:17 AM (in response to fredatwork)Yes, it sounds like JBossCache is what you should be looking at.