Aug. From the Pages Features
Dynamic Proxy Classes: Toward Metalevel Programming in Java
Mathias Richter and Takashi Suezawa
Dynamic proxy classes allow applications to create new classes at runtime, which implement a set of interfaces. Mathias and Takashi explain how dynamic proxies work and introduce a framework facilitating the use of dynamic proxies. They also show how to achieve a minimal degree of metalevel programming in Java.
JLOG: A Java Logging Framework
Todd describes a framework for logging text information in your application. He explains the importance of developing a comprehensive error handling and logging strategy that, in combination with a logging framework, can help detect and correct defects more quickly.
Using EJB in Real-World Applications
Arny Epstein and John Archer
EJB is great for creating a framework that will be reused in many separate instances. Deciding to use any component model to design an application can be a difficult decision for project managers or technical leads. There are different requirements to consider before making this leap. Arny and John explain how EJB is best used for projects that are complex, require a high level of scalability, and contain reusable code.
Guarantee Inter-Enterprise Message Delivery Using JMS
Gopalan Suresh Raj
Message-Oriented Middleware (MOM) provides a common reliable way for programs to create, send, receive, and read messages in any distributed Enterprise System. The Java Message Service (JMS) provides a standard Java-based interface to the message services of a MOM of some other provider. Gopalan discusses the architecture of JMS and examines source code that uses JMS to send and receive messages by implementing a Stock Trader application.