August 2010
Java development 2.0: Sharding with Hibernate Shards
Among various sharding implementations, Hibernate Shards is possibly the most popular in the world of Java technology. For some shops, sharding means being able to keep a trusted RDBMS in place without sacrificing data scalability or system performance. In this installment of the Java development 2.0 series, find out when sharding works, and when it doesn't, and then get your hands busy sharding a simple application capable of handling terabytes of data.
October 2009
Java development 2.0: Easy EC2
Provisioning an EC2 instance for hosting a Java Web application is a snap. In this Java development 2.0 column, you'll quickly build a Web application that leverages Groovy, Spring, and Hibernate (via the Grails framework) and deploy it on an EC2 instance.
Meet the Object/XML mapping support in Spring
Within the Java Platform, Enterprise Edition (Java EE) community, Spring is becoming a widely accepted framework. One new feature in the latest release of Spring is its Object/XML (O/X) mapping support. The API enables developers to convert Java objects into XML and vice versa. In this article, learn to use the Object/XML mapping in Spring and explore its advantages.
June 2009
Identify Real-time Java memory integrity
The new IBM Real Time Application Execution Optimizer for Java can identify memory requirements for the heap, for scopes, and for other memory areas in use and determine the persistent memory characteristics of allocated objects. It also verifies the integrity of real-time Java memory usage in your applications.
May 2009
Now HeapAnalyzer automatically detects invalid heap dumps
HeapAnalyzer, a graphical tool for discovering Java heap leaks, has released Version 3.7 that automatically detects invalid heap dump formats and processing. See how HeapAnalyzer analyzes Java heap dumps by parsing the Java heap dump, creating directional graphs, transforming them into directional trees, and executing the heuristic search engine.
April 2009
The API Layer strategy
This article covers the API Layer transaction strategy, which is the most robust, simplest, and easiest-to-implement transaction strategy. With that simplicity comes limitations and considerations that this article describes. Learn how to use the EJB 3.0 specification in code examples; the concepts are the same for the Spring Framework and JOTM.
March 2009
Build and deploy OSGi as Spring bundles using Felix
The power of the Spring framework has made development of OSGi applications simpler and more effective. OSGi itself also has revolutionized the way Java applications are bundled. Learn how to build and package Java classes as OSGi bundles using the Spring DM framework in a Felix container.
Spring and EJB Transaction strategies
Implementation of successful transaction processing in Java applications is not a trivial exercise. Using examples from the Spring Framework and the Enterprise JavaBeans (EJB) 3.0 specification, this article explains how the transaction models work and how they can form the basis for developing transaction strategies.
February 2009
Avoid Java transactions pitfalls with Spring
Transaction processing should achieve a high degree of data integrity and consistency. This article, the first in a series on developing an effective transaction strategy for the Java platform, introduces common transaction pitfalls that can prevent you from reaching this goal. Using code examples from the Spring Framework and the Enterprise JavaBeans (EJB) 3.0 specification, series author Mark Richards explains these all-too-common mistakes.
January 2009
On the fly beans to Spring apps with Groovy
Probably the most interesting and powerful feature of Spring's dynamic-language support is the ability to monitor and detect changes to dynamic-language scripts while your application is running and automatically reload the changed beans in the Spring application context. This article shows you how to add bean refresh to your Spring applications and explores how it works. The complete source code is available.
1
(10 marks)