Java Reference
In-Depth Information
1.3.6 Java Message Service
Messaging refers to the method of communication between two or more software components or
applications in a distributed environment. A messaging system is a peer-to-peer network facility.
In other words, a messaging application can send messages to and receive messages from any other
application. Each messaging application connects to a messaging agent that provides facilities
for creating, sending, receiving, and reading messages. he Java Message Service (JMS) API in
the Java technology, by combining with enterprise messaging and other related Java technology,
forms a powerful messaging environment for solving enterprise business problems. A JMS-based
enterprise messaging solution provides a reliable, lexible service for the exchange of business data
throughout an enterprise. he JMS API adds a common API and provider framework that enables
the development of portable message-based applications using Java programming language.
1.3.7 JavaMail API and the JavaBeans Activation Framework
Java-based Web applications can use the JavaMail API to send email notiications, as a part of the
enterprise communication process. he JavaMail API has two parts—application level and service
level. An application-level interface for the application components is used to send email, and a
service provider interface provides services for the same. Service providers implement particular
email protocols, such as SMTP. he Java EE platform includes the JavaMail extension with a ser-
vice provider that allows application components to send email.
In conjunction with the JavaMail extension, one might use the JavaBeans Activation
Framework (JAF) API that helps in providing standard services to determine the type of an arbi-
trary piece of data, encapsulate access to this data, discover the operations available on the data,
and create the appropriate component based on JavaBeans component architecture to perform
appropriate operations.
1.3.8 Java Naming and Directory Interface
he Java Naming and Directory Interface (JNDI) provides naming and directory functionality
that enables Web applications to access multiple naming and directory services. JNDI technol-
ogy essentially provides applications with methods for performing standard directory operations.
Associating attributes with objects and searching for objects using their attributes are a few of
these operations. Using JNDI, a Web application can store and retrieve any type of named Java
technology object, allowing applications to coexist with many legacy applications and systems.
Naming services provide Java Web application components such as application clients, enter-
prise beans, and Web components with access to a JNDI naming environment. his environment
allows the Java Web developer to customize a component without having to access or change the
component's source code. he container provider implements the component's environment and
provides it to the component as a JNDI naming context.
1.3.9 Miscellaneous
here are a host of other Java technologies in a Web application, depending on the enterprise's
requirement and application complexity. hey include the following:
Search WWH ::




Custom Search