This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Preferences API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Preferences API" Watch "Preferences API" New topic

Preferences API

Juan Rolando Prieur-Reza
Ranch Hand

Joined: Jun 20, 2003
Posts: 237
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 .

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?

Juan Rolando Prieur-Reza, M.S., LSSBB, SCEA, SCBCD, SCWCD, SCJP/1.6, IBM OOAD, SCSA
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
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.
subject: Preferences API
jQuery in Action, 3rd edition