O'Reilly logo

Getting Started with IBM WebSphere sMash by Brett King, Karl Bishop, Ron Lynn

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

Chapter 3. Your First Handler and Beyond

Introduction

In the previous chapter, you learned how to create a simple WebSphere sMash application using one of the Tools options. That application demonstrated simple file serving in a WebSphere sMash environment. To create a more complex application, we need to understand the structure of a typical WebSphere sMash application. In this chapter, we look at how to use conventions in the layout of your application to obtain default behaviors that can save you time and code. Web applications are built on request/response models, and we show you how to easily create handlers that process these requests. We create a slightly more complex application to illustrate some of these principles. In this chapter, ...

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