Introduce to Java - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Introduce to Java

Description:

Introduce to Java – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 17
Provided by: Juli3262
Category:

less

Transcript and Presenter's Notes

Title: Introduce to Java


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
(No Transcript)
6
(No Transcript)
7
The Java Platform
  • The Java platform has two components
  • The Java Virtual Machine (Java VM)
  • The Java Application Programming Interface (Java
    API)

8
(No Transcript)
9
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
    interoperable business applications

10
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

11
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

12
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

13
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

????????
14
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

15
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

16
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 ?? ?????
Write a Comment
User Comments (0)
About PowerShow.com