Develop and run a data access application for liberty profiles using the WebSphere application Server Developer Tools for Eclipse
Brief introduction
The Liberty profile is a dynamic, configurable configuration file in the IBM WebSphere application Server V8.5 that provides a simplified, lightweight run-time environment for WEB applications. The Liberty profile also provides the ability to quickly deploy an application by using an Insert directory, or by adding an application to a server configuration. The Liberty configuration file takes the form of a single package that enables easy, fast distribution and deployment of the Liberty profile server and its applications.
This article outlines the Liberty configuration files in WebSphere Application Server V8.5, especially the WebSphere application server Developer Tools for Eclipse, which is Use it throughout to demonstrate the dynamic functionality of the Liberty configuration file.
Overview of Liberty configuration Files
The Liberty configuration file has a dynamic application Server runtime environment that can be quickly installed by extracting compressed files. Liberty configuration files can also be installed using IBM installation Manager. The Liberty profile supports flexible sharing of resources among many server instances, such as the SDK, runtime binaries, server configuration, and application binaries. It also supports multiple versions of the Java Runtime Environment (JRE) of 6.0 or later. A packaged server can be created in a single compressed file (containing an application, a Liberty configuration file Server runtime, and its configuration), which can be deployed by decompression. Figure 1 shows the Liberty configuration file schema. The OSGi configuration is responsible for managing the service management system configuration, and an OSGi declarative service component is responsible for managing the lifecycle of the system services. The File Monitoring service detects application and configuration file changes, and the logging service writes messages and debug information to the local file system. Various features provide the programming model and services that your application requires.
Figure 1. Liberty Configuration File Schema overview
WebSphere application Server Developer Tools for Eclipse
IBM WebSphere application Server Developer Tools for Eclipse (hereinafter referred to as Developer tools) is a free plugin from Eclipse Marketplace that can be installed in an existing In the Eclipse environment, or in IBM Rational application Developer, to support the development of applications for Liberty profiles. These plug-ins contain Web 2.0, Java EE, and OSGi tools that, when used in conjunction with the Liberty configuration file (Figure 2), Developer Tools provides a fast, lightweight environment for rapid development and unit test Web, Web 2.0, mobile, and OSGi applications Program. The supported Eclipse versions are version 3.7 or later (Indigo) and 3.6.2 (Helios) with the latest updates.
As shown in Figure 2, the WebSphere application Server Developer tools for Eclipse is a Java EE, combined with the eclipse SDK and the Eclipse Web tools Platform and the development of WEB 2.0 applications provides a lightweight environment.
Figure 2. Compare various development tools
Developer Tools contains utilities to help you develop applications for a variety of programming models, including:
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/extra/