Integrated DB2 with Apache Geronimo

Source: Internet
Author: User
Tags db2 ibm db2

Introduction: Apache Geronimo is a new and popular alternative to deploying Java™2 Platform, Enterprise Edition (Java ee) applications. IBM db2® is a mature relational database product, very suitable for the Java environment. IBM Software engineer Emilio Zegarra will detail how to integrate the two products into the Java EE application.

Overview: Apache Geronimo

The Apache Geronimo project successfully built an Open-source, Java-compliant application server. The application server is very powerful and reliable, thanks to its reuse of some of the existing open source projects as part of its implementation. In a sense, the Apache Geronimo application Server is a collection of several open source projects. For example, table 1 provides a list of some open source projects that make up Apache Geronimo.

Technology Open Source Projects
Enterprise JavaBeans (EJB) container Open EJB
Web container Jetty, Tomcat
Java Messaging Service (JMS) Message delivery Active MQ
Lightweight Directory Access Protocol (LDAP) Apache Directory

The following products are used for the development or deployment of sample applications:

Apache Geronimo Application Server, Version 1.0

IBM DB2 Universal database™, Version 8.2

Eclipse, Version 3.1 (optional)

0.7.1 version of the Eclipse Web Tools Platform plug-in project (optional)

About the sample application

The sample application used in this article is a WEB module application with a defined JavaServer Pages (JSP) that demonstrates the integration of DB2 with Apache Geronimo. The JSP (named references.jsp) queries the table that is referenced by Apache Geronimo that is available in the database, as shown in Figure 1.

Figure 1. Application Overview

When the JSP obtains data from the database, it will display this data to the requesting client in a tabular format. Before you deploy the application to the server, you must complete the database configuration. To achieve this, a database deployment plan needs to be developed. This deployment plan is then used to deploy the DB2 data source definition on the Apache Geronimo server for the application that will be used.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.