O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

23. Accessing JDBC databases using Data Source in standard portlets

In this chapter, we introduce the process of gaining access to back-end JDBC databases using a Data Source for the database connection. The sample scenario is implemented using the JSR 168 portlet specification for classes and JSPs. A simple portlet project is included to show how portlets access relational databases using the JDBC interface.

This chapter discusses the following topics:

  • How to create a portlet project on Rational Application Developer.

  • How to create a Data Source connection to a database using Rational Application Developer.

  • How to create Java classes that will provide a database connection through a datasource.

  • A portlet example to access a database.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required