Question
I'd like to know how to access a database in Java?
Answer
Directory design is quite different from relational database design. With databases one tends to design a data model for the business issues and process requirements, sometimes with the online customer, service , user management, presence and system scale issues omitted. With directories however, if one is placing information into a common repository for many applications and users, then its information (and identity) design and schema must be developed around what the objects are representing in real life. In most cases, these objects represent users, address books, rosters, preferences, entitlements, products and services, devices, profiles, policies, telephone numbers, routing informatiom, etc. In addition one must also consider the operational aspects of design in regard to performance and scale. A quick check on the operational design is to take eg. 1 million users, 50 objects each with users or applications accessing these objects up to 5000 times a second, minute, or hour (to authorize and update their service environments), and check if the server and network machinery considered can support this.
— Source: Wikipedia (www.wikipedia.org)