jGuru: Exercises: Enterprise JavaBeans Technology Fundamentals


Downloaded from http://java.sun.com/developer/onlineTraining/EJBIntro/exercises.html
 

Welcome to the jGuru exercises for the Enterprise JavaBeans Technology Fundamentals short course.

These exercises demonstrate how to use Enterprise JavaBeans (EJB) application servers, as well as how to design, implement, and deploy Enterprise JavaBeans technology-based solutions. The exercises include stand-alone clients that create, remove, and use existing server-resident beans.

When you finish these exercises, you will know the basic steps for designing, compiling, and deploying Enterprise JavaBeans technology-based servers and clients.

About Exercises

A jGuru exercise is a flexible exercise that provides varying levels of help according to the student's needs. Some students may complete the exercise using only the information and the task list in the exercise body; some may want a few hints (Help); while others may want a step-by-step guide to successful completion (Solution). Since complete solutions are provided in addition to help, students can skip an exercise and still be able to complete later exercises that required the skipped one(s).

The Anatomy of an Exercise

Each exercise includes a list of any prerequisite exercises, a list of skeleton code for you to start with, links to necessary API pages, and a text description of the exercise's educational goal. In addition, buttons link you to the following information:

  • Help: Gives you help or hints on the current exercise, an annotated solution. For ease of use, the task information is duplicated on the help page with the actual help information indented beneath it.
  • Solution: The <applet> tag and Java source resulting in the expected behavior.
  • API Documentation: A link directly to any necessary online API documentation.

Exercise Design Goals

There are three fundamental exercise types that you may encounter:

"Blank screen"
You are confronted with a "blank screen" and you create the entire desired functionality yourself.
Extension
You extend the functionality of an existing, correctly-working program.
Repair
You repair undesirable behavior in an existing program.

To make learning easier, exercises, where possible, address only the specific technique being taught in that exercise. Irrelevant, unrelated, and overly complex materials are avoided.

Where possible, exercises execute using on the web. However, exercises that must access Java features or library elements that could cause security violations are not executed on the web.

Enterprise JavaBeans Technology Fundamentals Exercises

  1. Installing and Configuring Sun's J2EE Reference Implementation

    This exercise steps you through the process of downloading and installing the J2EE Reference Implemetation application server on your machine. This application server will be used in the subsequent exercises.

    Educational goal(s):

    • Install Sun's J2EE RI application server
    • Configure your machine properly for compiling and deploying EJBs
  2. Creating an Entity Bean

    In this exercise you will implement the MusicCD entity bean.

    Educational goal(s):

    • Learn how to write an entity bean with container-managed persistence
    • To become familiar with Enterprise JavaBean component development and with deployment environments
  3. Creating a Stateless Session Bean

    In this exercise you will implement the Inventory session bean.

    Educational goal(s):

    • Learn how to define and implement a stateless session bean
    • To become familiar with Enterprise JavaBean component development and with deployment environments
    • To become familiar with enterprise beans that employ other enterprise beans in the same middle-tier EJB server environment
  4. Deploying Enterprise Beans in Sun's J2EE Reference Implementation

    This exercise takes you through the process of deploying the MusicCD entity bean and Inventory session bean into the Reference Implementation container.

    Educational goal(s):

    • Learn how to deploy enterprise beans in the J2EE Reference Implementation
  5. Setting up the Database

    This exercise creates and fills a database table for use in the following exercise. It includes a pre-built Cloudscape database, as well as programs for building and filling the needed table using any vendor's database.

    Educational goal(s):

    • To set up the data necessary for the laboratory sessions
  6. Creating EJB Clients

    In this exercise, you will write client applications which test the deployment and functionality of the entity and session beans you wrote in previous exercises.

    Educational goal(s):

    • Write an application that uses a session bean
    • Write an application that uses an entity bean

Copyright 1996-2000 jGuru.com. All Rights Reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值