Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Introduce to Java. Outline History of Java History of Java Something about Java Something about Java Brief introduction to Java programming Brief introduction."— Presentation transcript:

1 Introduce to Java

2 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

3 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

4 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

5

6

7 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)

8

9 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

10 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

11 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

12 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

13 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 … 視訊會議壓縮標準

14 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 (www.netbeans.org) NetBeans (www.netbeans.org) Ease to develop GUI applications in Java Ease to develop GUI applications in Java Free & open source Free & open source Eclipse (www.eclipse.org) Eclipse (www.eclipse.org) 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

15 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

16 References Thinking in Java Thinking in Java http://www.mindview.net/Books/TIJ/ http://www.mindview.net/Books/TIJ/ http://www.mindview.net/Books/TIJ/ Home site of Java Home site of Java http://www.javasoft.com http://www.javasoft.com http://www.javasoft.com Useful techniques for enterprise java Useful techniques for enterprise java http://www.theserverside.com http://www.theserverside.com http://www.theserverside.com Useful open source Java Useful open source Java http://jakarta.apache.org http://jakarta.apache.org http://jakarta.apache.org Julian Shen 提供 井民全修改


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

Similar presentations


Ads by Google