logging in or signing up An Introduction to Java.pps kaushik_vijay Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 53 Category: Science & Tech.. License: All Rights Reserved Like it (0) Dislike it (0) Added: January 06, 2012 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... By: kr8141 (1 month(s) ago) This is fraud company see the consumer complints with proof by typing JSON SYSTEMS pvt ltd in google Saving..... Post Reply Close Saving..... Edit Comment Close By: kaushik_vijay (4 month(s) ago) its Java introduction ppt. for fresher candidates in IT industry Saving..... Post Reply Close Saving..... Edit Comment Close Premium member Presentation Transcript An Introduction to Java: 1 An Introduction to Java A short story of making Java Java as a Programming Platform Java “White Paper” Buzzwords www.jsonsystems.netA short story of making Java: 2 A short story of making Java This section gives a short story of Java evolution. It is based on various published sources (most important, on an interview with Java’s creators in the July 1995 issue of Sun-world’s on –line magazine) Java goes back to 1991, when a group of Sun engineers, led by Patrick Naughton and Sun Fellow James Gosling, wanted to design a small computer language that could be used for consumer devices like cable TV switchboxes. Because these devices do not have a lot of power or memory, the language had to be small and generate very tight code. Contd… www.jsonsystems.netA short story of making Java: 3 A short story of making Java Also, because different manufactures may choose different CPUs, it was important that the language not be tied to any single architecture. These are often called virtual machines The Project was code-named “Green.” The Sun people , come from UNIX background, so they based their language on C++ rather than Pascal. They made the language object oriented rather than procedure oriented. But as Gosling says in the interview,” All along, the language was a tool, not the end .” So he decided to call his language “Oak”. But Oak was the name of existing computer language. So they changed the name to Java. Contd… www.jsonsystems.netA short story of making Java: 4 A short story of making Java In 1992, the Green project delivered it first product, called “*7”. It was an extremely intelligent remote control. The Green project( with a new name of “First Person, Inc.”) spent all of 1993 and half of 1994. First Person was dissolved in 1994. The key to the Web is the browser that translates the hypertext page to the screen. In, most people were using Mosaic, noncommercial Web browser that came out of the supercomputing center at the University of Illinois in 1993. In the SunWorld interview, Gosling says that in mid-1994, the language developers realised that “ we could build a real cool browser. this was built by Patrick Naughton and Jonathan Payne and evolved into the Hot Java browser.( Applet) Contd.. www.jsonsystems.netA short story of making Java: 5 A short story of making Java This “ proof of technology” was shown at SunWorld ’95 on May 23.1995. The first version 1.0 of Java in early 1996. In 1998 JavaOne conference was the upcoming release of Java 1.2 with GUI and other toolkits. Three days after its release in Dec. 1998 changed the name to the Java 2 Standard Edition Software Development Kit Version 1.2. Besides the “ Standard Edition, ” two other edition were introduced: the “ Micro Edition ” for embedded devices such as cell phones. and “ Enterprise Edition ” for server-side processing. Version 1.3 and 1.4 of the Standard Edition are incremental improvements over the initial java 2release. Version 5.0 is the first release since version 1.0 that updates the Java language in significant ways. (Its actually numbered 1.5 ) www.jsonsystems.netJava as a Programming Platform: 6 Java as a Programming Platform Java was never just a language. Java is a whole platform, with a huge library, containing lots of reusable code, and an execution environment that provides services such as security, portability across operating systems, and automatic garbage collection. Java Technology introduced by Sun Microsystems is consists of three essential components. Programming Language Specification (Applet & Application) Application Programming interfaces (API) Virtual Machine Specification (JVM) www.jsonsystems.netJava as a Programming Platform: 7 Java as a Programming Platform “As a computer language, Java’s hype is overdone: java is certainly a good programming language. There is no doubt that it is one of the better language available to serious programmers. The Java Language can best to characterized as a (Objects oriented Programming), Architecture-neutral, distributed, and multithreaded programming language. Java API:- The API for Java consists of a base API and a standard extension API. Its provides basic language support for graphics, I/O utilities, and networking. The standard extension API includes support for enterprises, commerce, security and media( its part of Base API) Contd… www.jsonsystems.netJava as a Programming Platform: 8 Java as a Programming Platform Host Machine Myjava.java Prog.java Myjava.class Prog.class Java Compiler Class Loader Java Interpreter Compile- Time Environment Java API .class Files Run-Time Environment (Java- Platform) Java Development Environment Contd… www.jsonsystems.netJava as a Programming Platform: 9 Java as a Programming Platform The Java Architecture Java needed to be able to run securely over a network and , at the same time, work on a wide range of platforms. Java fulfills all of these goals and more. How these possible …? How Java Works As with many other programming languages, Java uses a complier to convert human-readable source code into executable programs. It contrast , the Java complier generates Architecture-Independent bytecodes. The bytecodes can be executed by only a Java Virtual Machine (VM), which is an idealized java architecture, usually implemented in software rather than hardware. Java bytecodes files are called class files because they contain a single java class. Contd.. www.jsonsystems.netJava as a Programming Platform: 10 Java as a Programming Platform Java Virtual Machine CA FE BA BE 00 03 CA FE BA BE 00 03 SERVER SERVER Additional class files needed by the program may be stored on another server GraphWindow.class Consisting of Java bytecode in a class file Main Program NETWORK CLIENT SYSTEM Class Loader Bytecode Verifier Execution Unit CA FE BA BE 00 03 JAVA VIRTUAL MACHINE Additional class files needed by the program may be stored on the client machine The JVM fetches classes from a disk or from the network and then verify that the byte code are safe to be executed www.jsonsystems.netJava “White Paper” Buzzwords: 11 Java “White Paper” Buzzwords As a programmer you will want a language with a pleasant syntax and comprehensible semantics( i.e., not C++). Java fits the bill, as do dozens of other fine language. Some languages give you portability, garbage collection, and the like, but they don’t have much of a library, forcing you to roll your own if you want fancy graphics or networking or database access. Well , Java has everything-a good language, a high-quality execution environment, and a vast library. That combination is what makes Java an irresistible proposition to so many programmers. www.jsonsystems.netJava “White Paper” Buzzwords: 12 Java “White Paper” Buzzwords We think of each buzzword, based on our experience with the current version of Java. The White Paper can be found at http ://java.sun.com/docs/white/langenv/. The summary with the 11 buzzword is at ftp:// ftp.javasoft.com/docs/papers/java-overview.ps. contd… www.jsonsystems.netJava “White Paper” Buzzwords: 13 Java “White Paper” Buzzwords Simple Object oriented Distributed Robust Secure Architecture Neutral Portable Interpreted High Performance Multithreaded and Dynamic www.jsonsystems.netJava Program: 14 Java Program Write a program use Notepad and other Editor also. public class Hello { public static void main(String arg[]) { System.out.println("Hello Java World"); } } Save as Hello.java file and compile it through DOS prompt like C:\javac Hello.java press entre www.jsonsystems.netJava Program Output: 15 Java Program Output www.jsonsystems.netNow, Say to Yes for Java: 16 Now, Say to Yes for Java The reasons so much attention has been paid to Java are summarized in the following list of what Java allows developers to do: Write robust and reliable programs Build applications on almost any platform and run those applications on any other supported platforms without recompiling the code Distribute application over an untrusted network in a trusted fashion. www.jsonsystems.netBest of luck : 17 Best of luck www.jsonsystems.net www.jsonsystems.net You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
An Introduction to Java.pps kaushik_vijay Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 53 Category: Science & Tech.. License: All Rights Reserved Like it (0) Dislike it (0) Added: January 06, 2012 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... By: kr8141 (1 month(s) ago) This is fraud company see the consumer complints with proof by typing JSON SYSTEMS pvt ltd in google Saving..... Post Reply Close Saving..... Edit Comment Close By: kaushik_vijay (4 month(s) ago) its Java introduction ppt. for fresher candidates in IT industry Saving..... Post Reply Close Saving..... Edit Comment Close Premium member Presentation Transcript An Introduction to Java: 1 An Introduction to Java A short story of making Java Java as a Programming Platform Java “White Paper” Buzzwords www.jsonsystems.netA short story of making Java: 2 A short story of making Java This section gives a short story of Java evolution. It is based on various published sources (most important, on an interview with Java’s creators in the July 1995 issue of Sun-world’s on –line magazine) Java goes back to 1991, when a group of Sun engineers, led by Patrick Naughton and Sun Fellow James Gosling, wanted to design a small computer language that could be used for consumer devices like cable TV switchboxes. Because these devices do not have a lot of power or memory, the language had to be small and generate very tight code. Contd… www.jsonsystems.netA short story of making Java: 3 A short story of making Java Also, because different manufactures may choose different CPUs, it was important that the language not be tied to any single architecture. These are often called virtual machines The Project was code-named “Green.” The Sun people , come from UNIX background, so they based their language on C++ rather than Pascal. They made the language object oriented rather than procedure oriented. But as Gosling says in the interview,” All along, the language was a tool, not the end .” So he decided to call his language “Oak”. But Oak was the name of existing computer language. So they changed the name to Java. Contd… www.jsonsystems.netA short story of making Java: 4 A short story of making Java In 1992, the Green project delivered it first product, called “*7”. It was an extremely intelligent remote control. The Green project( with a new name of “First Person, Inc.”) spent all of 1993 and half of 1994. First Person was dissolved in 1994. The key to the Web is the browser that translates the hypertext page to the screen. In, most people were using Mosaic, noncommercial Web browser that came out of the supercomputing center at the University of Illinois in 1993. In the SunWorld interview, Gosling says that in mid-1994, the language developers realised that “ we could build a real cool browser. this was built by Patrick Naughton and Jonathan Payne and evolved into the Hot Java browser.( Applet) Contd.. www.jsonsystems.netA short story of making Java: 5 A short story of making Java This “ proof of technology” was shown at SunWorld ’95 on May 23.1995. The first version 1.0 of Java in early 1996. In 1998 JavaOne conference was the upcoming release of Java 1.2 with GUI and other toolkits. Three days after its release in Dec. 1998 changed the name to the Java 2 Standard Edition Software Development Kit Version 1.2. Besides the “ Standard Edition, ” two other edition were introduced: the “ Micro Edition ” for embedded devices such as cell phones. and “ Enterprise Edition ” for server-side processing. Version 1.3 and 1.4 of the Standard Edition are incremental improvements over the initial java 2release. Version 5.0 is the first release since version 1.0 that updates the Java language in significant ways. (Its actually numbered 1.5 ) www.jsonsystems.netJava as a Programming Platform: 6 Java as a Programming Platform Java was never just a language. Java is a whole platform, with a huge library, containing lots of reusable code, and an execution environment that provides services such as security, portability across operating systems, and automatic garbage collection. Java Technology introduced by Sun Microsystems is consists of three essential components. Programming Language Specification (Applet & Application) Application Programming interfaces (API) Virtual Machine Specification (JVM) www.jsonsystems.netJava as a Programming Platform: 7 Java as a Programming Platform “As a computer language, Java’s hype is overdone: java is certainly a good programming language. There is no doubt that it is one of the better language available to serious programmers. The Java Language can best to characterized as a (Objects oriented Programming), Architecture-neutral, distributed, and multithreaded programming language. Java API:- The API for Java consists of a base API and a standard extension API. Its provides basic language support for graphics, I/O utilities, and networking. The standard extension API includes support for enterprises, commerce, security and media( its part of Base API) Contd… www.jsonsystems.netJava as a Programming Platform: 8 Java as a Programming Platform Host Machine Myjava.java Prog.java Myjava.class Prog.class Java Compiler Class Loader Java Interpreter Compile- Time Environment Java API .class Files Run-Time Environment (Java- Platform) Java Development Environment Contd… www.jsonsystems.netJava as a Programming Platform: 9 Java as a Programming Platform The Java Architecture Java needed to be able to run securely over a network and , at the same time, work on a wide range of platforms. Java fulfills all of these goals and more. How these possible …? How Java Works As with many other programming languages, Java uses a complier to convert human-readable source code into executable programs. It contrast , the Java complier generates Architecture-Independent bytecodes. The bytecodes can be executed by only a Java Virtual Machine (VM), which is an idealized java architecture, usually implemented in software rather than hardware. Java bytecodes files are called class files because they contain a single java class. Contd.. www.jsonsystems.netJava as a Programming Platform: 10 Java as a Programming Platform Java Virtual Machine CA FE BA BE 00 03 CA FE BA BE 00 03 SERVER SERVER Additional class files needed by the program may be stored on another server GraphWindow.class Consisting of Java bytecode in a class file Main Program NETWORK CLIENT SYSTEM Class Loader Bytecode Verifier Execution Unit CA FE BA BE 00 03 JAVA VIRTUAL MACHINE Additional class files needed by the program may be stored on the client machine The JVM fetches classes from a disk or from the network and then verify that the byte code are safe to be executed www.jsonsystems.netJava “White Paper” Buzzwords: 11 Java “White Paper” Buzzwords As a programmer you will want a language with a pleasant syntax and comprehensible semantics( i.e., not C++). Java fits the bill, as do dozens of other fine language. Some languages give you portability, garbage collection, and the like, but they don’t have much of a library, forcing you to roll your own if you want fancy graphics or networking or database access. Well , Java has everything-a good language, a high-quality execution environment, and a vast library. That combination is what makes Java an irresistible proposition to so many programmers. www.jsonsystems.netJava “White Paper” Buzzwords: 12 Java “White Paper” Buzzwords We think of each buzzword, based on our experience with the current version of Java. The White Paper can be found at http ://java.sun.com/docs/white/langenv/. The summary with the 11 buzzword is at ftp:// ftp.javasoft.com/docs/papers/java-overview.ps. contd… www.jsonsystems.netJava “White Paper” Buzzwords: 13 Java “White Paper” Buzzwords Simple Object oriented Distributed Robust Secure Architecture Neutral Portable Interpreted High Performance Multithreaded and Dynamic www.jsonsystems.netJava Program: 14 Java Program Write a program use Notepad and other Editor also. public class Hello { public static void main(String arg[]) { System.out.println("Hello Java World"); } } Save as Hello.java file and compile it through DOS prompt like C:\javac Hello.java press entre www.jsonsystems.netJava Program Output: 15 Java Program Output www.jsonsystems.netNow, Say to Yes for Java: 16 Now, Say to Yes for Java The reasons so much attention has been paid to Java are summarized in the following list of what Java allows developers to do: Write robust and reliable programs Build applications on almost any platform and run those applications on any other supported platforms without recompiling the code Distribute application over an untrusted network in a trusted fashion. www.jsonsystems.netBest of luck : 17 Best of luck www.jsonsystems.net www.jsonsystems.net