Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preferences API

 
Juan Rolando Prieur-Reza
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Preferences API seems to be very useful for J2EE applications.
However, I don't see much about it in the literature. Is it used with Eclipse, WSAD, or WebLogic?
See C:\j2sdk5.0\docs\api\java\util\prefs\Preferences.html
and http://java.sun.com/developer/Books/javaprogramming/jdk14/javapch10.PDF .

It seems to be a great facility for use with various deployment descriptors, and certain data in JNDI. But is it being ignored in J2ee 1.4?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you have in mind, but it's generally used more for user and application preferences, not fro actual application data. E.g., on Windows it's backed by the Registry, which should give you an idea of what it's used for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic