> Hi there,
> 
> I read in my EJB book that CTM's require vendor specific JDNI properties. I
> thought EJB was platform/vendor independent? What are these JNDI properties
> for? More importantly..when/why are they used? I see in the example EJB's
> with Orion that they all have a jndi.properties file, yet I am not quite
> sure how to understand them.

The JNDI properties is what helps make your code EJB independent.

The file specifies the information specific to access your EJB container's
namespace. By putting this information (factory class, principal (user),
credentials (password)) in the properties file, you avoid hard-coding it.

tim.


Reply via email to