1 / 15

Chapter 1

Chapter 1. Section 56 – An Introduction to Java. Chapter Objectives. Describe characteristics of Java Explain the uses of Java and identify types of Java programs. Introduction. A program is a step-by-step series of instructions for a computer

myra-snyder
Download Presentation

Chapter 1

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. Chapter 1 Section 56 – An Introduction to Java

  2. Chapter Objectives • Describe characteristics of Java • Explain the uses of Java and identify types of Java programs

  3. Introduction • A program is a step-by-step series of instructions for a computer • Computer programming is the process of writing these instructions • Programmers, or developers, design and write programs using a programming language or development tool • Java is a programming language that provides the structure for efficient and economical programs

  4. What Is Java? • High-level language • Object-oriented • Data and operations are packaged into a single unit called an object • Basic syntax derived from C, C++, and Smalltalk • Designed by a team from Sun Microsystems led by James Gosling in the early 1990’s

  5. What Is Java? • Parsimonious • Compatible with older versions • Robust • Strongly typed and incorruptible data • Secure • Protection against misuse of code • Portable • Platform-independent

  6. Java Program Types • Console and Windowed applications • Applets • Servlets • Web Services • JavaBeans

  7. Console Applications • Stand-alone programs using a command-line interface

  8. Windowed Applications • Stand-alone programs using a graphical user interface (GUI)

  9. Applets • Client-side programs executed as part of a displayed Web page

  10. Servlets • Server-side programs hosted and run on a Web server • Used in conjunction with Java Server Pages (JSP) to provide sophisticated server-side logic • Enable connections to server databases through Java Database Connectivity (JDBC)

  11. Servlets

  12. Web Services • Services receive information requests over the Web and return the requested data

  13. JavaBeans • Reusable software components

  14. Summary • Java is a high-level object oriented programming language • Has Objects, Methods, Functions, Parameters! • Uses conditional statements, loops, etc • There are different Java Program Types but the underlying code is all JAVA and very similar.

  15. Rest of Today • Complete your Alice Web Page and show me the results.

More Related