Java and Object Orientation: An Introduction

Size: px
Start display at page:

Download "Java and Object Orientation: An Introduction"

Transcription

1 John Hunt 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Java and Object Orientation: An Introduction Second Edition Springer

2 Contents Part 1 Introduction to Object Orientation 1 Introduction to Object Orientation Introduction Programming Paradigms Revolution Versus Evolution Why Learn a New Programming Paradigm? Software Industry Blues The Advantages Claimed for Object Orientation What Are the Problems and Pitfalls of Object Orientation? Pedigree of Object-Oriented Languages Fundamentals of Object Orientation The Basic Principles of Object Orientation Encapsulation Inheritance Abstraction Polymorphism Overloading Operators Overriding Operators Summary Further Reading 19 2 Elements of Object Orientation Introduction Terminology Types of Hierarchy The Move to Object Technology Summary Exercises Further Reading 26 3 Constructing an Object-Oriented System Introduction The Application: Windscreen Wipe Simulation Where Do We Start? Identifying the Objects Identifying the Services Or Methods Refining the Objects Bringing it All Together Where Is the Structure? Summary Exercise Further Reading 36 xv

3 xvi Contents Part 2 Introduction to the Java Language 4 A Brief History of Time, the Universe and Java Introduction What Is Java? Objects in Java History Commercial Versions of Java The Java Environment What Is in a Name? What Is JavaScript? Applications and Applets Applications in Java Further Reading Where to Get More Information 45 5 A Little Java Introduction Setting up the Development Environment Compiling and Executing Java Using the Java Documentation Tool Summary Further Reading 51 6 Java Building Blocks Introduction The Basics of the Language Some Terminology The Message-Passing Mechanism The Statement Terminator Classes Class Definitions Classes and Messages Instances and Instance Variables Classes and Inheritance Instance Creation Constructors Static Initialization Blocks Finalize Methods Supplied Classes Method Definitions... \ The Comments Section The Local Variables Section The Statements Section The Return Operator An Example Method Interface Definitions 64 7 Java Constructs Introduction Numbers and Numeric Operators Numeric Values Arithmetic Operators 68

4 Contents xvii 7.3 Characters and Strings Characters Strings Assignments Variables Temporary Variables Pseudo Variables Variable Scope Special Values-True, False and Null Messages and Message Selectors Invoking Methods Precedence Summary Further Reading 74 8 An Example Java Class Introduction Defining a Class Creating the Class Defining a Class Comment Defining a Method The main Method The Constructor The Accessor Methods The Updater Method The birthday Method Creating an Instance 78 Part 3 Java and Object Orientation 9 Classes, Inheritance and Abstraction Introduction Classes Revisited What Are Classes For? Class-Side Methods A Class or an Instance Inheritance in Classes The Role of a Subclass Capabilities of Classes Restricting a Subclass Abstract Classes Constructors and Their Use The main Method Encapsulation and Polymorphism Introduction Encapsulation Class Modifiers Variable Modifiers Method Modifiers Packages Declaring a Package An Example Package 95

5 xviii Contents Accessing Package Elements An Example of Using a Package Polymorphism Dynamic or Late Binding Method Selection Inner Classes and Reflection Introduction What Are Inner Classes? Types of Inner Class Nested Top-Level Classes Member Inner Classes Method Level/Local Inner Classes Anonymous Inner Classes How and When Should I Use Inner Classes? As Helper Classes As Event Handlers As Anonymous Event Handlers Laying Out a Java Class With Inner Classes Inner class guidelines The Reflection API Data Structures Introduction Data Structure Classes The Abstract Class Dictionary The Hashtable Class The Vector Class The Stack Class A Queue Class Enumeration Arrays Arrays of Objects Basic Type Arrays Multi-Dimensional Arrays The main Method Memory Management Why Have Automatic Memory Management? Memory Management in Java When Is Garbage Collection Performed? Checking the Available Memory Exercise: Vectors Summary Further Reading The Collections API Introduction What Is in the Collections API? Collection Interfaces Collection Set List Map 134

6 Contents xix Part Comparisons Abstract Implementations AbstractCollection AbstractSet Abstractly st AbstractSequentialList AbstractMap Concrete Implementations HashSet ArraySet ArrayList LinkedList HashMap ArrayMap TreeMap The Collections Class Iteration Over Collections Array Sorting and Searching Choosing a Col lection class Summary 144 Further Java 14 Control and Iteration Introduction Control Structures The If Statement The Conditional Operator The switch Statement Iteration for Loops while Loops do Loops An Example of Loops Recursion Summary An Object-Oriented Organizer Introduction The Organizer Class The Class Definition The Updating Protocol The Accessing Protocol The main Method Exercise - the Financial Manager Project Streams and Files Introduction Streams What Is a Stream? Readers and Writers: Character Streams Stream Tokenizers Using the 10 Classes 167

7 xx Contents 16.3, Files Accessing File Information The FileReader Class Constructors The FileWriter Class Constructors The BufferedReader Class Constructors The BufferedWriter Class Constructors The StreamTokenizer Class The PrintWriter Class Constructors Handling File 10 Errors Accessing a File Creating a File Input From the Console Summary Serialization Introduction Saving Objects Reading Objects The ObjectOutputStream Class The ObjectlnputStream Class The Serial izable Interface The transient Keyword The External izable Interface A Simple Serialization Application The Person Class The Family Class The Test Class Exercise - Using Files With the Financial Manager Summary Observers and Observables Introduction The Dependency Mechanism Why Do We Want Dependency? How Does Dependency Work? Constructing Dependencies A Simple Dependency Example Making Dependency Work for You The "Changed" Methods The Observer Interface Extending the Dependency Example Exercise - Dependency and the Financial Manager Summary ; 196 Part 5 Graphical Interfaces and Applets 19 Graphic Programming Using the Abstract Window Toolkit Introduction Windows as Objects Windows in Java The Abstract Window Toolkit The Component Class The Container Class 203

8 Contents xxi 19.7 The Panel Class The Frame Class The Graphics Class A Worked Graphical Application The ExampleFrame Class The ExamplePa.fiel Class Further Reading User Interface Programming Introduction The Event Delegation Model The Philosophy Behind the Event Model A Partial Example The Listener Interfaces GUI Component Classes The Button Class The Checkbox Class The CheckboxGroup Class The Label Class The TextComponent Class The TextField Class The TextArea Class Additional AWT Classes Managing Component Layout Introduction The Flowlayout Manager The Borderlayout Manager The GridLayout Manager The GridBagLayout Manager The CardLayout Manager A Simple GUI Example Putting the Swing into Java Introduction Swing, the JFC and the JDK What Is the MVC? Swinging the MVC Into Action Transitioning to Swing / The SimpleGallery Application A Swinging Gallery Things to Remember Online References A GUI Case Study Introduction The Model-View-Handler Architecture Event Listeners Observers and Observables Frames, Panels and Layout Managers The Class Structure The Accountlnterface Class 248

9 xxii Contents The WindowHandler class TheJPanel Classes The Handler Classes The Account Class The Instance Structure Exercise - A GUI for the Financial Manager Summary Further Reading The Lowdown on Layouts, Borders and Containers Introduction Containers in Swing Layouts for Containers, The Fl owlayout Manager The BorderLayout Manager The GridLayout Manager The GridBagLayout Manager BoxLayout OverlayLayout Borders in Swing The BorderFactory Empty Borders Li neborder class Bevel Border and SoftBevel Border EtchedBorder The MatteBorder class TheTitledBorder CompoundBorder class Using Panels, Layouts and Borders Planning a Display Online References Combining Graphics and GUI Components Introduction The SwingDraw Application The Structure of the Application The Interactions Between Objects The Draw Constructor Changing the Type of Graphic Object Adding a Graphic Object Moving a Graphic Object The Classes The SwingDraw Class The DrawMenuBar class TheDrawToolBar and ButtonPanel Classes The Tool Handler Class The Drawi ng Class The Drawi ngpanel Class The Drawi ngcontroller Class The LookAndFeel Panel Class The Drawi ngexcepti on Class The Figure Class The Square Class 295

10 Contents xxiii The Circle Class The Line Class The TextFigure Class The TextDialog Class Exercises Summary Swing Data Model Case Study... /* Introduction The JTree Swing Component The JTree Constructors The JTree API Changing the Model The JTree Package Interfaces Classes The DefaultMutableTreeNode class Building the Data Model Building the GUI Application Online Resources Java: Speaking in Tongues Introduction Locale Properties Objects ResourceBundle Introduction Naming Properties Files Property Inheritance Accessing Property Values Formatting Output Summary Online References The CUTting Edge Introduction The Simple Editor Cutting and Copying Data Pasting Data Drag and Drop , DragLabel DropTextArea Summary 331 Part 6 Internet Working 29 Sockets in Java Introduction Socket to socket communication Setting Up a Connection An Example Client-Server Application The System Structure Implementing the Server Application Implementing the Client Application 338

11 xxiv Contents 30 Applets and the Internet Introduction Applet Security The Applet Class Working With Applets The Account Applet Change the Root Class Definition Define then nit Method A Brief Introduction to HTML The <applet> HTML Tag Accessing HTML Files Swing and Applets Exercise: Tic-Tac-Toe Applet What to Do Notes Summary Further Reading Servlets: Serving Java up on the Web Introduction How Servlets Work The Structure of the Servlet API An Example Servlet Why Use Servlets? Summary Further Reading Java Server Pages Introduction What Is a JSP? A Very Simple JSP The Components of a JSP Directives Actions Implicit Objects JSP Scripting Making JSPs Interactive Why Use JSPs? Problems With JSPs 368 / 33 Java Database Connectivity Introduction WhatlsJDBC? What the Driver Provides Registering Drivers Opening a Connection Obtaining Data From a Database Creating a Table Applets and Databases Mini SQL Further Reading Online References 379

12 Contents xxv Part 7 Java Development 34 Java Style Guidelines Introduction Code Layout Variables Naming Variables Using Variables Classes Naming Classes The Role of a Class Creating New Data Structure Classes Class Comments Using a Class or an Instance Interfaces Enumerated Types Methods Naming Methods Using Methods Class Methods and Instance Methods Static Initialization Blocks Constructors The finalize Method Programming in Terms of Objects Positioning of Methods Scoping Statement Labels Exception Handling Introduction What Is an Exception? What Is Exception Handling? Throwing an Exception Catching an Exception Defining an Exception Concurrency Introduction Concurrent Processes Threads , Thread States Creating a Thread Thread Groups The Thread Class Implementing a Thread Synchronization A Time Slicing Example Using Schedulers The Time Slicing Source Code 408

13 xxvi Contents Part 8 Object-Oriented Design 37 Object-Oriented Analysis and Design Introduction Object-Oriented Design Methods Object-Oriented Analysis The Booch Method The Steps in the Booch Method Strengths and Weaknesses The Object Modeling Technique The Analysis Phase The Design Phase The Implementation Phase Strengths and Weaknesses The Objectory Method The Requirements Phase The Analysis Phase The Construction Phase Strengths and Weaknesses The Fusion Method The Unified Modeling Language Summary The Unified Modeling Language Introduction The Meta-Model The Models Use Case Diagrams The Object Model Representing Classes Representing Objects Representing Relationships ' Packages Sequence Diagrams Collaboration Diagrams State Machine Diagrams Start Points Events A Set of Transitions A Set of State Variables A Set of States A Set of Exit Points Deployment Diagrams Summary The Unified Process Introduction The Unified Process Overview of the Unified Process Life Cycle Phases Phases, Iterations and Workflows Workflows and Activities Requirements Workflow 448

14 Contents xxvii Interface Descriptions Analysis Workflow Analysis Model Classes Constructing the Analysis Model Design Workflow Identifying Classes Refining the Set of Classes Identifying and Refining Attributes Identifying and Refining Operations Design Use Case Realizations Generating a Sequence Diagram Building a Statechart Diagram Identifying and Refining Associations Identifying Interfaces and Inheritance Remaining Steps Implementation Workflow Testing Workflow Summary 458 Part 9 The Future 40 Areas of Java and Object Technology not Covered Introduction Language Areas Native Code Java Virtual Machine JavaBeans Enterprise JavaBeans Remote Method Invocation Java and C CORBA Java Naming and Directory Interface Java and XML Java 2D and Java 3D Object-Oriented Databases 469 Appendices A The Java API Packages 471 B Java Keywords 472 References 473 Index 477

Java the UML Way: Integrating Object-Oriented Design and Programming

Java the UML Way: Integrating Object-Oriented Design and Programming Java the UML Way: Integrating Object-Oriented Design and Programming by Else Lervik and Vegard B. Havdal ISBN 0-470-84386-1 John Wiley & Sons, Ltd. Table of Contents Preface xi 1 Introduction 1 1.1 Preliminaries

More information

Computing Concepts with Java Essentials

Computing Concepts with Java Essentials 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann

More information

Java Application Developer Certificate Program Competencies

Java Application Developer Certificate Program Competencies Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle

More information

Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition

Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition Java 6 'th edition Concepts INTERNATIONAL STUDENT VERSION CONTENTS PREFACE vii SPECIAL FEATURES xxviii chapter i INTRODUCTION 1 1.1 What Is Programming? 2 J.2 The Anatomy of a Computer 3 1.3 Translating

More information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools Objective: At the end of the course, Students will be able to: Understand various open source tools(programming tools and databases)

More information

Fundamentals of Java Programming

Fundamentals of Java Programming Fundamentals of Java Programming This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and exclusive use by instructors

More information

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt core. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Volume I - Fundamentals Seventh Edition CAY S. HORSTMANN GARY

More information

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION

More information

Java (12 Weeks) Introduction to Java Programming Language

Java (12 Weeks) Introduction to Java Programming Language Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short

More information

Java EE Web Development Course Program

Java EE Web Development Course Program Java EE Web Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive types, variables, basic operators, expressions,

More information

JAVA COLLECTIONS FRAMEWORK

JAVA COLLECTIONS FRAMEWORK http://www.tutorialspoint.com/java/java_collections.htm JAVA COLLECTIONS FRAMEWORK Copyright tutorialspoint.com Prior to Java 2, Java provided ad hoc classes such as Dictionary, Vector, Stack, and Properties

More information

Java SE 8 Programming

Java SE 8 Programming Oracle University Contact Us: 1.800.529.0165 Java SE 8 Programming Duration: 5 Days What you will learn This Java SE 8 Programming training covers the core language features and Application Programming

More information

Web Development in Java

Web Development in Java Web Development in Java Detailed Course Brochure @All Rights Reserved. Techcanvass, 265, Powai Plaza, Hiranandani Garden, Powai, Mumbai www.techcanvass.com Tel: +91 22 40155175 Mob: 773 877 3108 P a g

More information

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center Japan Communication India Skill Development Center Java Application System Developer Course Detail Track 2a Java Application Software Developer: Phase1 SQL Overview 70 Introduction Database, DB Server

More information

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner 1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi

More information

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk

www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling

More information

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center Japan Communication India Skill Development Center Java Application System Developer Course Detail Track 2b Java Application Software Developer: Phase1 SQL Overview 70 Introduction Database, DB Server

More information

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center Japan Communication India Skill Development Center Java Application System Developer Course Detail Track 3 Java Application Software Developer: Phase1 SQL Overview 70 Querying & Updating Data (Review)

More information

@ - Internal # - External @- Online TH PR OR TW TOTAL HOURS 04 --- 04 03 100 50# --- 25@ 175

@ - Internal # - External @- Online TH PR OR TW TOTAL HOURS 04 --- 04 03 100 50# --- 25@ 175 COURSE NAME : COMPUTER ENGINEERING GROUP COURSE CODE SEMESTER SUBJECT TITLE : CO/CM/IF/CD : SIXTH : ADVANCED JAVA PROGRAMMING SUBJECT CODE : Teaching and Examination Scheme: @ - Internal # - External @-

More information

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center Japan Communication India Skill Development Center Java Application System Developer Course Detail Track 1B Java Application Software Developer: Phase1 DBMS Concept 20 Entities Relationships Attributes

More information

Syllabus for CS 134 Java Programming

Syllabus for CS 134 Java Programming - Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.

More information

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS) KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php info@kitestechnology.com technologykites@gmail.com Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL

More information

Android Application Development Course Program

Android Application Development Course Program Android Application Development Course Program Part I Introduction to Programming 1. Introduction to programming. Compilers, interpreters, virtual machines. Primitive data types, variables, basic operators,

More information

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java

More information

IT6503 WEB PROGRAMMING. Unit-I

IT6503 WEB PROGRAMMING. Unit-I Handled By, VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203. Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Mr. K. Ravindran, A.P(Sr.G)

More information

Applets, RMI, JDBC Exam Review

Applets, RMI, JDBC Exam Review Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java

More information

Formal Engineering for Industrial Software Development

Formal Engineering for Industrial Software Development Shaoying Liu Formal Engineering for Industrial Software Development Using the SOFL Method With 90 Figures and 30 Tables Springer Contents Introduction 1 1.1 Software Life Cycle... 2 1.2 The Problem 4 1.3

More information

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science I. Basic Course Information RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE CISY 105 Foundations of Computer Science A. Course Number and Title: CISY-105, Foundations of Computer Science B. New

More information

The Sun Certified Associate for the Java Platform, Standard Edition, Exam Version 1.0

The Sun Certified Associate for the Java Platform, Standard Edition, Exam Version 1.0 The following applies to all exams: Once exam vouchers are purchased you have up to one year from the date of purchase to use it. Each voucher is valid for one exam and may only be used at an Authorized

More information

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition. "( JAVA. EXAMPLES IN A NUTSHELL Third Edition David Flanagan O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Preface xi Parti. Learning Java 1. Java Basics 3 Hello

More information

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Duration of Course: 6 Months Fees: Rs. 25,000/- (including Service Tax) Eligibility: B.E./B.Tech., M.Sc.(IT/ computer

More information

An Overview of Java. overview-1

An Overview of Java. overview-1 An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2

More information

Java SE 7 Programming

Java SE 7 Programming Oracle University Contact Us: 1.800.529.0165 Java SE 7 Programming Duration: 5 Days What you will learn This Java SE 7 Programming training explores the core Application Programming Interfaces (API) you'll

More information

Course Name: Course in JSP Course Code: P5

Course Name: Course in JSP Course Code: P5 Course Name: Course in JSP Course Code: P5 Address: Sh No BSH 1,2,3 Almedia residency, Xetia Waddo Duler Mapusa Goa E-mail Id: ITKP@3i-infotech.com Tel: (0832) 2465556 (0832) 6454066 Course Code: P5 3i

More information

Java SE 7 Programming

Java SE 7 Programming Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 4108 4709 Java SE 7 Programming Duration: 5 Days What you will learn This Java Programming training covers the core Application Programming

More information

Java Software Structures

Java Software Structures INTERNATIONAL EDITION Java Software Structures Designing and Using Data Structures FOURTH EDITION John Lewis Joseph Chase This page is intentionally left blank. Java Software Structures,International Edition

More information

Core Java+ J2EE+Struts+Hibernate+Spring

Core Java+ J2EE+Struts+Hibernate+Spring Core Java+ J2EE+Struts+Hibernate+Spring Java technology is a portfolio of products that are based on the power of networks and the idea that the same software should run on many different kinds of systems

More information

Course Number: IAC-SOFT-WDAD Web Design and Application Development

Course Number: IAC-SOFT-WDAD Web Design and Application Development Course Number: IAC-SOFT-WDAD Web Design and Application Development Session 1 (10 Hours) Client Side Scripting Session 2 (10 Hours) Server Side Scripting - I Session 3 (10 hours) Database Session 4 (10

More information

Java SE 7 Programming

Java SE 7 Programming Java SE 7 Programming The second of two courses that cover the Java Standard Edition 7 (Java SE 7) Platform, this course covers the core Application Programming Interfaces (API) you will use to design

More information

Glossary of Object Oriented Terms

Glossary of Object Oriented Terms Appendix E Glossary of Object Oriented Terms abstract class: A class primarily intended to define an instance, but can not be instantiated without additional methods. abstract data type: An abstraction

More information

MA-WA1920: Enterprise iphone and ipad Programming

MA-WA1920: Enterprise iphone and ipad Programming MA-WA1920: Enterprise iphone and ipad Programming Description This 5 day iphone training course teaches application development for the ios platform. It covers iphone, ipad and ipod Touch devices. This

More information

Programming Language Pragmatics

Programming Language Pragmatics Programming Language Pragmatics THIRD EDITION Michael L. Scott Department of Computer Science University of Rochester ^ШШШШШ AMSTERDAM BOSTON HEIDELBERG LONDON, '-*i» ЩЛ< ^ ' m H NEW YORK «OXFORD «PARIS»SAN

More information

During the process of creating ColorSwitch, you will learn how to do these tasks:

During the process of creating ColorSwitch, you will learn how to do these tasks: GUI Building in NetBeans IDE 3.6 This short tutorial guides you through the process of creating an application called ColorSwitch. You will build a simple program that enables you to switch the color of

More information

BHARATHIAR UNIVERSITY COIMBATORE 641 046. SCHOOL OF DISTANCE EDUCATION

BHARATHIAR UNIVERSITY COIMBATORE 641 046. SCHOOL OF DISTANCE EDUCATION Anx.31 M - PG Dip WebSer (SDE) 2007-08 Page 1 of 6 BHARATHIAR UNIVERSITY COIMBATORE 641 046. SCHOOL OF DISTANCE EDUCATION PG DIPLOMA IN WEB SERVICES (PGDWS) (Effective from the Academic Year 2007-2008)

More information

COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG

COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG Information on a Course offered by Division of Applied Science and Technology Course Title: (English) Java Programming (Chinese) Course

More information

09336863931 : provid.ir

09336863931 : provid.ir provid.ir 09336863931 : NET Architecture Core CSharp o Variable o Variable Scope o Type Inference o Namespaces o Preprocessor Directives Statements and Flow of Execution o If Statement o Switch Statement

More information

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013 Mobility Introduction Android Duration 16 Working days Start Date 1 st Oct 2013 Day 1 1. Introduction to Mobility 1.1. Mobility Paradigm 1.2. Desktop to Mobile 1.3. Evolution of the Mobile 1.4. Smart phone

More information

PG DAC. Syllabus. Content. Eligibility Criteria

PG DAC. Syllabus. Content. Eligibility Criteria PG DAC Eligibility Criteria Qualification 1. Engg Graduate in any discipline or equivalent (eg. BE/B.Tech/4 years B. Sc Engg./ AMIE/ AIETE / DoEACC B level etc). 2. PG in Engg. Sciences (eg. MCA / M.Sc.

More information

DIPLOMADO DE JAVA - OCA

DIPLOMADO DE JAVA - OCA DIPLOMADO DE JAVA - OCA TABLA DE CONTENIDO INTRODUCCION... 3 ESTRUCTURA DEL DIPLOMADO... 4 Nivel I:... 4 Fundamentals of the Java Programming Language Java SE 7... 4 Introducing the Java Technology...

More information

CompuScholar, Inc. Alignment to Utah's Computer Programming II Standards

CompuScholar, Inc. Alignment to Utah's Computer Programming II Standards CompuScholar, Inc. Alignment to Utah's Computer Programming II Standards Course Title: TeenCoder: Java Programming Course ISBN: 978 0 9887070 2 3 Course Year: 2015 Note: Citation(s) listed may represent

More information

The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC).

The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC). The Abstract Windowing Toolkit Since Java was first released, its user interface facilities have been a significant weakness The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning,

More information

Visual Basic. murach's TRAINING & REFERENCE

Visual Basic. murach's TRAINING & REFERENCE TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com Contents Introduction

More information

Java - gently. Originaux. Prérequis. Objectifs

Java - gently. Originaux. Prérequis. Objectifs Java - gently java-gently Java - gently Code: java-gently Originaux url: http://tecfa.unige.ch/guides/tie/html/java-gently/java-gently.html url: http://tecfa.unige.ch/guides/tie/pdf/files/java-gently.pdf

More information

Contents. Introduction and System Engineering 1. Introduction 2. Software Process and Methodology 16. System Engineering 53

Contents. Introduction and System Engineering 1. Introduction 2. Software Process and Methodology 16. System Engineering 53 Preface xvi Part I Introduction and System Engineering 1 Chapter 1 Introduction 2 1.1 What Is Software Engineering? 2 1.2 Why Software Engineering? 3 1.3 Software Life-Cycle Activities 4 1.3.1 Software

More information

An Introduction to Object-Oriented Programming with

An Introduction to Object-Oriented Programming with An Introduction to Object-Oriented Programming with TM Java C. Thomas Wu Naval Postgraduate School Ml McGraw-Hill Boston Burr Ridge, IL Dubuque, IA Madison, WI New York San Francisco St. Louis Bangkok

More information

How To Write A Program For The Web In Java (Java)

How To Write A Program For The Web In Java (Java) 21 Applets and Web Programming As noted in Chapter 2, although Java is a general purpose programming language that can be used to create almost any type of computer program, much of the excitement surrounding

More information

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9 UNIT I J2EE Platform 9 Introduction - Enterprise Architecture Styles - J2EE Architecture - Containers - J2EE Technologies - Developing J2EE Applications - Naming and directory services - Using JNDI - JNDI

More information

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON PROBLEM SOLVING WITH SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON Addison Wesley Boston San Francisco New York London

More information

Skills for Employment Investment Project (SEIP)

Skills for Employment Investment Project (SEIP) Skills for Employment Investment Project (SEIP) Standards/ Curriculum Format for Web Application Development Using DOT Net Course Duration: Three Months 1 Course Structure and Requirements Course Title:

More information

Basic Programming and PC Skills: Basic Programming and PC Skills:

Basic Programming and PC Skills: Basic Programming and PC Skills: Texas University Interscholastic League Contest Event: Computer Science The contest challenges high school students to gain an understanding of the significance of computation as well as the details of

More information

Automating. Administration. Microsoft SharePoint 2010. with Windows. PowerShell 2.0. Gary Lapointe Shannon Bray. Wiley Publishing, Inc.

Automating. Administration. Microsoft SharePoint 2010. with Windows. PowerShell 2.0. Gary Lapointe Shannon Bray. Wiley Publishing, Inc. Automating Microsoft SharePoint 2010 Administration with Windows PowerShell 2.0 Gary Lapointe Shannon Bray WILEY Wiley Publishing, Inc. TABLE OF CONTENTS B S8 0 «4} 8#«l6& Introduction xxv Part 1 Getting

More information

Windchill Service Information Manager 10.2. Curriculum Guide

Windchill Service Information Manager 10.2. Curriculum Guide Windchill Service Information Manager 10.2 Curriculum Guide Live Classroom Curriculum Guide Introduction to Windchill Service Information Manager 10.2 Building Information Structures with Windchill Service

More information

Visual C# 2012 Programming

Visual C# 2012 Programming Visual C# 2012 Programming Karli Watson Jacob Vibe Hammer John D. Reid Morgan Skinner Daniel Kemper Christian Nagel WILEY John Wiley & Sons, Inc. INTRODUCTION xxxi CHAPTER 1: INTRODUCING C# 3 What Is the.net

More information

Objectif. Participant. Prérequis. Remarque. Programme. C# 3.0 Programming in the.net Framework. 1. Introduction to the.

Objectif. Participant. Prérequis. Remarque. Programme. C# 3.0 Programming in the.net Framework. 1. Introduction to the. Objectif This six-day instructor-led course provides students with the knowledge and skills to develop applications in the.net 3.5 using the C# 3.0 programming language. C# is one of the most popular programming

More information

Objective C and iphone App

Objective C and iphone App Objective C and iphone App 6 Months Course Description: Understanding the Objective-C programming language is critical to becoming a successful iphone developer. This class is designed to teach you a solid

More information

No no-argument constructor. No default constructor found

No no-argument constructor. No default constructor found Every software developer deals with bugs. The really tough bugs aren t detected by the compiler. Nasty bugs manifest themselves only when executed at runtime. Here is a list of the top ten difficult and

More information

1 of 1 24/05/2013 10:23 AM

1 of 1 24/05/2013 10:23 AM ?Init=Y 1 of 1 24/05/2013 10:23 AM 1. Which of the following correctly defines a queue? a list of elements with a first in last out order. a list of elements with a first in first out order. (*) something

More information

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT, 15.1200.40

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT, 15.1200.40 SOFTWARE DEVELOPMENT, 15.1200.40 STANDARD 1.0 APPLY PROBLEM-SOLVING AND CRITICAL THINKING SKILLS TO INFORMATION 1.1 Describe methods of establishing priorities 1.2 Prepare a plan of work and schedule information

More information

Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman

Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman Enterprise Java Where, How, When (and When Not) to Apply Java in Client/Server Business Environments Jeffrey Savit Sean Wilcox Bhuvana Jayaraman McGraw-Hill j New York San Francisco Washington, D.C. Auckland

More information

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile

More information

Programming and Software Development (PSD)

Programming and Software Development (PSD) Programming and Software Development (PSD) Course Descriptions Fundamentals of Information Systems Technology This course is a survey of computer technologies. This course may include computer history,

More information

JAVA/J2EE Course Syllabus

JAVA/J2EE Course Syllabus JAVA/J2EE Curse Syllabus Intrductin t Java What is Java? Backgrund/Histry f Java The Internet and Java's place in it Java Virtual Machine Byte cde - nt an executable cde Prcedure-Oriented vs. Object-Oriented

More information

A generic framework for game development

A generic framework for game development A generic framework for game development Michael Haller FH Hagenberg (MTD) AUSTRIA haller@hagenberg.at Werner Hartmann FAW, University of Linz AUSTRIA werner.hartmann@faw.unilinz.ac.at Jürgen Zauner FH

More information

Getting Started with the Internet Communications Engine

Getting Started with the Internet Communications Engine Getting Started with the Internet Communications Engine David Vriezen April 7, 2014 Contents 1 Introduction 2 2 About Ice 2 2.1 Proxies................................. 2 3 Setting Up ICE 2 4 Slices 2

More information

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX 75701 1.800.298.5226 www.tjc.edu/continuingstudies/mycaa

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX 75701 1.800.298.5226 www.tjc.edu/continuingstudies/mycaa TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX 75701 1.800.298.5226 www.tjc.edu/continuingstudies/mycaa Education & Training Plan Java Programming Specialist Program Student

More information

Modeling Web Applications Using Java And XML Related Technologies

Modeling Web Applications Using Java And XML Related Technologies Modeling Web Applications Using Java And XML Related Technologies Sam Chung Computing & Stware Systems Institute Technology University Washington Tacoma Tacoma, WA 98402. USA chungsa@u.washington.edu Yun-Sik

More information

Java Thin-Client Programming for a Network Computing Environment

Java Thin-Client Programming for a Network Computing Environment Java Thin-Client Programming for a Network Computing Environment JÜRGEN FRIEDRICHS HENRI J I B I N AND THE JALAPENO TEAM / - : / :.. : :. ISBN 0-13-011117-1 PRENTICE HALL PTR, UPPER SADDLE RIVER, NEW JERSEY

More information

JAVA r VOLUME II-ADVANCED FEATURES. e^i v it;

JAVA r VOLUME II-ADVANCED FEATURES. e^i v it; ..ui. : ' :>' JAVA r VOLUME II-ADVANCED FEATURES EIGHTH EDITION 'r.", -*U'.- I' -J L."'.!'.;._ ii-.ni CAY S. HORSTMANN GARY CORNELL It.. 1 rlli!>*-

More information

Charles Dierbach. Wiley

Charles Dierbach. Wiley Charles Dierbach Wiley Contents Preface Acknowledgments About the Author XXI xxv xxvii Introduction 1 MOTIVATION 2 FUNDAMENTALS 2 1.1 What Is Computer Science? 2 1.1.1 The Essence of Computational Problem

More information

STORM. Simulation TOol for Real-time Multiprocessor scheduling. Designer Guide V3.3.1 September 2009

STORM. Simulation TOol for Real-time Multiprocessor scheduling. Designer Guide V3.3.1 September 2009 STORM Simulation TOol for Real-time Multiprocessor scheduling Designer Guide V3.3.1 September 2009 Richard Urunuela, Anne-Marie Déplanche, Yvon Trinquet This work is part of the project PHERMA supported

More information

Creating a Simple, Multithreaded Chat System with Java

Creating a Simple, Multithreaded Chat System with Java Creating a Simple, Multithreaded Chat System with Java Introduction by George Crawford III In this edition of Objective Viewpoint, you will learn how to develop a simple chat system. The program will demonstrate

More information

INFORMATION BROCHURE

INFORMATION BROCHURE INFORMATION BROCHURE OF ADVANCE COURSE ON MOBILE APPLICATION DEVELOPMENT USING ANDROID PROGRAMMING (Specialization: Android Programming) National Institute of Electronics & Information Technology (An Autonomous

More information

Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB)

Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB) Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB) Course Number: 4995 Length: 5 Day(s) Certification Exam There are no exams associated with this course. Course Overview

More information

An introduction to creating JSF applications in Rational Application Developer Version 8.0

An introduction to creating JSF applications in Rational Application Developer Version 8.0 An introduction to creating JSF applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Although you can use several Web technologies to create

More information

Introduction to Programming System Design. CSCI 455x (4 Units)

Introduction to Programming System Design. CSCI 455x (4 Units) Introduction to Programming System Design CSCI 455x (4 Units) Description This course covers programming in Java and C++. Topics include review of basic programming concepts such as control structures,

More information

Software Architecture

Software Architecture Software Architecture Definitions http://www.sei.cmu.edu/architecture/published_definiti ons.html ANSI/IEEE Std 1471-2000, Recommended Practice for Architectural Description of Software- Intensive Systems

More information

Web development... the server side (of the force)

Web development... the server side (of the force) Web development... the server side (of the force) Fabien POULARD Document under license Creative Commons Attribution Share Alike 2.5 http://www.creativecommons.org/learnmore Web development... the server

More information

JAVA IN A NUTSHELL O'REILLY. David Flanagan. Fifth Edition. Beijing Cambridge Farnham Köln Sebastopol Tokyo

JAVA IN A NUTSHELL O'REILLY. David Flanagan. Fifth Edition. Beijing Cambridge Farnham Köln Sebastopol Tokyo JAVA 1i IN A NUTSHELL Fifth Edition David Flanagan O'REILLY Beijing Cambridge Farnham Köln Sebastopol Tokyo Table of Contents Preface xvii Part 1. Introducing Java 1. Introduction 1 What 1s Java? 1 The

More information

GUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012

GUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012 GUIs with Swing Principles of Software Construction: Objects, Design, and Concurrency Jonathan Aldrich and Charlie Garrod Fall 2012 Slides copyright 2012 by Jeffrey Eppinger, Jonathan Aldrich, William

More information

AP Computer Science Java Subset

AP Computer Science Java Subset APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall

More information

Elements of Advanced Java Programming

Elements of Advanced Java Programming Appendix A Elements of Advanced Java Programming Objectives At the end of this appendix, you should be able to: Understand two-tier and three-tier architectures for distributed computing Understand the

More information

COURSE SYLLABUS EDG 6931: Designing Integrated Media Environments 2 Educational Technology Program University of Florida

COURSE SYLLABUS EDG 6931: Designing Integrated Media Environments 2 Educational Technology Program University of Florida COURSE SYLLABUS EDG 6931: Designing Integrated Media Environments 2 Educational Technology Program University of Florida CREDIT HOURS 3 credits hours PREREQUISITE Completion of EME 6208 with a passing

More information

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm

More information

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems SOFT 437 Software Performance Analysis Ch 5:Web Applications and Other Distributed Systems Outline Overview of Web applications, distributed object technologies, and the important considerations for SPE

More information

Programming and Software Development CTAG Alignments

Programming and Software Development CTAG Alignments Programming and Software Development CTAG Alignments This document contains information about four Career-Technical Articulation Numbers (CTANs) for Programming and Software Development Career-Technical

More information

C++ INTERVIEW QUESTIONS

C++ INTERVIEW QUESTIONS C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get

More information

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java Oxford University Press 2007. All rights reserved. 1 C and C++ C and C++ with in-line-assembly, Visual Basic, and Visual C++ the

More information

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. JAVA ENTERPRISE IN A NUTSHELL Third Edition Jim Farley and William

More information

Programming in C# with Microsoft Visual Studio 2010

Programming in C# with Microsoft Visual Studio 2010 Course 10266A: Programming in C# with Microsoft Visual Studio 2010 Course Details Course Outline Module 1: Introducing C# and the.net Framework This module explains the.net Framework, and using C# and

More information

William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline

William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline William Paterson University of New Jersey Department of Computer Science College of Science and Health Course Outline 1. TITLE OF COURSE AND COURSE NUMBER: Object-Oriented Programming in Java, CIT 2420

More information