Advanced Java - Jharkhand Rai University

1y ago
5 Views
1 Downloads
5.11 MB
212 Pages
Last View : 28d ago
Last Download : 3m ago
Upload by : Ciara Libby
Transcription

Advanced Java Sudhanshu Maurya, Published by - Jharkhand Rai University

Subject: ADVANCED JAVA Credits: 4 SYLLABUS Overview Of Java Brief history of Java, Java and the web, Java architecture, Basics of a typical Java environment, Java applicationsvs. Java applets, Java Development Kit (JDK) Java and other High level Languages: Comparison of Java with other high level languages, Importance and limitations of Java. Object-oriented Programming Classes and objects, class variables and methods, writing classes, subclasses, files Object-Oriented concepts in Java: Classes in Java, Encapsulation, Polymorphism, Constructors, Garbage collection. Java Programming Design Java’s built-in data types, Java’s inner classes, Operators. Flow-Control Statements Conditional statements, Loop statements, Flow-breaking statements. Reusing Classes Composition syntax, Inheritance syntax, Combining Composition and inheritance, Protected, Incremental development, Initializing and class loading. Introduction to objects The progress of abstraction, Inheritance: reusing the interface, Interchangeable objects with polymorphism, Multithreading, Persistence. Exception Handling And Threading In Java Why use exception handling, Hierarchy of exception classes, Exception handling constructs, Methods available to exceptions, Creating own exception classes Threading: Creating and running a thread, Threadcontrol methods, Thread life cycle, Thread groups, Thread synchronization, Inter-thread communications, Priorities and scheduling, thread local variables, Daemon threads. Event Handling Ignoring the event, Handling the component in the originating component, Delegating the event Java’s Event Types: Adjustment events, Ancestor events, Component events, Container events, Focus events, Input method events, Internal frame events, Item events, Key events, menu events, Mouse events, Paint events, Pop-up menu events, Text events, Window events. Windows Toolkit Java abstract windowing toolkit, Networking, Modifiers, Packages and interfaces. Suggested Reading: Gosling, James, A brief history of the Green project. Java.net, no date Gosling, James, A brief history of the Green project. anonymous-insider.net, no date

Gosling, James; Joy, Bill; Steele, Guy L., Jr.; Bracha, Gilad . Lindholm, Tim; Yellin, Frank Patrick Naughton: Java Was Strongly Influenced by Objective-C David Bank: The Java Saga. Patrick Naughton: The Long Strange Trip to Java is-research GmbH: List of programming languages for a Java Virtual Machine How Java's Floating-Point Hurts Everyone Everywhere

ADVANCED JAVA ADVANCED JAVA SEM-III COURSE OVERVIEW Accurate programming is the primary need of any Computer subject introduces the student to the concepts in the study of Science application. Software Engineering techniques provide Object oriented programming using classes, It familiarizes the one such means of estimating almost accurately the estimated students with the various methods for handling events time required for writing accurate codes and testing data. occurring from users use of keyboard keys and mouse Analysis of such a user data and his requirements present the movements. Also the student understands Exception Handling usefulness of the information. The techniques thus form the methods. basis of all engineering designs and is one singular most The students on completion of the course shall develop the important subject of study for all Computer Software Special- following skills and competencies: ists. It develops an understanding of the built-in errors of a. Basics of Java Programming. common nature. b. Use of Objects and classes. The aim of this subject is to develop students’ understanding c. Graphical user Interface. of the concepts of Java Programming. In particular the subject d . Event and Exception Handling. is designed to develop the underpinning knowledge and skills e. File I/O handling. required to write complex programs and test procedures. This f. Database connectivity. i

CONTENT ADVANCED JAVA . Lesson No. Topic Lesson Plan Page No. ii Object Oriented Programming - Concepts Lesson 1 Overview of Java 1 Lesson 2 Basic of Java Programming 3 Lesson 3 Describing objects & classes 8 Lesson 4 Java Programming Constructs 16 Working with Java Programs Lesson 5 Examples and Excercises 23 Lesson 6 Working with Objects and Classes 25 Lesson 7 Conditionals and storing values 32 Lesson 8 Looping techniques 36 Advanced Applications in Java – Advanced Lesson 9 Creating Classes and Applications in Java 40 Lesson 10 More About Methods 46 Lesson 11 Working with Applets 55 Using advanced Graphical interface Lesson 12 Graphics and Fonts 62 Lesson 13 Using Fonts and Color Objects 68 Lesson 14 Simple Animation and Threads 72 Lesson 15 Reducing Animation Screen Flickers 76 Lesson 16 More Animation, Images, and Sound 82 Lesson 17 Retrieving and Using Sounds 90 Lesson 18 Creating Animation 93 Throwing Exceptions in Java Lesson 19 Catching Exceptions 98 iii

ADVANCED JAVA ADVANCED JAVA CONTENT . Lesson No. Topic Page No. Threading in Java Lesson 20 Multithreading 104 Events Management Lesson 21 Interpreting Events and performing actions 111 Lesson 22 Handling UI Actions and Events 120 Windows Toolkit Lesson 23 The Java Abstract Windowing Toolkit 129 Lesson 24 Networking 136 Lesson 25 Using AWT Windows in Stand-Alone Applications 140 Lesson 26 Modifiers 146 Lesson 27 Packages and Interfaces 152 Reading And Writing Files Lesson 28 Streaming - Input 159 Lesson 29 Streaming - Output 166 Database Connectivity Lesson 30 Maintaining Safety 172 Lesson 31 JDBC – Examples & Exercises 176 Database Connectivity Lesson 32 Built in Optimizations 180 Lesson 33 The Java Virtual Machine 186 Lesson 34 The Garbage Collector 192 Lesson 35 The Java Class Hierarchy 200 L* Lecture Hours (1.5 hours per lecture) iv

LESSON-1 OVERVIEW OF JAVA Before you can start writing Java programs, you need acquire and set up some kind of Java programming software. Although several different products are available for the development of Java programs, including many terrific once that make programming much easier, the starting place for the most new Java programmers is the Software Development Kit, a set of tools for writing, debugging , and running Java programs. All of the examples in this lesson use the Kit, and you are encouraged to look at all other Java programming tools as you go through the remaining lessons. The material will make more sense to programmers using the Kit , and it builds experience that will be beneficial no matter which development software you use later on. you can install by downloading the file and clicking the file’s icon . This version is the easiest to set up. The other version can be downloaded as a series of smaller files that must be assembled after all files have been received. To download the Kit from Sun, visit the World Wide Web page http:// java. Sun . com / j2se / 1.3 /. Although Sun Microsystems has not announced plans to make version 1.3 of the Kit available for other systems , other companies have created implementation of the Java language and development software that supports Java details about these implementations are provided in the “Products and APLs” section of Sun “s official Java site, which is available at http://java .sun.com . The objective of this overview is to help you in downloading the software from the Sun Micro Systems for the kind of Operating System you are using. Here also you will learn the installation and testing procedure of Java. If your system can run the Software Development Kit, download it from Sun”s web site and save it your system in a temporary folder. The file is more than 25 megabytes in size, so you “ll have time during the download to make coffee, knit a cardigan, or gnaw your foot off to escape any bear traps it might be caught in. Lesson in detail Workshop; installing the Kit The Software Development Kit is also referred to as the SDK. Whenever Sun releases a new version of Java, the first tool that supports it is the Kit. After the Software Development Kit has been downloaded to a temporary folder ,you” re ready to install it . Sun’s own installation documentation supplements the information provided during the hour, so be sure to consult it if you have any questions about how the installation should be handled. Objective To create all of the programs in this lesson , you must either use Software Development Kit 1.3 or another Java programming tool that fully supports all of version 1.3 features . There many different software packages that offer the capability to create Java programs, but all of these are not created equally when language support is concerned . Some of these programming tools only support Java 1.0 the initial version of the language , which was released by Sun Microsystems in late 1995. Other tools support Java 1.1, which was released in mid1997. or version 1.2 from 1998. Can you tell , on which Operating systems is Java available ? At the time of this writing , the Java Software Development Kit 1.3 was available directly from Sun Microsystems for the following systems; Microsoft Windows 95, 98 Me NT, and 2000 systems Solaris SPARC and solaris Intel systems Linux systems running on Intel Pentium machines with Linux kernel version 2.2.12 and glibc version 2.1.2 The window version of the Software Development Kit is provided in two versions . One version is a large EXE file that Window Installation Window version of the Kit can be installed in three steps; 1. Download the installation file from Sun , saving it in temporary folder on your system. 2. Open the folder the contains the file. 3. Double click the file’s icon and dialog box will open indicating that the Kit’s files are being unpacked and installation will being. The Kit will be installed in a folder, with a name based on the version you ‘re downloading , such as \ jdk.3 Click the browse button to select a different folder. After choosing a folder , the Select Components dialog box will ask you to choose which components of the Kit to install. You only need the Program files components accomplish the workshops and tutorial programs in this Course Pack , but you may also find the Demos useful if you can spare the hard disk space. These Java programs were written by Sun to demonstrate different aspects of Java 2. The default setting for the Select Components dialog box should be fine for the work you undertake in this lesson. After 1 ADVANCED JAVA Introduction UNIT-I CHAPTER-1 OBJECT ORIENTED PROGRAMMING CONCEPTS

ADVANCED JAVA you select components and click Next, the Kit will be installed and you can being using it. Solaris and Linux Installation Other versions of the Kit are packed as an archive file that has been compressed to reduce its size. These version may have a filename extension such as . zip, .z, gz, or,. tar in the name , though Sun also is offering the Kit is an archive file which you can run to unpack the archive automatically. The Kit ‘s installation archives should be install into a directory that does not already have a subdirectory called jdk1.3. Otherwise, you might over write some existing files . Next you should make sure you can access the file correctly by using chmod a x shell command on filename. For example, SPARC users would use the following command.% chamod a x j2sdk-1-3-0-rcl-linux-rpm .sh To install SDK after making the chmod change, use a shell window to enter the command followed by the archives filename, the following is an example; % sh ./ j2sdk 1-3-0-rc1- linux – rpm .sh If you already have ./ in your PATH environment variable , you won’t have to include it in the command . However, you should consider removing . / from your PATH , because it make easier for your personal files to be deleted either by accident or as a result of someone’s intentionally damaging script. Testing the Installation The Software Development Kit includes a Readme file in the main folder where the Kit was installed. This file gets its name for a good reason; You should read it to find out about any last minute notes from the developers of the Kit . such as bug warnings, changes from the previous version, and solutions to installation problems. Once you have installed the Kit and followed the instruction from sun’s Web site, it should work right away. When you start using the Kit during the first several lessons of the course pack, the most likely cause of errors will be a misconfigured Kit. You should test the Kit to make sure it’s working correctly. Window users can test their Kit installation by getting to a command line using one of the following commands; On windows 95, 98 click the start button, choose program, and than click MS-DOS prompt. On windows NT, click the start button, choose program, and than click Command prompt. On windows 2000, click the start button, choose programs , choose Accessories, and than click Command prompt. should be displayed in response to the java – version command.If you see the wrong version number or get a bad command or file name error, your system can’t find the right version of java. exe, the program that runs Java programs. This must be corrected before you can start writing Java programs. ‘Configuring the Software Development Kit ‘ - to learn how to take care of this problem . Sun Microsystems also offers help on the installation process at http: //java. sun. com/ j2se / 1.3. Official Documentation In addition to the Software Development Kit , Sun Microsystems offer comprehensive documentation for the java language in web page format . You don’t need this information to use this course pack because each topic is discussed fully as it is introduced, but these pages will come in handy when you write your own programs. You can download the entire documentation, but it might be more convenient to browse it as needed from Sun’s Web site. The most up-to-date Java documentation is available at http;// java, sun. com/ j2se/ 1.3/ docs. Summary During this lesson, you were introduced to the concept of programming a computer giving it a set of instructions that tell it what to do. You also downloaded and installed the Software Development Kit that will be used as you write sample programs throughout course. If you are still confused about programs, programming languages, or java in general, that’s understandable at this point. Everything will make more sense to you in the next lesson , ‘Writing Your First Program.’ Which take a slow trip through the process of creating a java program. Exercises Lesson 1 1. BASIC, C , Java ? What are the names of these languages supposed to mean? 2. Are there more than 1000 books available about Java programming ? 3. Why are the interpreter languages slower than compiled ones? 4. Is C harder to learn than Java ? Home Work Each one of you should open ‘www.sun.com’ or get it from any other source, the hierarchy of ‘Java Library’ and present it in the class. Suggested Books 1. Thinking in Java, Bruce Eckel, Pearson Education , 2001. These command all have the same result; A window is opened 2. Teach Yourself Java 2 in 24 Hours, Sams Techmdeia, Second where you can type MS-DOS commands. You explore this Edition. feature fully. For now, you need to enter a command that tests whether your system can find the Software Development Kit you just installed, Enter the following in the MS-DOS window; Java-version If you ‘re using version 1.3 of the Kit, you should get the following message in response; Java version ‘1.3’ The version number might be more specific than 1.3 if you have downloaded a newer release of Java Development Kit 1.3, such as 1.3.0, 1.3.1, and the like. The more specific number 2

ADVANCED JAVA LESSON-2 BASICS OF JAVA PROGRAMMING Introduction In this lesson we will introduce only the basic concepts of Java Programming. We will look at a stand alone Java program. We will compile it and execute it. Also certain use of inbuild libraries will be told and used in sample programs. Also besides the general concept of Applet writing and its execution its use will be discussed. support is rapidly becoming available in other browsers. Netscape 2.0 provides support for Java applets, and other browser developers have also announced support for Java in forthcoming products. Figure 2.1 The hot java browser Objectives The objective is to give a brief histrorival view of the Java as a language. We will look at its past, present and future, and the reason as to why should you study Java when there are so many other computer languages available. One most important thing you will learn Java as a platform independent language and also it is an object oriented language. Lesson in detail Starting today you’ll learn all about the Java language and how to use it to create applets, as well as how to create stand-alone Java applications that you can use for just about anything. Today, the goals are somewhat more modest, and you’ll learn about the following: Why you should learn Java—its various features and advantages over other programming languages Getting started programming in Java—what you’ll need in terms of software and background, as well as some basic terminology What exactly Java and HotJava are, and their current status How to create your first Java programs—to close this day, you’ll create both a simple Java application and a simple Java applet! What Is Java? Java is an object-oriented programming language developed by Sun Microsystems, a company best known for its high-end Unix workstations. Modeled after C , the Java language was designed to be small, simple, and portable across platforms and operating systems, both at the source and at the binary level (more about this later).Java is often mentioned in the same breath as HotJava, a World Wide Web browser from Sun like Netscape or Mosaic (see Figure 1.1). What makes HotJava different from most other browsers is that, in addition to all its basic Web features, it can also download and play applets on the reader’s system. Applets appear in a Web page much in the same way as images do, but unlike images, applets are dynamic and interactive. Applets can be used to create animations, figures, or areas that can respond to input from the reader, games, or other interactive effects on the same Web pages among the text and graphics.Although HotJava was the first World Wide Web browser to be able to play Java applets, Java To create an applet, you write it in the Java language, compile it using a Java compiler, and refer to that applet in your HTML Web pages. You put the resulting HTML and Java files on a Web site much in the same way that you make ordinary HTML and image files available. Then, when someone using the HotJava browser (or other Java-aware browser) views your page with the embedded applet, that browser downloads the applet to the local system and executes it, and then the reader can view and interact with your applet in all its glory (readers using other browsers won’t see anything). You’ll learn more about how applets, browsers, and the World Wide Web work together further on in this Course Pack. The important thing to understand about Java is that you can do so much more with it besides create applets. Java was written as a full-fledged programming language in which you can accomplish the same sorts of tasks and solve the same sorts of problems that you can in other programming languages, such as C or C . HotJava itself, including all the networking, display, and user interface elements, is written in Java. 3

ADVANCED JAVA The Java language was developed at Sun Microsystems in 1991 as part of a research project todevelop software for consumer electronics devices—television sets, VCRs, toasters, and the develop Java applications (debuggers, development environments, and so on) most likely will be rapidly available as well. other sorts of machines you can buy at any department store. Java’s goals at that time were to be small, fast, efficient, and easily portable to a wide range of hardware devices. It is those same goals that made Java an ideal language for distributing executable programs via the World Wide Web, and also a general-purpose programming language for developing programs that are easily usable and portable across different platforms. At the moment, probably the most compelling reason to learn Java—and probably the reason you bought this book—is that HotJava applets are written in Java. Even if that were not the case, Java as a language has significant advantages over other languages and other programming environments that make it suitable for just about any programming task. This section describes some of those advantages. The Java language was used in several projects within Sun, but did not get very much commercial attention until it was paired with HotJava. HotJava was written in 1994 in a matter of months, both as a vehicle for downloading and running applets and also as an example of the sort of complex application that can be written in Java. Platform independence is one of the most significant advantages that Java has over other programming languages, particularly for systems that need to work on many different platforms. Java is platform-independent at both the source and the binary level. At the time this Course Pack is being written, Sun has released the beta version of the Java Developer’s Kit (JDK), which includes tools for developing Java applets and applications on Sun systems running Solaris 2.3 or higher for Windows NT and for Windows 95. By the time you read this, support for Java development may have appeared on other platforms, either from Sun or from third-party companies. Note that because the JDK is currently in beta, it is still subject to change between now and when it is officially released. Applets and applications you write using the JDK and using the examples in this Course Pack may require some changes to work with future versions of the JDK. However,because the Java language has been around for several years and has been used for several projects,the language itself is quite stable and robust and most likely will not change excessively. Keep this beta status in mind as you read through this Course Pack and as you develop your own Java programs. Support for playing Java programs is a little more confusing at the moment. Sun’s HotJava is not currently included with the Beta JDK; the only available version of HotJava is an older alpha version, and, tragically, applets written for the alpha version of Java do not work with the beta JDK, and vice versa. By the time you read this, Sun may have released a newer version of HotJava which will enable you to view applets. Why Learn Java? Java Is Platform-Independent At the source level, Java’s primitive data types have consistent sizes across all development platforms. Java’s foundation class libraries make it easy to write code that can be moved from platform to platform without the need to rewrite it to work with that platform.Platform-independence doesn’t stop at the source level, however. Java binary files are also platformindependent and can run on multiple platform without the need to recompile the source. How does this work? Java binary files are actually in a form called bytecodes. Normally, when you compile a program written in C or in most other languages, the compiler translates your program into machine codes or processor instructions. Those instructions are specific to the processor your computer is running—so, for example, if you compile your code on a Pentium system, the resulting program will run only on other Pentium systems. If you want to use the same program on another system, you have to go back to your original source, get a compiler for that system, and recompile your code. Figure 1.2 shows the result of this system: multiple executable programs for multiple systems. Figure 2.2 The JDK does include an application called appletviewer that allows you to test your Java applets as you write them. If an applet works in the appletviewer, it should work with any Javacapable browser. You’ll learn more about applet viewer later today. What’s in store for the future? In addition to the final Java release from Sun, other companies have announced support for Java in their own World Wide Web browsers. Netscape Communications Corporation has already incorporated Java capabilities into the 2.0 version of their very popular Netscape Navigator Web browser—pages with embedded Java applets can be viewed and played with Netscape. With support for Java available in as popular a browser as Netscape, tools to help Things are different when you write code in Java. The Java development environment has two parts: a Java compiler and a Java interpreter. The Java compiler takes your Java program and instead of generating machine codes from your source files, it generates bytecodes. 4

Many of Java’s object-oriented concepts are inherited from C , the language on which it is based, but it borrows many concepts from other object-oriented languages as well. Like most object-oriented programming languages, Java includes a set of class libraries that provide basic data types, system input and output capabilities, and other utility functions. These basic classes are part of the Java development kit, which also has classes to support networking, common Internet protocols, and user interface toolkit functions. Because these class libraries are written in Java, they are portable across platforms as all Java applications are.You’ll learn more about object-oriented programming and Java tomorrow. Java Is Easy to Learn Why go through all the trouble of adding this extra layer of the bytecode interpreter? Having your Java programs in bytecode form means that instead of being specific to any one system, your programs can be run on any platform and any operating or window system as long as the Java interpreter is available. This capability of a single binary file to be executable across platforms is crucial to what enables applets to work, because the World Wide Web itself is also platform independent. Just as HTML files can be read on any platform, so applets can be executed on any platform that is a Java-capable browser. The disadvantage of using bytecodes is in execution speed. Because system-specific programs run directly on the hardware for which they are compiled, they run significantly faster than Java bytecodes, which must be processed by the interpreter. For many Java programs, the speed may not be an issue. If you write programs that require more execution speed than the Java interpreter can provide, you have several solutions available to you, including being able to link native code into your Java program or using tools to convert your Java bytecodes into native code. Note that by using any of these solutions, you lose the portability that Java bytecodes provide. You’ll learn about each of these mechanisms in later lesson. Now is the time for you to explain the meaning of Platform Independent . Java Is Object-Oriented To some, object-oriented programming (OOP) technique is merely a way of organizing programs, and it can be accomplished using any language. Working with a real object-oriented language and programming environment, however, enables you to take full advantage of object oriented methodology and its capabilities of creating flexible, modular programs and reusing In addition to its portability and objectorientation, one of Java’s initial design goals was to be small and simple, and therefore easier to write, easier to compile, easier to debug, and, best of all, easy to learn. Keeping the language small also makes it more robust because there are fewer chances for programmers to make difficult-to-find mistakes. Despite its size and simple design, however, Java still has a great deal of power and flexibility. Java is modeled after C and C , and much of the syntax and object-oriented structure is borrowed from the latter. If you are familiar with C , learning Java will be particularly easy for you, because you have most of the foundation already. Although Java looks similar to C and C , most of the more complex parts of those languages have been excluded from Java, making the language simpler without sacrificing much of its power. There are no pointers in Java, nor is there pointer arithmetic. Strings and arrays are real objects in Java. Memory management is automatic. To an experienced programmer, these omissions may be difficult to get used to, but to beginners or programmers who have worked in other languages, they make the Java language far easier to learn. Net let’s start with programming in Java Getting Started with Programming in Java Enough background! Let’s finish off this day by creating two real Java programs: a stand-alone Java application and an applet that you can view in either in the appletviewer (part of the JDK) or in a Java-capable browser. Although both these programs are extremely simple, they will give you an idea of what a Java program looks like and how to compile and run it. Getting the Software In order to write Java programs, you will, of course, need a Java development environment. At the time this Course Pack is being written, Sun’s Java Development Kit provides everything you need to start writing Java programs. The JDK is available for Sun SPARC systems running Solaris 2.2 or higher and for Windows NT and Windows 95. You can get the JDK from several places: 5 ADVANCED JAVA To run a Java program, you run a program called a bytecode interpreter, which in turn executes your Java program (see Figure 2.3).You can either run the interpreter by itself, or—for applets—there is a bytecode interpreter built into HotJava and other Java-capable browsers that runs the applet for you.

ADVANCED JAVA The JDK can be downloaded from Sun’s Java FTP site at ftp://java.sun.com/pub/ or from a

Lesson No. Topic Page No. Lesson Plan ii Object Oriented Programming - Concepts Lesson 1 Overview of Java 1 Lesson 2 Basic of Java Programming 3 Lesson 3 Describing objects & classes 8 Lesson 4 Java Programming Constructs 16 Working with Java Programs Lesson 5 Examples and Excercises 23 Lesson 6 Working with Objects and Classes 25

Related Documents:

java.io Input and output java.lang Language support java.math Arbitrary-precision numbers java.net Networking java.nio "New" (memory-mapped) I/O java.rmi Remote method invocations java.security Security support java.sql Database support java.text Internationalized formatting of text and numbers java.time Dates, time, duration, time zones, etc.

Java Version Java FAQs 2. Java Version 2.1 Used Java Version This is how you find your Java version: Start the Control Panel Java General About. 2.2 Checking Java Version Check Java version on https://www.java.com/de/download/installed.jsp. 2.3 Switching on Java Console Start Control Panel Java Advanced. The following window appears:

3. _ is a software that interprets Java bytecode. a. Java virtual machine b. Java compiler c. Java debugger d. Java API 4. Which of the following is true? a. Java uses only interpreter b. Java uses only compiler. c. Java uses both interpreter and compiler. d. None of the above. 5. A Java file with

JAR Javadoc Java Language jar Security Others Toolkits: FX Java 2D Sound . Java Programming -Week 1. 6/25. Outline Java is. Let’s get started! The JDK The Java Sandbox . into your namespace. java.lang contains the most basic classes in the Java language. It is imported automatically, so

besteht aus der Java-API (Java Application Programming Interface) und der Java-VM (Java Virtual Machine). Abbildung 1: Java-Plattform Die Java-API ist eine große Sammlung von Java-Programmen, die in sog. Pakete (packages) aufgeteilt sind. Pakete sind vergleichbar mit Bibliotheken in anderen Programmiersprachen und umfassen u.a.

2 Java Applications on Oracle Database 2.1 Database Sessions Imposed on Java Applications 2-1 2.2 Execution Control of Java Applications 2-3 2.3 Java Code, Binaries, and Resources Storage 2-3 2.4 About Java Classes Loaded in the Database 2-4 2.5 Preparing Java Class Methods for Execution 2-5 2.5.1 Compiling Java Classes 2-6

The Java Platform The Java platform has two components: The Java Virtual Machine (Java VM) The Java Application Programming Interface(Java API) The Java API is a large collection of ready-made software components that provide many useful capa

possibility of a leak from a storage tank? MANAGING RISK This starts with the design and build of the storage tank. International codes are available, for example API 650, which give guidance on the matter. The following is an extract from that standard: 1.1.1 This standard covers material, design, fabrication, erection, and testing