Why bind hibernate SessionFactory to a JNDI resource?
- by jschoen
In my current adventure of learning hibernate and setting it up to use an appserver's connection pool, most examples and resources out there point you in the direction of binding the SessionFactory to a JNDI resource in your appserver in the process.
I wondering what the benefit of this is? Since the you can access a the connection pool with out doing this.