Advanced Java New York University School of Continuing and Professional Studies.

Slides:



Advertisements
Similar presentations
A Programmer's Introduction to Java - from a S/370 user (c) IDMS/SQL News
Advertisements

1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
In Review JAVA C++ GUIs - Windows Webopedia.com.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
Java Basic Training HaiNH - FQA. Agenda Introduction to Java Java Programming Environment Language Fundamental Object Oriented Programming with Java.
MC697 Object-Oriented Programming Using Java. In this class, we will cover: How the class will be structured Difference between object-oriented programming.
George Blank University Lecturer. CS 602 Java and the Web Object Oriented Software Development Using Java Chapter 4.
Java: History and Introduction (Lecture # 1). History… Java – Based on C and C++ – Developed in 1991 for intelligent consumer electronic devices – Green.
Lecture 2: Do you speak Java?. From Problem to Program Last Lecture we looked at modeling with objects! Steps to solving a business problem –Investigate.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Introduction to Java Programming, 4E
Principles of Object-Oriented Software Development The language Java.
Course Map The Java Programming Language Basics Object-Oriented Programming Exception Handling Graphical User Interfaces and Applets Multithreading Communications.
Session-02. Objective In this session you will learn : What is Class Loader ? What is Byte Code Verifier? JIT & JAVA API Features of Java Java Environment.
CSE 1301 J Lecture 2 Intro to Java Programming Richard Gesick.
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Web-based Software Development - An introduction.
BASIC JAVA PROGRAMMING TUTORIAL. History  James Gosling and Sun Microsystems  Oak  Java, May 20, 1995, Sun World  Hot Java –The first Java-enabled.
Introduction to Java Programming with JBuilder 4
Copyright © 2009 On The Edge Software Consulting Advanced Enterprise Java Instructional Plan Presentation Tier Design using an Event Driven Design Methodology.
S.W. Ma/CIM/LWL41211/2 Prog. IIA Page 1 HKIVE (Lee Wai Lee Campus) Department of CIM Course : Year 2 Module : Programming IIA Textbook : Introduction.
Introduction to Java Appendix A. Appendix A: Introduction to Java2 Chapter Objectives To understand the essentials of object-oriented programming in Java.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
J2EE Structure & Definitions Catie Welsh CSE 432
Introduction to Java Programming. History F James Gosling and Sun Microsystems F Oak F Java, May 20, 1995, Sun World F HotJava –The first Java-enabled.
Sadegh Aliakbary Sharif University of Technology Fall 2012.
CS4273: Distributed System Technologies and Programming Lecture 13: Review.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
Advanced Programming Collage of Information Technology University of Palestine, Gaza Prepared by: Mahmoud Rafeek Alfarra Lecture 2: Major Concepts of Programming.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
Introduction to Java Programming with Forte Y. Daniel Liang.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Lecture 1 Introduction. Instructor Name: Seokwoo Song Office: business 524 Phone: Office Hours: M W 4:30 – 5:30 PM or by appointment
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
23-October-2002cse JavaIntro © 2002 University of Washington1 Intro to Java CSE 413, Autumn 2002 Programming Languages
Copyright © Mohamed Nuzrath Java Programming :: Syllabus & Chapters :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Java: An Overview John R Durrett Texas Tech University.
JAVA INTRODUCTION. What is Java? 1. Java is a Pure Object – Oriented language 2. Java is developing by existing languages like C and C++. How Java Differs.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
Introduction Mehdi Einali Advanced Programming in Java 1.
Today… “Hello World” ritual. Brief History of Java & How Java Works. Introduction to Java class structure. But first, next slide shows Java is No. 1 programming.
Spring 2009 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 8.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
Java Computer Industry Lab. 1 Programming Java Java Basics Incheon Paik.
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
J AVA T RAINING IN A HMEDABAD By TOPS Technologies 1 TOPS Technologies Java Course.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
JAVA TRAINING IN NOIDA. JAVA Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically.
Introduction to Java Programming, 4E Y. Daniel Liang.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
Sung-Dong Kim, Dept. of Computer Engineering, Hansung University Java - Introduction.
Fundamental of Java Programming (630002) Unit – 1 Introduction to Java.
Web-based Software Development - An introduction
Object Oriented Programming in
Introduction to Advanced Java Programming
CMPE419 Mobile Application Development
Advanced Programming Fall 2017.
Distributed System Using Java 2 Enterprise Edition (J2EE)
By Rajanikanth B Overview Of Java By Rajanikanth B
Introducing Java.
CMPE419 Mobile Application Development
មជ្ឈមណ្ឌលកូរ៉េ សហ្វវែរ អេច អ ឌី
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

Advanced Java New York University School of Continuing and Professional Studies

2 Language of the Future By the year 2005 all software applications will be web based. Most, if not all of those will be written in Java. “Write once run everywhere”

3 Course Objectives Train students in writing java programs – including applets. Enhance understanding and knowledge of java APIs and frameworks. Prepare students for sun’s java certification programs. Provide resources and support to help students achieve their career objectives.

4 Prerequisites Basic knowledge of computers. Familiarity with any plain text editor (like notepad). Working in command line mode. Java language Fundamentals Ability to write, compile and run a basic Java program and applet

5 Useful but Not Required Knowledge of or experience with C++ Basic concepts of Object Oriented Design and Programming. Knowledge of HTML. Knowledge of Database concepts and familiarity with SQL

Feedback Students’ Expectations From This Course

7 Agenda Every Tuesday/Wednesday evening from 6:20 PM to 9:20 PM - Prefer 6 pm to 9 pm if all students agree, and if the time is not invonvenient for anyone. For every 3 hours of lecture, student is expected to do “hands on” for at least 3 hours.

8 Overview Focus on Object Oriented Design and Development using Java. Coverage of latest technologies in Web Applications development Thread s, Applets JDB C,R MI, EJBs Servlets, JSPs, Beans, XML Stream s Files I/IO AWT, Events Lists, Vectors, Sockets Object s and Classe s Java Libraries, OOD, OOP Language Fundamentals

9 Session 1 Java certification overview Introduction to programming and java First java program First java applet Language Fundamentals

10 Session 2 Streams and File I/O Multithreading

11 Session 3 Collections Interfaces and inheritance

12 Session 4 Concepts in Socket Programming Java Network Programming Implementing Socket based clients and servers in Java Java Beans

13 Session 5 Basic Database concepts Java Database Connectivity

14 Session 6 Java Servlets Java Server Pages

15 Day 7 RMI Enterprise Java Beans SWING

16 Session 8 AWT Event driven programming

17 Session 9 Java and XML XML and XSLT

18 Session 10 Java Native Interfaces Final Exam

Feedback Questions or Comments

20 Java Certification Programmer Developer Architect

21 Sun Certified Programmer for Java 2 Platform Exam number: Exam type: multiple choice/short answer No of questions: approximately 59 Pass score: 61% Test time: 2 hours

22 Sun Certified Developer for Java 2 Platform Exam Number: Exam Type: Code Example and Instructions Pass Score: 80% Test Time: Limited to life of the program.

23 Sun Certified Architect for Java 2 Platform Exam Number: Exam Type: multiple choice/short answer No. of Questions: approximately 60 Pass Score: 75% Test Time: 2 hours

24 Exam Registration Exam if offered by sylvan Prometric

25 Introduction to Java Language Programming Tool Virtual Machine Environment Framework of Classes/Interfaces

26 Advantages of Java Simple Portable Object oriented Interpreted Distributed Architecture neutral High performance Robust Multithreaded Secure Dynamic Quick development

27 First Java Program Source Code Example – Welcome.java Compiling and Running the first Java program –Create the program source file –Compile it using javac C:>javac Welcome.java –Run it using java C:>java Welcome

28 Parts of a Java program Class name The “main” method Variable declarations Assignment statements Program instructions Calls to other methods of other classes

29 Java Applets Java code HTML code Flavours of applets Applet example Running applets

30 Java Language Fundamentals Comments Data types Variables Reserved words (Java keywords)

31 Java Language Fundamentals Assignments Initializers Conversions between numeric types

32 Java Language Fundamentals Constants Operators Operator precedence Expression evaluation

33 Java Language Fundamentals Strings Concatenation Testing for equality

Feedback Questions or Comments

35 Control Flow Statement Expression Block Control structure

36 Conditional Statements if (condition) statement; else statement;

37 Loops while ( condition ) statement; for ( int i = 0; i < 5; i++ ) statement;

38 Multiple Selections switch ( variable ) { case :statement; break; case :statement; break; default:statement; }

39 Class Methods Program components – or functions Must be inside a class definition

40 Arrays Arrays are Objects in Java Creating an array Initializing an array Copying an array

41 Arrays Arrays may be passed to methods Arrays may be returned from methods

42 Multidimensional Arrays Matrix Array of Arrays

43 Objects and Classes A class is a “template” or a “blueprint” Objects are the “cookies” or “buildings”

44 Objects and Classes Creating new objects Data encapsulation

45 Objects Black-box approach Object’s behavior Object’s state Object’s identity Instances of a class

46 An Order Processing System Item Order Shipping address Payment Account

47 Methods Order.addItem Order.ship Order.cancel Payment.authorize

48 Relationship between Classes Uses Has-A Is-A

49 Traditional Programming Global Data function

50 Object Oriented Programming Object 1 Object 3 Object 2 method

51 Examples Card.java CardDeck.java EmployeeTest.java