Results 1 to 3 of 3

Thread: JndiTemplate over InitialContext

  1. #1
    Join Date
    Mar 2005
    Location
    India
    Posts
    97

    Default JndiTemplate over InitialContext

    Whats the advantage of using jnditemplate over initialcontext .....


    to access a resource using JNDI..???

    Tx

  2. #2
    Join Date
    Aug 2004
    Posts
    2,715

    Default

    It does the cleanup for you, following the established template approach used elsewhere in Spring. So it is easy to use, test and understand for one familiar with Spring.

    Besides that it is used by various Jndi-aware factory beans.

    Regards,
    Andreas

  3. #3
    Join Date
    Mar 2005
    Location
    India
    Posts
    97

    Default

    Thanks Andreas !!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •