Directory services are the key applications which provide a means to locate and organize users and resources on a network. Directories are repositories (like a phone book) containing information on users such as email addresses, phone numbers, security passwords and access rights to things like printers and servers. Using Sun's Java Naming and Directory Interface (JNDI), Java developers and network professionals can build powerful and portable applications throughout the enterprise. Now, JNDI's architect and one of its lead developers team up to present the first comprehensive JNDI tutorial and reference: everything developers need to build world-class directory-enabled applications with Java. Starting from the basic foundations, the book introduces key JNDI concepts and techniques needed to write, compile, and run JNDI applications. The tutorial then moves to more sophisticated topics, walking developers through building their own service providers, accounting for security, and creating schema and attributes. There are detailed comparisons between JNDI and LDAP, as well as practical techniques for integrating with DNS, NDS, NIS+, and other directory services. The book also contains a comprehensive JNDI reference covering every element of the API.
Rosanna Lee is a former Senior Staff Engineer at Sun Microsystems, Inc.,where she led the design and development of the JNDI technology and theX/Open Federated Naming (XFN). She is also coauthor of the Java Class Libraries books and posters in the Java Series.
Scott Seligman, a Staff Engineer with the Java Software Development group at Sun Microsystems, Inc., is a lead designer and developer of the JNDI technology. He contributed extensively to the naming and directory clients for the Solaris Operating Environment, including XFN and the Name Service Switch. Scott is the lead engineer for the Java 2 SDK, Standard Edition, v1.4. InhaltList of Figures. List of Tables. Preface. Tutorial. Getting Started.
Lesson 1 Naming and Directory Concepts.
Lesson 2 JNDI Overview.
Lesson 3 Examples.
Lesson 4 Common Problems (and Their Solutions.The Basics.
Lesson 5 Preparations.
Lesson 6 Naming Operations.
Lesson 7 Directory Operations.Beyond the Basics.
Lesson 8 What's in a Name?
Lesson 9 Environment Properties
Lesson 10 Event Notification
Lesson 11 URLs
Lesson 12 Federation
Lesson 13 MiscellaneousJava Objects in the Directory
Lesson 14 Storing Objects in the Directory
Lesson 15 State Factories
Lesson 16 Reading Objects from the Directory
Lesson 17 Object Factories
Lesson 18 Representation in the DirectoryTips for LDAP Users
Lesson 19 Comparison of the LDAP and JNDI Models
Lesson 20 Security
Lesson 21 Miscellaneous
Lesson 22 Searches
Lesson 23 Referrals
Lesson 24 Schema
Lesson 25 Controls and Extensions
Lesson 26 Frequently Asked QuestionsBuilding a Service Provider
Lesson 27 The Big Picture
Lesson 28 The Ground Rules
Lesson 29 The Essential Components
Lesson 30 Adding Directory Support
Lesson 31 Adding URL Support
Lesson 32 Adding Federation Support
Lesson 33 MiscellaneousClass Libraries Reference Package Overviews
javax.naming.spiAlphabetical Reference of Classes
UnsolicitedNotificationListenerAppendix: LDAP Schemas Index 0201705028T04062001