Sharing an object and JNDI?
0 posts in topic
Flat View  Flat View

Posted By:   Izabela_Sremac
Posted On:   Monday, November 26, 2001 04:37 PM

We have an object being created and populated by each thread and then shared by multiple DAO's (Data Access Objects) running in that thread.

Being new to JNDI, please let know if it is an appropriate usage of JNDI to bind this object when created and populated and then have each object that needs to use it lookup the object in the JNDI tree?

Also, if this is an adequate usage of JNDI to share an object between multiple other objects, is there a way to bind this object per thread? The information it carries is thread specific, so all the other objects in the same thread can use it. Thanks!!

About | Sitemap | Contact