The Open Service Gateway initiative (OSGi) Alliance framework is becoming increasingly popular. It provides great mechanisms for developing modular and dynamic applications. The recent OSGi Service Platform Release 4 V4.2 specifications introduced the Blueprint Container specification. In this article, learn how the Blueprint Container provides a simple programming model for creating dynamic applications in the OSGi environment without adding complexity to the Java™ code. Numerous examples help get you started with the Blueprint XML file and the component XML definitions.
IBM® WebSphere® Emerging Technologies Evangelist Dustin Amrhein uses the WebSphere CloudBurst Appliance to illuminate the effort that goes into constructing a showcase enterprise application environment that can host various client sessions and can be reconfigured on demand to support many different instances of those client sessions.
Using the manageprofiles command for creating and managing profiles for IBM® WebSphere® Application Server can be confusing and error prone. A new interactive utility lets you select specific options and settings from a list, then calls the manageprofiles command and passes it all your selected parameters. This greatly reduces the time it takes to create a new profile for WebSphere Application Server and reduces the opportunity for user errors.
WebSphere® Commerce is the premiere market-leading e-commerce solution from IBM®. WebSphere eXtreme Scale is a powerful elastic DataGrid technology that you can use as an advanced cache from IBM. eXtreme Scale allows you to deploy a highly scalable, distributed shared cache that can provide a significant performance benefits for some WebSphere Commerce customers. This article discusses how you can leverage eXtreme Scale to reduce restart time for your e-commerce site, improve response time, and improve throughput during frequent cache invalidation.
The OSGi framework is a dynamic component model that is growing in popularity within enterprise architectures. The IBM® WebSphere® Application Server V7 Feature Pack for OSGi Applications and Java™ Persistence API (JPA) 2.0 was delivered for use with WebSphere Application Server V7.0 with Fix Pack 9 and above. This article describes the steps involved in converting a Java EE Web application that uses JPA 1.0 to an OSGi application that uses features in JPA 2.0 plus Blueprint injection of objects. Sample code for a simple WebSphere Application Server application is included for illustrative purposes.
By Kevin Sutter, IBM® WebSphere® Application Server provides a complete JPA solution based on the Apache OpenJPA project. Although the use of alternate JPA providers, such as Hibernate JPA, is doable, the question remains: "why?" This article explains why the continued use of the WebSphere JPA solution always makes the most sense.
How the Criteria API builds dynamic queries and reduces run-time failures
Pinaki Poddar (firstname.lastname@example.org), Senior Software Engineer, IBM
Summary: A query for persistent Java™ objects is typesafe if a compiler can verify it for syntactic correctness. Version 2.0 of the Java Persistence API (JPA) introduces the Criteria API, which brings the power of typesafe queries to Java applications for the first time and provides a mechanism for constructing queries dynamically at run time. This article describes how to write dynamic, typesafe queries using the Criteria API and the closely associated Metamodel API.
As the JPA Expert Group (JSR-317) nears completion of the JPA 2.0 specification, this article introduces you to some of the new concepts and features in this updated specification. It also explains how you can experience this new functionality with the Apache OpenJPA project, an open-source, robust, high performance, scalable implementation of the JPA specification.