JAVA

                                                                                                   JAVA
An object-oriented programming language from Oracle that is platform independent. Developed by Sun in the early 1990s (Oracle acquired Sun in 2010), and modeled after C++, Java was originally designed for embedded applications in set-top boxes and other consumer electronics. Java ignited a revolution when Sun transitioned it to the Web in 1994, and although Java has been reasonably successful on the client (the user's machine), Java on the server became very popular.Java was introduced by Sun Microsystems in 1995 and instantly created a new sense of the interactive possibilities of the Web. Both of the major Web browsers include a Java virtual machine. Almost all major operating system developers (IBM, Microsoft, and others) have added Java compilers as part of their product offerings.The Java virtual machine includes an optional just-in-time compiler that dynamically compiles bytecode into executable code as an alternative to interpreting one bytecode instruction at a time. In many cases, the dynamic JIT compilation is faster than the virtual machine interpretation.JavaScript should not be confused with Java. JavaScript, which originated at Netscape, is interpreted at a higher level, is easier to learn than Java, but lacks some of the portability of Java and the speed of bytecode. Because Java applets will run on almost any operating system without requiring recompilation and because Java has no operating system-unique extensions or variations, Java is generally regarded as the most strategic language in which to develop applications for the Web. (However, JavaScript can be useful for very small applications that run on the Web client or server.)When a Java program is launched from a Web page, the program is called a Java "applet." When run without the Web browser on a user's machine, it is a Java "application." When running in a Web server, it is a Java "servlet."

Introduction

Programming language Types and Paradigms.
Computer Programming Hierarchy.
How Computer Architecture Affects a Language ?
Why Java ?
Flavors of Java.
Java Designing Goal.
Role of Java Programmer in Industry.
Features of Java Language.
JVM –The heart of Java
Java’s Magic Bytecode

Language Fundamentals
The Java Environment:
Installing Java.
Java Program Development
Java Source File Structure
Compilation
Executions.
Basic Language Elements:
Lexical Tokens,Identifiers
Keywords,Literals, Comments
Primitive Datatypes,Operators
Assignments.

Object Oriented Programming
Class Fundamentals.
Object & Object reference.
Object Life time & Garbage Collection.
Creating and Operating Objects.
Constructor & initialization code block.
Access Control, Modifiers, methods
Nested , Inner Class &Anonymous Classes
Abstract Class & Interfaces
Defining Methods, Argument Passing Mechanism
Method Overloading, Recursion.
Dealing with Static Members. Finalize() Method.
Native Method. Use of “this “ reference.
Use of Modifiers with Classes & Methods.
Design of Accessors and Mutator Methods
Cloning Objects, shallow and deep cloning
Generic Class Types

Extending Classes and Inheritance
Use and Benefits of Inheritance in OOP
Types of Inheritance in Java
Inheriting Data Members and Methods
Role of Constructors in inheritance
Overriding Super Class Methods.
Use of “super”.
Polymorphism in inheritance.
Type Compatibility and Conversion
Implementing interfaces.

Package
Organizing Classes and Interfaces in Packages.
Package as Access Protection
Defining Package.
CLASSPATH Setting for Packages.
Making JAR Files for Library Packages
Import and Static Import
Naming Convention For Packages

Exception Handling:
The Idea behind Exception
Exceptions & Errors
Types of Exception
Control Flow In Exceptions
JVM reaction to Exceptions
Use of try, catch, finally, throw, throws in Exception Handling.
In-built and User Defined Exceptions
Checked and Un-Checked Exceptions

Array & String :
Defining an Array
Initializing & Accessing Array
Multi –Dimensional Array
Operation on String
Mutable & Immutable String
Using Collection Bases Loop for String
Tokenizing a String
Creating Strings using StringBuffer

Thread :
Understanding Threads
Needs of Multi-Threaded Programming.
Thread Life-Cycle
Thread Priorities
Synchronizing Threads
Inter Communication of Threads
Critical Factor in Thread -DeadLock

Applet
Applet & Application
Applet Architecture.
Parameters to Applet
Embedding Applets in Web page.
Applet Security Policies

A Collection of Useful Classes
Utility Methods for Arrays
Observable and Observer Objects
Date & Times
Using Scanner
Regular Expression


Input/Output Operation in Java(java.io Package)
Streams and the new I/O Capabilities
Understanding Streams
The Classes for Input and Output
The Standard Streams
Working with File Object
File I/O Basics
Reading and Writing to Files
Buffer and Buffer Management
Read/Write Operations with File Channel
Serializing Objects

GUI Programming
Designing Graphical User Interfaces in Java
Components and Containers
Basics of Components
Using Containers
Layout Managers
AWT Componets
Adding a Menu to Window
Extending GUI Features Using Swing Components

Java Utilities (java.util Package)
The Collection Framework :
Collections of Objects
Collection Types
Sets
Sequence
Map
Understanding Hashing
Use of ArrayList & Vector

Event Handling
Event-Driven Programming in Java
Event- Handling Process
Event-Handling Mechanism
The Delegation Model of Event Handling
Event Classes
Event Sources
Event Listeners
Adapter Classes as Helper Classes in Event Handling
Anonymous Inner classes a Short –cut to Event Handling
Avoiding Deadlocks in GUI Code
Event Types & Classes

Networking Programming
Networking Basics
Client-Server Architecture
Socket Overview
Networking Classes and Interfaces
Network Protocols
Developing Networking Applications in Java

DataBase Programming using JDBC
Introduction to JDBC
JDBC Drivers & Architecture
CURD operation Using JDBC
Connecting to non-conventional Databases.


              JAVA PROGRAMS,NOTES,COMPLETE TUTORIAL  

1 comment: