• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What kind of objects we bound in JNDI ?

 
Yassine Lajmi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

What kind of objects we bound in JNDI ?
 
Murat Balkan
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
JDBC Data sources and EJB remote homes..
Hope this helps,
Murat
 
Yassine Lajmi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
thanks Murat.

This kind of objects (JDBC Data sources and EJB remote homes) are bound in deployment time, and by declarative way.

In my question, I ment the kind of objects we bind in programatically way :


I want to know if there is J2EE prctice to gide us.
[ November 08, 2004: Message edited by: Yassine Lajmi ]
 
Udayan Patel
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Yassine Lajmi:
Hello All,

What kind of objects we bound in JNDI ?


You pretty much can bind any Java Object in JNDI you want to look up by name. Most generally in J2EE environment people use JNDI to bind ejb names and data source names. But, properly defined MBean in deployment descriptor should allow you to bind any java object you want to look up by name. There is no specific J2EE prectices available for this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic