1 / 16

Java Programming Language

3. Java Programming Language. Previously. What is a programming language? Set of grammatical rules for instructing a computer to perform specific tasks Languages by implementation Machine language; Assembly language Compiled languages; C, C++ Interpreted languages; Java

rogan-bray
Download Presentation

Java Programming Language

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. 3 Java Programming Language

  2. Previously • What is a programming language? • Set of grammatical rules for instructing a computer to perform specific tasks • Languages by implementation • Machine language; Assembly language • Compiled languages; C, C++ • Interpreted languages; Java • Language by paradigm • Simple initial design • Divide project into smaller and simpler subprojects • Pseudocode

  3. Overview • What’s Java? • Some history • Characteristics • Components • Type of programs • Development

  4. Java is a programming language Created by Sun Microsystems Often used for web programming Initially marketed as a web development system Java is not only for web programming General purpose programming language Very similar to C++ simplified! What’s Java?

  5. What Else? NOT JAVASCRIPT!!!!

  6. James Gosling - Sun Started 1991, Launched 1995 "write once, run anywhere" WORA There were five primary goals : It should be "simple, object oriented, and familiar". It should be "robust and secure". It should be "architecture neutral and portable". It should execute with "high performance". It should be "interpreted, threaded, and dynamic". NOT Licensed to Microsoft - $20M Some history

  7. Current 'Flavours' Java SE Standard Edition Java EE Enterprise Edition Servlets Java ME Micro Edition Optimised for mobile devices

  8. Object Oriented Concurrent Interpreted Modular There's a library for (nearly) everything! Internationalization - utf8 native Memory Management Error Handling Characteristics

  9. Components Byte Code Virtual Machine Operating System Hardware

  10. Development / Distribution JDK Development Toolkit Compiler Header Files JRE Runtime Environment Just what's needed to execute bytecode

  11. Type of programs • Applications • Has an entry point; static main method • Runable in a computer with JVM Library (y) Library (y) Library (y) Application Storage JVM OS

  12. Type of programs • Applets • GUI applications • Applet is a program written in the Java that can be included in an HTML page Applet Storage Web Server Library (y) Library (y) Library (y) Browser OS

  13. Type of programs • Servlets • Applications that run on the server side, so has an entry point • Normally used to extend functionality of a Web Library Library Storage Servlet Web Server JVM OS

  14. Type of programs • Libraries • Re-usable code • Cannot be run by itself; doesn’t have an entry point Library (y) Library (y) Library (y) Application Storage JVM OS

  15. Development • Java Development Kit (JDK) http://www.oracle.com/technetwork/java/javase/downloads/index.html • Eclipse Development Environment Penumbra is in http://wiki.eclipse.org/Eclipse_IDE_for_Education • Documentation for Java libraries http://download.oracle.com/javase/6/docs/api/ • Tutorial http://download.oracle.com/javase/tutorial/index.html

  16. Eclipse Rapid Application Development Very Powerful Most commonly used RAD today For (just about) all Languages Can be very complex So - we are using Penumbra Special Educational Edition

More Related