=============================================== SEARCH400.COM WEBSPHERE STRATEGIES TIP July 12, 2001 More WebSphere Strategies tips at http://search400.techtarget.com/tipsIndex/0,289482,sid3_tax2f9,00.html =============================================== SPONSORED BY: Postmaster Direct =============================================== GET THE INFO YOU WANT TODAY What do YOU want in your e-mailbox? How about FREE info and offers about computers, networking, wireless devices, finance and lots more? Visit http://search400.techtarget.com/postmasterDirect/1,289639,sid3,00.html, choose the topics that interest you, and you'll get the e-mail you want. =============================================== Use the JNDI to keep track of distributed data By Bob Cancilla As we move into the object-oriented world of Java and WebSphere, we find ourselves faced with a world in which our systems expand from one central computer to a universe of computers scattered around the world. Your applications may reside on a single computer, but more than likely they will expand to consist of system components spread across many networks connected by the Internet. A fundamental problem in distributed systems is the ability to find objects and obtain information about them. This is the job of the Java Naming and Directory Interface (JNDI). The JNDI is not a directory, but rather a standardized interface to standards-based directory servers. IBM and the iSeries currently support two implementations of the JNDI. WebSphere 3.x and 4.0 implement a directory within the WebSphere product. The most typical implementations of the JNDI are, however, built over an industry standard Lightweight Directory Access Protocol (LDAP) server. The iSeries has included an LDAP server with OS/400 since V4R3. At V4R5, it was enhanced to support the LDAP Version 3 protocol as defined by the Internet Engineering Task Force and bundles the JNDI with it. The JNDI is a standard Java programming interface that allows you to interrogate or update vendor-provided directory servers. You learn one interface and code to the JNDI standards regardless of where the data might be stored. You can locate directory information about any type of object stored in a system directory, retrieve attributes describing the object, update the object or perform other operations on the object. The JNDI can find programs, people, machines or any resource defined to a directory server. The interesting aspect of the JNDI is that systems can use the JNDI to discover information about their partner systems. To learn about the JNDI visit http://java.sun.com/products/jndi/tutorial/trailmap.html. And for information about the iSeries LDAP server and its JNDI implementation, visit http://www-1.ibm.com/servers/eserver/iseries/ldap/. ------------------------- About the author: Bob Cancilla is managing director of IGNITe/400 (http://www.ignite400.org), an electronic iSeries 400 Internet users group. He is also author of the book Getting Down to e-business with AS/400 (http://www.digitalguru.com/dgstore/product.asp?isbn=1583470107&ac_id=55) --------------------------------------------------------- ADVICE ON WEBSPHERE AND WEB DEVELOPMENT --------------------------------------------------------- Do you have questions about WebSphere and Web development? Post it in our new WebSphere/Web Development Discussion Forum. Here you'll get advice from our site experts who monitor the forum, as well as ideas and suggestions from your peers. Post it now at http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected] You may also read the Web development advice our experts have given in our Ask the Expert section. http://search400.techtarget.com/ateAnswers/0,289620,sid3_tax285218,00.html ------------------------------------- FEATURED BOOK ------------------------------------- Title: JNDI API Tutorial and Reference: Building Directory-Enabled Java Applications Authors: Rosanna Lee and Scott Seligman Description: This book provides an introduction to naming and directory technologies and an overview of the Java Naming and Directory Interface (JNDI). The tutorial in this book progresses from the most basic to advanced JNDI capabilities and techniques, including more than 200 working examples that demonstrate writing, compiling, and running directory-enabled Java programs. In addition, this book contains a comprehensive reference section that documents all JNDI classes and interfaces. http://www.digitalguru.com/dgstore/product.asp?isbn=0201705028&ac_id=55 ======================================================== If you would like to sponsor this or any techtarget newsletter, please contact Gabrielle DeRussy at mailto:[EMAIL PROTECTED]. ======================================================== If you no longer wish to receive this newsletter simply reply to this message with "REMOVE" in the subject line. Or, visit http://search400.techtarget.com/register and adjust your subscriptions accordingly. If you choose to unsubscribe using our automated processing, you must send the "REMOVE" request from the email account to which this newsletter was delivered. Please allow 24 hours for your "REMOVE" request to be processed.
