1 / 16

Introduce to Java

Introduce to Java. Outline. History of Java Something about Java Brief introduction to Java programming Java Technologies Tools & Tips. History of Java. Java technology was created as a programming tool in a small, closed-door project in 1991

anika-combs
Download Presentation

Introduce to Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduce to Java

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

  3. History of Java • 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 • 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

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

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

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

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

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

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

  10. JMF • The Java Media Framework API (JMF) • 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 • Supported Formats • AIFF • AVI • GSM • HotMedia (IBM) • MIDI • MPEG-1 (An MPEG-4 extension is provided by IBM) • QuickTime (Apple) • Wave • AU (Sun) • RTP – H.261, H.263, G.721, G.723 … 視訊會議壓縮標準

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

  12. Tips • 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) • Make code more reusable • Think more before you start it • Do not apply the old function-based thinking to your java program

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

More Related