SE 450 Object-Oriented Software Development. Requirements. Topics. Textbooks. Prerequisite: CSC 416



Similar documents
Java applets. SwIG Jing He

CSE 452: Programming Languages. Acknowledgements. Contents. Java and its Evolution

Contents. Java - An Introduction. Java Milestones. Java and its Evolution

An Overview of Java. overview-1

CSC 551: Web Programming. Spring 2004

INTRODUCTION TO JAVA PROGRAMMING LANGUAGE

Applets, RMI, JDBC Exam Review

Agenda. Java Features Review. Extreme Java G Session 1 - Main Theme Introducing Extreme Java

Syllabus for CS 134 Java Programming

Essentials of the Java Programming Language

CS 209 Programming in Java #1

Japan Communication India Skill Development Center

Japan Communication India Skill Development Center

How To Develop A Web Dialog For An Org Database With A Database On A Computer (Oracle)

Essentials of the Java(TM) Programming Language, Part 1

Chapter 1 Java Program Design and Development

-8*6-DYD6HPLQDU 6HUYOHW$UFKLWHFWXUHV 5DLQHU+LVV$QGUHDV.DSS 6<6725$*

Extreme Java G Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti

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

Japan Communication India Skill Development Center

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

For Course Details, visit:

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

Modeling Web Applications Using Java And XML Related Technologies

What Perl Programmers Should Know About Java

Study of Development of Java Applications in Eclipse Environment and Development of Java Based Calendar Application with Notifications

Japan Communication India Skill Development Center

Fundamentals of Java Programming

Java TM WorkShop TM and Beyond. Joe Keller Director of Marketing SunSoft Developer Products

Overview. Java Programming Language. What is Java in a NutShell? Architecture of Java Applets

Web and Enterprise Applications Developer Track

Java-technology based projects

Java in Education. Choosing appropriate tool for creating multimedia is the first step in multimedia design

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

9/11/15. What is Programming? CSCI 209: Software Development. Discussion: What Is Good Software? Characteristics of Good Software?

Mobile and Web Applications Developer Track

Glassfish, JAVA EE, Servlets, JSP, EJB

Java and J2EE (SCJA Exam CX ) 50 Cragwood Rd, Suite 350 South Plainfield, NJ 07080

UBS Training Course Catalog

Virtual Credit Card Processing System

Data Structures Lecture 1

Chapter 1 Programming Languages for Web Applications

Software. Programming Language. Software. Instructor Özgür ZEYDAN. Bülent Ecevit University Department of Environmental Engineering

Principles and Software Realization of a Multimedia Course on Theoretical Electrical Engineering Based on Enterprise Technology

Apache Jakarta Tomcat

Web Application Architecture (based J2EE 1.4 Tutorial)

Installing Java. Table of contents

Heterogeneous Tools for Heterogeneous Network Management with WBEM

IT6503 WEB PROGRAMMING. Unit-I

Computer and Information Sciences

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

The Java Series. Java Essentials I What is Java? Basic Language Constructs. Java Essentials I. What is Java?. Basic Language Constructs Slide 1

Java is commonly used for deploying applications across a network. Compiled Java code

Specialized Programme on Web Application Development using Open Source Tools

Hello World RESTful web service tutorial

BHARATHIAR UNIVERSITY COIMBATORE SCHOOL OF DISTANCE EDUCATION

How To Use A Sas Server On A Java Computer Or A Java.Net Computer (Sas) On A Microsoft Microsoft Server (Sasa) On An Ipo (Sauge) Or A Microsas (Sask

Web Pages. Static Web Pages SHTML

The Web Web page Links 16-3

Habanero Extreme Scale Software Research Project

Java 2 Platform, Enterprise Edition (J2EE) Bruno Souza Java Technologist, Sun Microsystems, Inc.

Java History. Java History (cont'd)

NEW YORK CITY COLLEGE OF TECHNOLOGY/CUNY Computer Systems Technology Department

<Insert Picture Here> Java, the language for the future

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

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Programming Languages

Enterprise Application Development In Java with AJAX and ORM

Java with Eclipse: Setup & Getting Started

Java Application Developer Certificate Program Competencies

Elements of Advanced Java Programming

TYLER JUNIOR COLLEGE School of Continuing Studies 1530 SSW Loop 323 Tyler, TX

How To Write A Program In Java (Programming) On A Microsoft Macbook Or Ipad (For Pc) Or Ipa (For Mac) (For Microsoft) (Programmer) (Or Mac) Or Macbook (For

Mobile Applications Developer Track

CrownPeak Java Web Hosting. Version 0.20

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

Modern Software Development Tools on OpenVMS

Specialized Programme on Web Application Development using Open Source Tools

Java SE 6 Update 10. la piattaforma Java per le RIA. Corrado De Bari. Sun Microsystems Italia Spa. Software & Java Ambassador

1001ICT Introduction To Programming Lecture Notes

Preface. Motivation for this Book

Software Architecture

QuickSpecs. QuickSpecs. Description. HP OpenVMS Application Modernization and Integration Infrastructure Package,Version 2.3

Java (12 Weeks) Introduction to Java Programming Language

Enterprise Application Integration

Characteristics of Java (Optional) Y. Daniel Liang Supplement for Introduction to Java Programming

Nokia 9210i/9290 Communicators and PersonalJava TM Application Development

Courses Breakdown. Technical Web Development

TABLE OF CONTENTS...2 INTRODUCTION...3 APPLETS AND APPLICATIONS...3 JAVABEANS...4 EXCEPTION HANDLING...5 JAVA DATABASE CONNECTIVITY (JDBC)...

DIABLO VALLEY COLLEGE CATALOG

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Detailed Table of Contents

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

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Transcription:

SE 450 Object-Oriented Software Development Instructor: Dr. Xiaoping Jia Office: CST 843 Tel: (312) 362-6251 Fax: (312) 362-6116 E-mail: jia@cs.depaul.edu URL: http://se.cs.depaul.edu/se450/se450.html Prerequisite: CSC 416 Requirements Knowledge of object-oriented programming and C++ Knowledge of HTML and web-browsers. Topics Applets, WWW, HTML Classes and interfaces Data types and control flows AWT, Swing, and animation Input and output, collections Multi-threaded programming Networking Object-oriented design Introduction to design patterns and frameworks Primary Text Textbooks Object-Oriented Software Development in Java -- Principles, Patterns, and Frameworks, Xiaoping Jia, 1/ed. Addison-Wesley, 2000 References The Java Programming Language, Ken Arnold, and James Gosling. 2/ed. Addison-Wesley 1997. The Java Class Libraries --- An Annotated Reference, Patrick Chan, Rosanna Lee. Vol. 1 & 2. 2/ed. Addison- Wesley 1997

Textbooks (cont'd) References (cont'd) The Java Class Libraries: 1.2 Supplement, Patrick Chan, et al. 2/ed. Addison-Wesley 1999 Design Patterns - Elements of Reusable Object- Oriented Software, Erich Gamma, et al. Addison- Wesley, 1995. Fundamentals of Object-Oriented Design in UML, Meilir Page-Jones, Larry L. Constantine, Addison- Wesley, 1999. On-Line Reference Available at http://java.sun.com/ Java API Documentation Java Tutorials Demo and Code Examples Software Required Operating System Unix (Linux, Solaris,...) Windows 95/NT/2000 MacOS Development environment: Java 2 Platform SE (JDK 1.2 or higher) Java-enabled web browser (optional) Netscape 4.7 or higher A Brief History January 1996: first official release JDK 1.0 Web: applets, security, URL, networking GUI: Abstract Windows Toolkit (AWT) February 1997: JDK 1.1 Authentication: digital signatures, certificates Distributed computing: RMI, object serialization, Java IDL/CORBA Database connectivity: JDBC Component architecture: JavaBean

A Brief History (cont'd) What's Cool About Java December 1998: Java 2 Platform (JDK 1.2): Standard, Enterprise, and Micro Editions JFC: Swing, Java2D, Java3D Java Cryptography Extension (JCE) Enterprise computing: enterprise JavaBean (EJB), servlets, Java server page (JSP), Jini, XML Java Multimedia Framework (JMF) Embedded systems: KVM, JavaCard Performance enhancement: JIT, HotSpot VM May 2000: J2SE v1.3, (JDK 1.3) Simple Object-Oriented Statically Typed Compiled Architecture Neutral Garbage Collected Multi-Threaded Robust Secure Extensible First Java Application Java source in Hello.java // Filename: Hello.java public class Hello { /** A Java app prints "Hello from Venus!" */ public static void main (String args[]) { System.out.println("Hello from Venus!"); /* System.out refers to the standard output */ Elements of Java Programs Class: Hello Method: main(...) Statement: System.out.println(...) Comments: // a comment /* another comment */ /** document commend */ Source file: Hello.java

Compile and Run an App To compile: javac Hello.java Generates Hello.class To run: java Hello First Java Applet Java source in HelloFromVenus.java import java.awt.*; import java.applet.applet; public class HelloFromVenus extends Applet { public void paint(graphics g) { Dimension d = getsize(); g.setcolor(color.black); g.fillrect(0,0,d.width,d.height); g.setfont(new Font("Sans-serif",Font.BOLD,24)); g.setcolor(new Color(255, 215, 0)); g.drawstring("hello From Venus!", 40, 25); g.drawimage(getimage(getcodebase(), "Venus.gif"), 20, 60, this); HTML Source <!--HelloFromVenusDemo.html--> <html><head> <title> Hello From Venus Applet </title> </head> <body bgcolor=black text=white> <h2>here is the <em>hello From Venus</em> Applet</h2> <center> <applet code="hellofromvenus.class" width=300 height=350> </applet> </center> Venus photo courtesy of NASA. <hr> <a href="hellofromvenus.java">the source.</a> </body></html> Elements of Java Applets Superclass: java.applet.applet No main() method paint() method paints the picture Applet tag: code width height

Graphics Coordinate Compile and Run an Applet To compile: javac HelloFromVenus.java Generates HelloFromVenus.class To run: a) Use the appletviewer from JDK. appletviewer HelloFromVenusDemo.html b) Open page from browser: HelloFromVenusDemo.html