rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780130664945

Programming With Visualage for Java Version 3.5

by
  • ISBN13:

    9780130664945

  • ISBN10:

    0130664944

  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2001-07-01
  • Publisher: Prentice Hall Ptr
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $66.65

Summary

This IBM Redbook brings together all the information and resources developers need to create, manage, and deploy Web-based applications using IBM's powerful VisualAge for Java Professional Edition Version 3.5. Its exceptionally broad coverage encompasses servlets, JavaServer Pages, JavaBean architectures, debugging, publishing, and much more. The authors first introduce the VisualAge for Java environment, offering practical techniques for organizing complex projects. They show how to use VisualAge for Java to create servlets and JavaServer Pages; build GUI applications; integrate databases; and handle versioning and internationalization. They introduce the WebSphere Test Environment, which permits rapid development and deployment of IBM WebSphere applications; as well as Enterprise Access Builders, which permit rapid Web-enablement of legacy IBM-based systems and SAP R/3 applications.

Table of Contents

Figures
xi
Tables
xvii
Preface xix
The team that wrote this redbook xix
Comments welcome xx
Introduction to the environment
1(40)
VisualAge for Java product family
1(4)
VisualAge for Java Professional Edition
2(2)
VisualAge for Java Entry Professional Edition
4(1)
VisualAge for Java Enterprise Edition
4(1)
VisualAge for Java Entry Enterprise Edition
5(1)
Updates to VisualAge Java
5(1)
Building your first applet
5(12)
Let's get started!
7(1)
SmartGuide
8(4)
The Workbench
12(2)
Modifying your applet
14(1)
Creating an animated applet
15(1)
Changing the properties of the applet
16(1)
Building your first application
17(5)
Running a program as an applet and application
20(1)
The VisualAge for Java Source View window
21(1)
The VisualAge for Java Scrapbook
22(6)
Using the Scrapbook
22(3)
Scrapbook context
25(1)
Correcting errors in the Scrapbook
25(2)
If your Scrapbook page remains busy
27(1)
Customizing VisualAge for Java
28(3)
Workbench Options
28(3)
Building your first servlet
31(10)
Organizing your code
41(24)
Projects in VisualAge for Java
41(1)
Adding features
42(1)
Packages in VisualAge for Java
42(1)
The Workbench
43(5)
The Workbench Projects page
44(2)
The Workbench Packages view
46(2)
Using types from other packages
48(7)
The Workbench Resources page
50(1)
The Workbench Classes page
50(2)
The Workbench Interfaces page
52(1)
The Workbench All Problems page
52(3)
Full source code edit
55(1)
Code Assists
56(1)
Importing and exporting with VisualAge for Java
57(8)
Importing in to VisualAge for Java
58(2)
Exporting from VisualAge for Java
60(5)
Migrating to Java2
65(8)
The Fix/Migrate SmartGuide
65(3)
The repair process
68(2)
Migrating your servlet and JSPs
70(3)
Beginning the ATM project
73(36)
Problem domain
73(2)
Building the ATM model
75(16)
Use cases
76(2)
ATM state diagrams
78(4)
Analysis class diagram
82(2)
Design class diagrams
84(5)
Interaction diagram
89(2)
Overall architecture
91(4)
The big picture
91(1)
GUI client
92(1)
Browser client
93(1)
Database access
94(1)
Example implementation
95(14)
Detailed steps implementing the first class
96(5)
Reusing existing method to create a new method
101(1)
PrimaryKey class hierarchy
102(1)
Creating an inner class
103(2)
Persistency based on HashMaps
105(1)
Finder methods
105(1)
Implementations of the state diagram
106(1)
Test application
107(2)
Creating servlets
109(20)
Overview of Java servlets
109(4)
The Java Servlet API
113(3)
Building the ATM application servlets
116(13)
Creating JSPs
129(14)
Java Server Pages
129(1)
How Java Server Pages work
130(1)
JSP interactions
131(1)
Invoking a JSP by URL
132(1)
Calling a servlet from a JSP
132(1)
JSP 0.91 and 1.0
133(1)
Designing the JSP model
134(4)
Model-View-Controller (MVC)
134(1)
Servlet based modeling
135(3)
Building the ATM application
138(5)
JSP tags
140(3)
Creating GUI applications
143(40)
Abstract Windowing Toolkit and Java Foundation Classes refresher
143(1)
Visual Composition Editor
144(6)
The Beans Palette
146(1)
Modification of the Beans Palette
147(2)
Visual Composition Editor toolbar
149(1)
The free-form surface
149(1)
Working with beans in the Visual Composition Editor
150(6)
Adding beans
150(1)
Customizing Beans
151(3)
Naming beans
154(1)
Beans List
155(1)
Factory and variable
155(1)
Visual Programming in action
156(27)
The ATM classes created
157(2)
Building the CardBean class
159(5)
Building the CardBeanHome class
164(3)
Building the BankAccountBean class
167(2)
Building the ATM application
169(6)
Connections
175(2)
Connection properties
177(1)
Creating connections
178(5)
Versioning your code
183(48)
introduction to versioning
183(2)
Program elements
184(1)
Workspace versus repository
185(6)
The workspace is only a cache
186(1)
Backup or restore the workspace
187(1)
Clean workspace copy
188(1)
Multiple workspaces on one repository
189(1)
Backup or restore the repository
189(1)
Workspace versus repository continued
190(1)
Version control
191(10)
Editions and versions
191(2)
Consequences of versioning
193(1)
How to version elements with VisualAge for Java
194(3)
Apply this to the ATM application
197(1)
Methods, a special case
197(1)
Importance of versioning your code regularly
198(1)
Fields and inner classes
199(1)
Versioning resource files
199(2)
Using editions
201(16)
Method edition tab
201(2)
Comparison result window
203(2)
Merging compared elements
205(4)
Types edition tab
209(1)
Packages edition tab
210(1)
Projects edition tab
211(2)
Replacing current edition
213(3)
External versioning systems
216(1)
Import and export effects
217(5)
Import and export with Java files
218(1)
Import and export with repository files
218(4)
Repository Explorer
222(9)
Purging and restoring elements
225(1)
Compacting a repository
226(2)
Go To tools
228(1)
Solutions
228(3)
Testing and debugging the Web application
231(44)
VAJ Debugger
231(18)
The debugger
231(1)
The Debug Page
231(5)
The Breakpoints Page
236(5)
The Exceptions Page
241(2)
External Debug
243(2)
Generating a Class Trace
245(1)
Performance and the Class Trace option
245(1)
Inspectors
245(1)
The Inspector window
246(3)
WebSphere Test Environment (WTE)
249(5)
Start the WebSphere Test Environment
250(4)
Testing JSPs under WebSphere Test Environment
254(3)
VisualAge for Java configuration for JSPs
254(1)
Running a simple JSP
255(2)
Debugging servlets and JSPs
257(5)
Debugging a servlet
257(2)
JSP Execution Monitor
259(2)
Debugging JSP generated source code
261(1)
Debugging JSP without importing
262(1)
Persistent Name Server
262(3)
WebSphere Test Environment --- advanced configuration
265(5)
Types of resources
265(1)
Resource locations
265(1)
The key configuration files
266(4)
WebSphere Test Environment --- multiple Web applications
270(5)
Configuring multiple Web applications
271(2)
Using the ServletEngineConfigDumper Servlet
273(2)
Using relational databases
275(36)
JDBC 2.0
275(3)
DataSource versus DriverManager
278(1)
Queries and result sets
278(1)
Stored procedures
279(1)
Updating the database
279(1)
Using SQLJ inside Visual Age for Java
280(1)
Data access beans
281(4)
Making the ATM persistent
285(2)
Prerequisites
285(1)
Creating tables
286(1)
Making the card class persistent
287(1)
Creating the Select beans
288(12)
Card Select bean
288(11)
Card Select All bean
299(1)
CardAcctSelect
299(1)
Modify beans
300(9)
Card Insert
301(2)
Card Delete
303(1)
Card Update
304(2)
Card Visual Composition Editor View
306(1)
Modifying related methods
306(3)
Data Access Beans with an application
309(2)
Internationalization
311(30)
Java Internationalization Framework
311(5)
Locales
311(3)
Resource bundle
314(2)
Internationalization in VisualAge for Java
316(4)
Building a language panel
320(3)
LanguagePanel view
320(1)
Creating the resource bundles
321(2)
Dynamically changing the locale
323(8)
Loading resource bundles
323(1)
Retrieving resources from resource bundles
324(1)
Finishing the LanguagePanel
324(4)
Formatting dates and times
328(3)
Other internationalization considerations
331(5)
Using predefined formats
331(5)
Internationalization in the Web environment
336(1)
Character codes on the Web
337(4)
Deploying the Web application
341(16)
Before you start
341(1)
Using WebSphere Application Server
342(7)
Deploying a Web applications
343(5)
Planning for multiple Web applications
348(1)
Deploying a JSP
349(1)
Deploying an application
349(3)
Include Referenced Types
350(2)
Deploying an applet
352(5)
Web browsers
352(1)
Classpath or Codebase
352(1)
Applet Tags
353(2)
Deploying the ATMApplication applet
355(1)
Deploying supporting code
355(2)
Appendix A. JSP tag syntax 357(6)
JSP tag syntax summary
357(6)
WebSphere specific tags
359(4)
Appendix B. Using the additional material 363(4)
Locating the additional material on the Internet
363(1)
Using the Web material
363(1)
System requirements for downloading the Web material
363(1)
How to use the Web material
364(3)
Appendix C. Special notices 367(4)
Appendix D. Related publications 371(2)
IBM Redbooks
371(1)
IBM Redbooks collections
371(1)
Other resources
372(1)
Referenced Web sites
372(1)
How to get IBM Redbooks 373(2)
IBM Redbooks fax order form
374(1)
Glossary 375(8)
Abbreviations and acronyms 383(2)
Index 385(6)
IBM Rebooks review 391

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program