DevX HomePage

Develop Spring Applications for WebSphere Application Server Community Edition, Part 1: Spring MVC

Learn to develop Spring applications that you can use with IBM WebSphere Application Server Community Edition, a free, lightweight Java 2 Platform, Enterprise Edition (J2EE) application server. With this tutorial, you'll familiarize yourself with the database connection management options available to you while developing Spring applications, and learn how to use an open source connection pool implementation.

Develop and deploy a sample application using the Spring MVC framework

Level: Intermediate

Sunil Patil (spatil@atech.com), Software Engineer, Ascendant Technology LLC

28 Feb 2007

Register now or sign in using your IBM ID and password.

If you're at all active in the Java™ community, or even if you just read Java-related online magazines or blog sites, you've probably heard of the Spring Framework, which has gained a lot of attention in the past few years. Now's your chance to try it out! This multipart tutorial series shows you how to develop Spring applications that you can use with IBM® WebSphere® Application Server Community Edition, a free, lightweight Java 2 Platform, Enterprise Edition (J2EE) application server. This installment introduces you to various database connection management options available to you while developing Spring applications. Learn about Spring's own implementation of DataSource, how to use an open source connection pool implementation, and how to use connection pools maintained by WebSphere Application Server Community Edition from your Spring application. Also, find out how Spring makes it easy for you to switch from one connection pool implementation to another without making any changes in your Java code.

Objectives


Prerequisites

To follow along with this tutorial you should have a basic understanding of the following:

This tutorial assumes that you're an experienced Java EE developer, familiar with the basics of the Spring Framework. An understanding of Model-View-Controller (MVC) is a plus, but isn't required. Although no advanced knowledge is required, you should be familiar with how to use the Spring BeanFactory and the Spring AOP. (If you're new to the Spring Framework, Arun Chhatpar's "Apache Geronimo and the Spring Framework" series here on developerWorks is an excellent place to get started.)


System requirements

You need to download several required applications to follow along with this tutorial and work with the sample code included:

I suggest that you use the Eclipse Web Tools Platform combined with the Eclipse plug-in for WebSphere Application Server Community Edition as your development environment, though it's not required. You can use another editor of your choice. If you do, you can use the Ant build script provided with this sample to build your source code.



Duration

Under 2 hours


Formats

html, pdf