April 2002
Beginner to intermediate
1128 pages
26h 33m
English
| Q1: | Why is a Name Service so important? |
| A1: | Without JNDI, it would be a lot harder to provide services such as those implemented using J2EE objects like data sources, message queues, and EJBs. Each vendor would choose its own mechanism for defining how a client program should gain access to the J2EE objects. Some might do this by distributing configuration files, others by using TCP/IP broadcast network packets. Using a Name Service provides a consistent means of providing network services in a portable and platform-independent manner. Not only that, you can move an implementation of a service from one machine to another. In this instance, the server simply updates the Name Service entry to reflect its new location, and the whole process is ... |
Read now
Unlock full access