Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Instructor: รัฐภูมิ   เถือนถนอม                           ่  Email: ratapoom@orjix.com                             JAVA Pr...
About the Java Technology        The Java Programming Language             • Java technology is both a programming        ...
About the Java Technology        The Java Programming Language             • Write once, run anywhereJava VM, the same app...
About the Java TechnologyThe Java Platform      • A platform is the hardware or software        environment in which a pro...
“Hello World” for Microsoft Windows               • Checklist                   •   The Java SE Development Kit (JDK6)    ...
Java APIsApplication Programming Interface      • Java Platform, Standard Edition (Java SE)          •   lets you develop ...
Code Conventionsfor Java Programming      • Filenames, file organization, indentation,        comments, declarations, stat...
Software Development Knowledge               Programming and TechnologiesSoftware Analysis and Design   Software Developme...
References   • http://java.sun.com/docs/books/tutorial/essentia     l/index.html   • http://java.sun.com/   • http://www.e...
References   • http://java.sun.com/docs/books/tutorial/essentia     l/index.html   • http://java.sun.com/   • http://www.e...
Upcoming SlideShare
Loading in …5
×

Basic javaprogramming(session1)

254 views

Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this

Basic javaprogramming(session1)

  1. 1. Instructor: รัฐภูมิ เถือนถนอม ่ Email: ratapoom@orjix.com JAVA Programming“When you are willing to make sacrifices for agreat cause, you will never be alone.”
  2. 2. About the Java Technology The Java Programming Language • Java technology is both a programming language and a platform • High-level language • Simple • Object oriented • Distributed • Multithreaded • Portable • Robust • High performanceBytecodes — the machine language of the Java Virtual Machin
  3. 3. About the Java Technology The Java Programming Language • Write once, run anywhereJava VM, the same application is capable of running on multip
  4. 4. About the Java TechnologyThe Java Platform • A platform is the hardware or software environment in which a program runs • The Java platform has two components • The Java Virtual Machine • The Java Application Programming Interface (API) • A large collection of ready-made software components • Grouped into libraries of related classes and interfaces; these libraries are known as packages
  5. 5. “Hello World” for Microsoft Windows • Checklist • The Java SE Development Kit (JDK6) • A text editor (Notepad) • Eclipse (Integrated Development Environment)/**  * The HelloWorldApp class implements an application that  * simply prints "Hello World!" to standard output.  */class HelloWorldApp {      public static void main(String[] args) {          System.out.println("Hello World!"); // Display the string.     }}
  6. 6. Java APIsApplication Programming Interface • Java Platform, Standard Edition (Java SE) • lets you develop and deploy Java applications on desktops and servers • Java Platform, Enterprise Edition (Java EE) • the industry standard for implementing enterprise- class service-oriented architecture (SOA) and next- generation web applications • Java Platform, Micro Edition (Java ME) • a robust, flexible environment for applications running on mobile and other embedded devices
  7. 7. Code Conventionsfor Java Programming • Filenames, file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices • 80% of the lifetime cost of a piece of software goes to maintenance. • Hardly any software is maintained for its whole life by the original author. • Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly. • http:// java.sun.com/docs/codeconv/html/CodeConvTOC.doc.htm
  8. 8. Software Development Knowledge Programming and TechnologiesSoftware Analysis and Design Software Development Process (Object-oriented) and Management
  9. 9. References • http://java.sun.com/docs/books/tutorial/essentia l/index.html • http://java.sun.com/ • http://www.eclipse.org/ • http://java.sun.com/docs/codeconv/html/Code ConvTOC.doc.html
  10. 10. References • http://java.sun.com/docs/books/tutorial/essentia l/index.html • http://java.sun.com/ • http://www.eclipse.org/ • http://java.sun.com/docs/codeconv/html/Code ConvTOC.doc.html

×