rent-now

Rent More, Save More! Use code: ECRENTAL

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

9780521546843

COBOL Programmers Swing with Java

by
  • ISBN13:

    9780521546843

  • ISBN10:

    0521546842

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2004-12-28
  • Publisher: Cambridge University Press

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

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: $74.99 Save up to $24.37
  • Rent Book $50.62
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    SPECIAL ORDER: 1-2 WEEKS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

How To: Textbook Rental

Looking to rent a book? Rent COBOL Programmers Swing with Java [ISBN: 9780521546843] for the semester, quarter, and short term or search our site for other textbooks by E. Reed Doke , Bill C. Hardgrave , Richard A. Johnson. Renting a textbook can save you up to 90% from the cost of buying.

Summary

In the fast moving world of information technology, Java is now the number 1 programming language. Programmers and developers everywhere need to know Java to keep pace with traditional and web-based application development. COBOL Programmers Swing with Java provides COBOL programmers a clear, easy transition to Java programming by drawing on the numerous similarities between COBOL and Java. The authors introduce the COBOL programmer to the history of Java and object-oriented programming and then dive into the details of the Java syntax, always contrasting them with their parallels in COBOL. A running case study gives the reader an overall view of application development with Java, with increased functionality as new material is presented. This new edition features the development of graphical user interfaces (GUI's) using the latest in Java Swing components. The clear writing style and excellent examples make the book suitable for anyone wanting to learn Java and OO programming, whether they have a background in COBOL or not.

Author Biography

Bill C. Hardgrove is Associate Professor of Information Systems and Executive Director of the Information Technology Research Center, and he holds the Edwin & Karlee Bradberry Chair at the University of Arkansas.

Table of Contents

Preface xiii
Introduction 1(2)
Chapter 1 Why You Should Learn Java 3(18)
Objectives
3(1)
History and Overview of Java
4(2)
The Popularity of Java
6(2)
What Makes Java Different?
8(4)
Java Is Simple
8(1)
Java Is Object-Oriented
9(1)
Java Is Portable
10(2)
Will Java Replace COBOL?
12(4)
How to Use This Book
16(2)
Summary of Key Points in Chapter 1
18(1)
Bibliography
19(2)
Chapter 2 An Introduction to Object-Oriented Programming 21(20)
Objectives
21(1)
The Community National Bank
22(1)
History of OO
22(2)
Objects
24(1)
Classes
25(1)
Diagramming Classes and Objects
26(2)
Class Relationships
28(1)
Inheritance
29(6)
Aggregation
32(2)
Association
34(1)
Object Communication
35(2)
Polymorphism
37(1)
Dynamic Binding
38(1)
Summary of Key Points in Chapter 2
39(1)
Bibliography
40(1)
Chapter 3 Java Structure 41(25)
Objectives
41(1)
A Class Program
42(5)
Listing 3.1: Customer.java
44(3)
Java Column Restrictions
47(1)
Writing Comments in Java
47(2)
Naming Rules and Conventions
49(1)
Creating Objects
50(4)
Listing 3.2: Customer.java
53(1)
Invoking Methods
54(4)
Listing 3.3: CustomerProcessor.Java
56(2)
Working with Subclasses
58(6)
Listing 3.4: Account.java
58(2)
Listing 3.5: CheckingAccount.java
60(2)
Listing 3.6: AccountProcessor.java
62(2)
Summary of Key Points in Chapter 3
64(2)
Chapter 4 Defining Data 66(16)
Objectives
66(1)
COBOL Picture Clause
67(1)
Defining Java Variables
68(2)
Writing Java Literals
70(1)
The Scope of Variables
71(1)
Defining Java Constants
72(1)
String Variables
72(4)
Listing 4.1: StringDemo.java
74(2)
Changing Variable Types
76(3)
Listing 4.2: CastDemo.java
77(2)
Variables for Community National Bank
79(1)
Summary of Key Points in Chapter 4
80(2)
Chapter 5 Computation 82(26)
Objectives
82(1)
Exceptions
83(4)
Listing 5.1: try-catch Structure
85(1)
Listing 5.2: ArithmeticExceptionDemo.java
86(1)
Custom Exception Classes
87(5)
Listing 5.3: CheckingAccount.java with NSFException
89(2)
Listing 5.4: AccountProcessor.java with try-catch
91(1)
A Review of Primitive Data Types
92(1)
Wrapper Classes
93(5)
Listing 5.5: WrapperDemo.java
96(2)
Arithmetic Operators
98(1)
The Math Class
99(5)
Listing 5.6: MathClassDemo.java
103(1)
The NumberFormat Class
104(3)
Listing 5.7: NumberFormatDemo.java
105(2)
Summary of Key Points in Chapter 5
107(1)
Chapter 6 Decision Making 108(21)
Objectives
108(1)
Service Charges at Community National Bank
109(1)
The if Statement
109(3)
Using the else Clause
112(2)
Nested if Statements
114(1)
Writing Compound Conditions
115(1)
Java's Conditional Operator
116(1)
Condition Names
117(1)
Computing the Service Charge with if Statements
118(3)
Listing 6.1: COBOL Service Charge Computation Using IF Statements
119(1)
Listing 6.2: ComputeServiceCharge method Using if Statements
120(1)
Case Structure: COBOL EVALUATE and Java switch
121(2)
Computing the Service Charge Using switch
123(3)
Listing 6.3: COBOL Service Charge Computation Using EVALUATE
123(2)
Listing 6.4: Java Service Charge Computation Using switch
125(1)
Summary of Key Points in Chapter 6
126(3)
Chapter 7 Loops 129(22)
Objectives
129(1)
Loop Structure
130(1)
The COBOL PERFORM Statement
130(2)
The Java while Statement
132(5)
Listing 7.1: WhileLoopDemo.java
135(2)
The Java do Statement
137(3)
Listing 7.2: DoLoopDemo.java
139(1)
The Java for Statement
140(3)
Listing 7.3: ForLoopDemo.java
142(1)
Nested Loops
143(2)
Java break and continue Statements
145(1)
Producing a Loan Amortization Schedule
146(3)
Listing 7.4: Amortizer.java
147(2)
Summary of Key Points in Chapter 7
149(2)
Chapter 8 Arrays 151(22)
Objectives
151(1)
Declaring One-Dimensional Arrays
152(3)
Populating One-Dimensional Arrays
155(2)
Creating String Arrays
157(3)
Listing 8.1: OneDimArrayDemo.java
158(2)
Declaring Two-Dimensional Arrays
160(2)
Populating Two-Dimensional Arrays
162(4)
Listing 8.2: TwoDimArrayDemo. ava
163(3)
Passing Arrays as Arguments
166(1)
Searching Arrays
167(4)
Listing 8.3: FindZipCode. ava
168(1)
Listing 8.4: ZipCodeProcessor.Java
169(2)
Summary of Key Points in Chapter 8
171(2)
Chapter 9 Data Access 173(24)
Objectives
173(1)
Java's I-O Class Library (java.io)
174(1)
Object Persistence
175(1)
Sequential File I-O
175(6)
Listing 9.1: SequentialFileDemo.java
179(2)
Database Access
181(8)
Listing 9.2: COBOL SQL Example
182(6)
Listing 9.3: DatabaseDemo.java
188(1)
Object Serialization
189(6)
Listing 9.4: ObjectSerializationDemo.java
193(2)
Network Access
195(1)
Summary of Key Points in Chapter 9
195(2)
Chapter 10 Graphical User Interfaces 197(32)
Objectives
197(1)
Java's Swing Components
198(1)
Event-Driven Programming
199(2)
JFrame: Displaying and Closing a Window
201(2)
Listing 10.1: CustomerGUIOne.java
201(2)
JLabel: Adding Labels to a Window
203(2)
Listing 10.2: CustomerGUITwo.java
203(2)
JTextField: Adding Text Fields to a Window
205(4)
Listing 10.3: CustomerGUIThree.java
206(3)
JButton: Adding Buttons to a Window
209(4)
Listing 10.4: CustomerGUIFour.Java
209(4)
How Java Handles Events
213(1)
Improving the Window Layout
214(6)
Listing 10.5: CustomerGUIFive.java
215(5)
Creating Drop-Down Menus
220(5)
Listing 10.6: CustomerGUISix.Java
220(5)
Writing Applets
225(2)
Summary of Key Points in Chapter 10
227(2)
Chapter 11 Object-Oriented Development Issues 229(19)
Objectives
229(1)
Developing Object-Oriented Systems
230(1)
OO Methodologies
231(1)
OO Analysis
232(1)
OO Design
233(2)
Three-Tier Design
235(11)
Architecture Issues
246(1)
Performance Issues
247(1)
Summary of Key Points in Chapter 11 248(1)
Bibliography 249(2)
Glossary 251(9)
Index 260

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