The Java Naming and Directory Interface (JNDI) is an Application Programming
Interface (API) used to locate resources registered in the naming service of
a Java 2 Platform Enterprise Edition (J2EE) server such as IBM WebSphere
Application Server version 5. The JNDI lookup process is an expensive
operation and should be performed judiciously.
Caching of EJB home objects is a recommended approach to minimizing
performance costs. This article will show the performance benefits of
implementing this practice in a J2EE-centric application.
The application will consist of a servlet interacting with an EJB object. For
learning purposes, our exercise uses IBM WebSphere Studio Application
Developer version 5.
The EJB of Interest
A simple stateless session EJB (2.0) will provide the necessary features to
perform this exercise. The following implementation is intentionally simpl... (more)
In today's society, it's second nature to contact family, friends, and
colleagues via e-mail. E-mail has become so integral to our daily ritual that
we cannot stay away from it as we make use of personal digital assistants
(PDAs) and other pervasive devices to have it readily available. How do these
billions of digital messages get to users across the globe?
A client/server setup is required to participate in the exchange of e-mails.
It was just a few years ago that expensive server software packages were used
for the typical e-mail solution. Cheaper solutions have been plagued by... (more)
JRas is a logging and tracing facility built into IBM WebSphere Application
Server (WAS) that relies on JRas as its internal logging framework.
Programmers can also leverage this powerful logging system infrastructure to
keep an eye on their enterprise applications powered by WAS.
Developers can use the JRas Java APIs to generate both log and trace
messages. Used properly, these two mechanisms can provide priceless
information regarding the application's process of execution.
In this article, the reader will learn to use JRas through the context of a
sample application. The provi... (more)
JRas is a logging and tracing facility built into IBM WebSphere Application
Server (WAS), which relies on JRas as its internal logging framework.
Programmers can also leverage this powerful logging system infrastructure to
keep an eye on their enterprise applications powered by WAS.
Developers can use the JRas Java APIs to generate both log and trace
messages. Used properly, these two mechanisms can provide priceless
information regarding the application's process of execution.
In this article, the reader will learn to use JRas through the context of a
sample application. The pro... (more)