Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI server persistance

 
Arvind Varma
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what happens to the value contained in the JNDI, if the server is down �
will it preserve the value or will it start afresh?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think the JNDI spec defines "persistent entries" as such -- the JNDI server may ofcourse provide proprietary methods for defining persistent values.
 
Vinod John
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arvind Varma:
what happens to the value contained in the JNDI, if the server is down �
will it preserve the value or will it start afresh?

JNDI is as such a standard API interface for java applications to access a naming/directory servies. The naming and directory service acts as a database (techincally they are only services to store/access the data) to store the data. Note that naming and directory service doesn't support transaction,so if you store something, it assumed to be there even if the transaction transaction is rolled back.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic