Programming with VisualAge for Java 2

Programming with VisualAge for Java 2

by John Akerley, Nina Li, Antonello Parlavecchia
     
 

Here's all the information and software you need to achieve powerful results with VisualAge for Java, Version 2.0, IBM's premier Java enterprise development environment! IBM experts help you master every element of the VisualAge environmentoworkspace, windows, repository, inspector, debugger, and much more.

  • Make the most of the industry's hottest Java

Overview

Here's all the information and software you need to achieve powerful results with VisualAge for Java, Version 2.0, IBM's premier Java enterprise development environment! IBM experts help you master every element of the VisualAge environmentoworkspace, windows, repository, inspector, debugger, and much more.

  • Make the most of the industry's hottest Java development environment!
  • Master enterprise-class Java development techniques
  • Database integration, servlets, JFC/Swing, and much more
  • Includes VisualAge for Java, Entry Edition, Version 2.0

Discover VisualAge's exclusive features for rapid development, and learn how to customize VisualAge to your specific needs. Build your expertise by developing a complete industrial-strength application, from business logic through deployment. Hands-on coverage includes:

  • Constructing user interfaces using JFC/Swing classes and Visual Composition Editor
  • Creating Data Access Beans that access relational databases via JDBCo
  • Managing and debugging your code
  • Implementing complex applications: card layouts, multiple panels, inner classes, and more
  • Integrating with the Lotus Domino Go Webserver

Master advanced techniques for Internet-oriented development: data persistence, servlets, and much more. Learn how to internationalize your applications for global markets; and deploy your Java code more effectively. The book concludes with powerful techniques for integrating Java software into your broader environment, utilizing external software configuration management tools, RMI, AgentRunner, and the Tool Integration Framework.

The CD-ROMs include VisualAge for Java Version 2.0 Entry Edition VisualAge rapid development environment for building Java applications, applets, and JavaBeans! Plus, you get a 60-day trial version of IBM's DB2 Universal Database Personal Edition Version 5.2oall you need to master Java database integration!

International Technical Support Organization

Editorial Reviews

Booknews
A book/CD-ROM package, with two CD-ROMs. Shows how to use VisualAge for Java to develop Java applets, applications, and servlets. Material is organized as a tutorial where many chapters build on examples in previous chapters. The CD-ROMs contain code for all examples in the book, products needed to work through the examples, and VisualAge for Java, Professional Edition Version 2.0. Assumes some knowledge of object-oriented programming and the Java language, as well as the Internet and TCP/IP. Annotation c. by Book News, Inc., Portland, Or.

Product Details

ISBN-13:
9780130212986
Publisher:
Prentice Hall, Inc.
Publication date:
02/25/1999
Series:
VisualAge Series
Pages:
383
Product dimensions:
7.03(w) x 9.21(h) x 1.42(d)

Read an Excerpt

PREFACE:

Preface

Java is definitely here to stay. The number of developers working with Java continues to increase dramatically, while Sun and other Java development organizations continue to release new developments, such as the Java Foundation Classes and Enterprise JavaBeans.

In 1998, the focus of Java development changed somewhat - from applets to encompass servlets and enterprise computing. As a typical Java developer, you no longer whip up a simple applet in an afternoon. Today you need a serious development environment to create large and complex applications. You need an environment with code management, powerful searching and browsing, GUI building, and JavaBean creation and manipulation capabilities. You need an environment that helps you think in terms of objects. With the new and improved features of Version 2, VisualAge for Java is the development tool for serious Java development.

Programming with VisualAge for Java Version 2 shows you how to use VisualAge for Java to develop Java applets, applications, and servlets. You will learn the right way of coding with VisualAge for Java and how to use the tool productively.

Who Should Read This Book?

This book teaches you how to program in the VisualAge for Java environment. You should already have some knowledge of object-oriented programming and the Java language. You should also know a little about the Internet and TCP/IP to understand the concepts introduced.

For Chapter 7, "Making Your Data Persistent", you should have some knowledge of relational databases and SQL.

How to Use This Book

The book is organized as a tutorial where many chapters build on the examplesin the previous chapters. Specifically:
  • \Chapter 6, "Finishing the ATM Application", depends on the ATM model you build in Chapter 3, Beginning the ATM Project.
  • Chapter 7, "Making Your Data Persistent", Chapter 8, "Creating Servlets", Chapter 9, "Internationalization" and Chapter 11, "Advanced Topics" depend somewhat on the code you develop for the Bookmark List in Chapter 4, "Building User Interfaces".

The book is not a complete set of documentation for VisualAge for Java. Use the online documentation included with the product for specific reference material or to see another way of approaching some of the topics.

CD-ROM

The CD-ROM that accompanies this book contains the IBM VisualAge for Java Entry Edition as well as other required software. Refer to the README.TXT file in the root directory of the CD-ROM for the latest information about installing VisualAge for Java and the sample code on your machine.

For updates to the sample code or the book, see ftp.almaden.ibm.com/redbooks/SG245264.

The Java and Internet world is forever changing. The software on the CD-ROM may be several months old by the time you buy this book. You are encouraged to download the current evaluation copies of the software or, even better, to buy the software at the latest level.

How This Document Is Organized

Chapter 1, Introduction to the Environment

In this chapter you are introduced to the VisualAge family and to the new features of VisualAge for Java. You build your first applets and applications, learn to use the Scrapbook, and customize the VisualAge for Java environment.

Chapter 2, Organizing Your Code

This chapter explains how you work with code in VisualAge for Java and introduces you to the windows and views of the development environment and the code import and export features of VisualAge for Java.

Chapter 3, Beginning the ATM Project

In this chapter you implement the business logic for the Automated Teller Machine (ATM) application, one of the examples you will use throughout the book. You step through the design and implementation of the ATM application. Along the way you learn how to use VisualAge for Java to build JavaBeans from the BeanInfo page of the Class Browser.

Chapter 4, Building User Interfaces

In this chapter you use the Java Foundation Classes (JFC) to build a Bookmark List to save your favorite URLs. The VisualAge for Java Visual Composition Editor features for building user interfaces with the JFC are explained.

Chapter 5, Managing and Fixing Your Code

This chapter explains the code management features of VisualAge for Java, including the workspace and repository concepts. You also learn how to use the Inspectors and debugger to trace and fix your code.

Chapter 6, Finishing the ATM Application

This chapter guides you through the process of implementing a complex application by using card layouts, multiple panels, inner classes, and variables.

Chapter 7, Making Your Data Persistent

This chapter shows you how to add persistence to your Bookmark List applet through serialization or a relational database.

Chapter 8, Creating Servlets

In this chapter you learn how to use VisualAge for Java to create and debug servlets. You implement the Bookmark List as a servlet.

Chapter 9, Internationalization

This chapter explains VisualAge for Java support for creating applets and applications that can run in a variety of locales.

Chapter 10, Deploying Your Java Programs

In this chapter you walk through the steps required to deploy applets, servlets, and applications.

Chapter 11, Advanced Topics

In this chapter you learn about several advanced VisualAge for Java features, including the interface to external SCM tools, Remote Method Invocation, AgentRunner: Lotus Domino Connection, and the Tool Integration Framework.

Examples in This Book

The examples in this book were created with VisualAge for Java Professional Version 2 on Windows NT. If you are using VisualAge for Java Enterprise, or VisualAge for Java Professional on another platform, you may experience differences in creating the examples. If so, please let the authors know at redbook@us.ibm.com and the differences will be posted to the ftp site: ftp.almaden.ibm.com/SG245264. The examples were created using the original released version of the product. You should download the available fixpacks for the product from www.software.ibm.com/vadd. If you install fixpacks, some of the behavior outlined in the examples may change.

You can find the examples at ftp.almaden.ibm.com/SG245264.

World Wide Web Addresses in This Book

The URLs given in this book were correct at the time the book was created. Given the dynamic nature of the Web, these addresses may no longer exist when you read this book. Use the search services of the IBM web site or other search services to locate the correct sites if they still exist.

ITSO on the Internet

Internet users can find information about redbooks on the ITSO World Wide Web home page. Point your Web browser to:

...

Meet the Author


Jim Akerly is a consultant at the IBM International Technical Support Organization in San Jose, CA, and served on the VisualAge for Java certification team.

Nina Li is part of IBM's Global Services national support team for VisualAge products.

Antonello Parlavecchia, a Consultant/IT Specialist at Telecom Italia Mobile, was formerly IT Specialist for the IBM Java Technology Center in Bari, Italy.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >