Introduce to Java. Outline History of Java History of Java Something about Java Something about Java Brief introduction to Java programming Brief introduction.

Slides:



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

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.
 Multimedia is everything you can hear or see: texts, books, pictures, music, sounds, CDs, videos, DVDs, Records, Films, and more.  Multimedia comes.
Introduction to Java The objectives of this chapter are: To describe the key aspects of Java To describe the Java software development kit (SDK) To explain.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
1 L45 Multimedia: Applets and Applications. 2 OBJECTIVES  How to get and display images.  To create animations from sequences of images.  To create.
Presentation Outline  Project Aims  Introduction of Digital Video Library  Introduction of Our Work  Considerations and Approach  Design and Implementation.
Introduction to Java Kiyeol Ryu Java Programming Language.
Introduction to Java Programming, 4E
Presentation Outline  Project Aims  Introduction of Digital Video Library  Introduction of Our Work  Considerations and Approach  Design and Implementation.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
J2EE Java2 Enterprise Edition by Damian Borth. Contents Introduction Architectures styles Components Scenarios Roles Processing a HTTP request.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
For more Lectures and Notes Visit
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Outline of Presentation Introduction of digital video libraries Introduction of the CMU Informedia Project Informedia: user perspective Informedia:
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
Understanding and Managing WebSphere V5
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
Introduction to Java Programming. Contents 1. Java, etc. 2. Java's Advantages 3. Java's Disadvantages 4. Types of Java Code 5. Java Bytecodes 6. Steps.
A Java Virtual Machine (JVM) enables a set of computer software programs and data structures to use a virtual machine model for the execution of other.
EE2E1. JAVA Programming Introduction Dr. Mike Spann
BA22001 Introduction to Java Instructor: Jingwu He.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Lecturer PEN PHIROM Tel : Web site: Lecturer PEN PHIROM Tel :
Sadegh Aliakbary Sharif University of Technology Spring 2011.
Programming Fundamentals 2: Background/ F II Objectives – –give a non-technical overview of Java Semester 2, Background.
Talarian Proprietary Talarian’s New JMS Offering and Sun Partnership.
 2003 Prentice Hall, Inc. All rights reserved. 1 Java Training Course Dr. H.E. Dunsmore Purdue University Java – How to Program, Deitel (5 th Edition)
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Programming Languages Machine.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Computers,
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Programs,
第十四章 J2EE 入门 Introduction What is J2EE ?
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 8 Implementing Java Programs.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
Introduction to Java Programming with Forte Y. Daniel Liang.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Session 1 Introduction to Java. Objectives Java Simplified / Session 1 / 2 of 32 Explain the history of Java Explain Java in brief List the types of Java.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.” Instructor: รัฐภูมิ เถื่อนถนอม
Application Architecture Using Java Hong Li. Introduction Developed by a team led by James Gosling at Sun Microsystem. Originally called Oak, designed.
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.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to.
Java – in context Main Features From Sun Microsystems ‘White Paper’
ProgrammingLanguages Programming Languages The Twenty First Century This lesson introduces the programming languages of the 21 st century: Internet (Web)-
Java Programming: Advanced Topics1 Introduction to Advanced Java Programming Chapter 1.
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Introduction to Computers,
Introduction to JAVA Programming
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.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
2.1 Introduction to Java Technology
Chapter 1 Introduction to Computers, Programs, and Java
Introduction to Advanced Java Programming
Advanced Programming Fall 2017.
Lesson 5: Multimedia on the Web
F II 1. Background Objectives
A Brief History January 1996: first official release JDK 1.0
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:

Introduce to Java

Outline History of Java History of Java Something about Java Something about Java Brief introduction to Java programming Brief introduction to Java programming Java Technologies Java Technologies Tools & Tips Tools & Tips

History of Java Java technology was created as a programming tool in a small, closed-door project in 1991 Java technology was created as a programming tool in a small, closed-door project in 1991 But creating a new language wasn't even the point But creating a new language wasn't even the point In 1991, this new language was called “ Oak ” In 1991, this new language was called “ Oak ” The first target of Java was to create an interactive environment for digital cable TV. But it failed. So it turn to the Internet The first target of Java was to create an interactive environment for digital cable TV. But it failed. So it turn to the Internet

Something about Java Java technology is both a programming language and a platform Java technology is both a programming language and a platform The Java programming language is a high-level language The Java programming language is a high-level language Simple Simple Architecture neutral Architecture neutral Object oriented Object oriented Portable Portable Distributed Distributed High performance High performance Interpreted Interpreted Multithreaded Multithreaded Robust Robust Dynamic Dynamic Secure Secure

The Java Platform The Java platform has two components: The Java platform has two components: The Java Virtual Machine (Java VM) The Java Virtual Machine (Java VM) The Java Application Programming Interface (Java API) The Java Application Programming Interface (Java API)

Editions of Java Tech. J2SE (Java 2 Standard Edition) J2SE (Java 2 Standard Edition) Includes basic APIs and runtime Includes basic APIs and runtime J2ME (Java 2 Micro Edition) J2ME (Java 2 Micro Edition) A highly optimized Java runtime environment A highly optimized Java runtime environment Specifically addresses the vast consumer space, which covers the range of extremely tiny commodities Specifically addresses the vast consumer space, which covers the range of extremely tiny commodities J2EE (Java 2 Enterprise Edition) J2EE (Java 2 Enterprise Edition) J2EE technology and its component based model simplifies enterprise development and deployment J2EE technology and its component based model simplifies enterprise development and deployment to enable development of secure, robust and interoperable business applications to enable development of secure, robust and interoperable business applications

The First Step Development environment Development environment J2SDK (1.3 or 1.4) J2SDK (1.3 or 1.4) Java API doc (Do not try to access it online) Java API doc (Do not try to access it online) Runtime environment Runtime environment J2RE (Java 2 Runtime Environment) J2RE (Java 2 Runtime Environment) Install it if you want to run any java application or applet without installing J2SDK Install it if you want to run any java application or applet without installing J2SDK IDE? IDE? JBuilder JBuilder NetBeans/Forte NetBeans/Forte Eclipse/WSAD Eclipse/WSAD IntelliJ IntelliJ

Java Technologies Web Web Applet/Java Web start Applet/Java Web start Servlet/JSP Servlet/JSP Enterprise Enterprise EJB (Enterprise Java Bean) EJB (Enterprise Java Bean) JMS (Java Messaging Service) JMS (Java Messaging Service) JDBC (Java database connection) JDBC (Java database connection) Security Security JCE (Java Cryptography Extension) JCE (Java Cryptography Extension) JSSE (Java secure socket extension) JSSE (Java secure socket extension) Image, Speech & Multimedia Image, Speech & Multimedia JAI (Java Advanced Imaging) JAI (Java Advanced Imaging) Java 3D Java 3D JMF (Java Media Framework) JMF (Java Media Framework) Java Sound API Java Sound API Java Speech API Java Speech API

JAI Function of JAI Function of JAI Image I/O Image I/O Color space Color space Image Manipulation Image Manipulation Image Enhancement Image Enhancement Geometric Image Manipulation Geometric Image Manipulation Image Analysis Image Analysis Graphics Rendering (2D) Graphics Rendering (2D) Applications of JAI Applications of JAI Defense and Intelligence Defense and Intelligence Geospatial Data Processing Geospatial Data Processing Document Image Processing Document Image Processing Bioinformatics Bioinformatics Applied Research Applied Research Digital Photography Digital Photography E-Commerce and Retail Teaching E-Commerce and Retail Teaching

JMF The Java Media Framework API (JMF) The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to Java applications and applets enables audio, video and other time-based media to be added to Java applications and applets can capture, playback, stream and trans code multiple media formats can capture, playback, stream and trans code multiple media formats Supported Formats Supported Formats AIFF AIFF AVI AVI GSM GSM HotMedia (IBM) HotMedia (IBM) MIDI MIDI MPEG-1 (An MPEG-4 extension is provided by IBM) MPEG-1 (An MPEG-4 extension is provided by IBM) QuickTime (Apple) QuickTime (Apple) Wave Wave AU (Sun) AU (Sun) RTP – H.261, H.263, G.721, G.723 … RTP – H.261, H.263, G.721, G.723 … 視訊會議壓縮標準

Development tools for Java Borland JBuilder Borland JBuilder The newest version is 9 The newest version is 9 Ease to develop GUI applications in Java Ease to develop GUI applications in Java Commercial product (costs money) Commercial product (costs money) NetBeans ( NetBeans ( Ease to develop GUI applications in Java Ease to develop GUI applications in Java Free & open source Free & open source Eclipse ( Eclipse ( Lacks of visualized GUI design tools Lacks of visualized GUI design tools Ease to management codes & projects Ease to management codes & projects Good integration in embedded tools Good integration in embedded tools Open & Highly extendable Open & Highly extendable Free & Open source Free & Open source Intelli J Intelli J

Tips It is a good habit to add JavaDoc comments in your codes It is a good habit to add JavaDoc comments in your codes Do not put too many classes into a single source file (one source file, one class) Do not put too many classes into a single source file (one source file, one class) Make code more reusable Make code more reusable Think more before you start it Think more before you start it Do not apply the old function-based thinking to your java program Do not apply the old function-based thinking to your java program

References Thinking in Java Thinking in Java Home site of Java Home site of Java Useful techniques for enterprise java Useful techniques for enterprise java Useful open source Java Useful open source Java Julian Shen 提供 井民全修改