Developing a Business Logic Tier with EJBs

  Next topic
Next

This tutorial steps you through the development of a business logic tier for a Human Resources application.

Objectives

By the end of this tutorial, you will have learned how to develop a business logic tier using Enterprise JavaBeans. This includes:

Requirements

The tutorial will take approximately 90 minutes to complete. You will need the following:

Tutorial Scenario

You have been given the task of creating a Human Resources application that can be deployed to multiple platforms, and can use any type of client. To accomplish this task you'll create a business logic tier using Enterprise JavaBeans. The business logic tier will consist of solely Departments, for simplicity. Instead of accessing the entity bean directly from the client, you'll implement the Session Facade design pattern; a session bean will be used to access the entity beans through a local interface.

Application Development

In this tutorial, the development process follows these high-level steps:

  1. Create a stateless session bean
  2. Create a CMP entity bean from the HR schema tables
  3. Create a session bean facade
  4. Add a finder method
  5. Add a create method

Before you start the tutorial, you'll want to get a brief preview of the tools you'll be using to develop your application in Using the JDeveloper EJB Tools.