Java

java-training-chandigarh

Java is a set of computer software and specifications developed by Sun Microsystems, later acquired by Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide variety ofcomputing platforms from embedded devices and mobile phones to enterprise servers and supercomputers. While less common, Java appletsrun in secure, sandboxed environments to provide many features of native applications and can be embedded in HTML pages.

Writing in the Java programming language is the primary way to produce code that will be deployed as byte code in a Java Virtual Machine(JVM); byte code compilers are also available for other languages, including Ada, JavaScript, Python, and Ruby. In addition, several languages have been designed to run natively on the JVM, including Scala, Clojure and Groovy. Java syntax borrows heavily from C and C++, but object-oriented features are modeled after Smalltalk and Objective-C.[11] Java eschews certain low-level constructs such as pointers and has a very simple memory model where every object is allocated on the heap and all variables of object types are references. Memory management is handled through integrated automatic garbage collection performed by the JVM.

 

Course Content

Introduction

  • Bytecode, JVM, Platform independency, JDK & JRE
  • Installing JDK, setting up the PATH environmental variable

Keywords, Literals & Identifiers

  • Valid & invalid identifiers
  • Keywords

Primitive Data types & Type casting

  • Integer (byte, short, int, long)
  • Float (float & double)
  • Character
  • Boolean
  • Type Casting

Operators

  • Assignment Operators.
  • Arithmetic Operators
  • Relational Operators
  • Logical Operators.
  • Conditional Operators
  • Bitwise Operators.
  • Instance of Comparison.
  • Operator Precedence.

Java I/O

  • Introductions to Files and Streams.
  • DataInput Stream and DataOutputStream.
  • FileInputStream and FileOutputStream.
  • Reader and Writer.
  • Scanner class.

Flow Control

If and Switch Statements.
Loops and Iterators.
Break and Continue.
Labeled Statements.

Conditional and Looping statements

  • If, if-else, switch
  • For, while, do-while
  • Break, continue

Methods

  • Method declaration, definition
  • Arguments, return types
  • Method overloading

Arrays

  • Single dimensional & Multidimensional

String basics

Garbage Collection
Introduction to Garbage Collections.
How Garbage Collection works.
Java Memory Management System.

Collections

Collection Framework.
ArrayList.
LinkedList.
HashSet.
TreeSet
Inner Classes
Introduction to Inner Classes.
Regular Inner Class.
Method-Local Inner Class.
Anonymous Inner Class.
Static Inner Class.

Classes & objects

  • public classes with member functions & data members
  • creating objects
  • passing objects in methods as arguments and returning objects from methods
  • instance members & static member

Access modifiers (public & private)

  • public classes
  • public and private members of a class

Packages

  • Intro to packages
  • Use of CLASSPATH environmental variable
  • Creating own packages
  • Importing a package
  • lang package

Inheritance, method overriding

  • Inheritance using extends keyword
  • Method overriding
  • Object class
  • Class class

Final keyword

  • final class
  • final methods & variables

Access Modifiers (protected & default)

  • default class
  • protected & default members of class
  • sum up all 4 access types i.e. default, public, private & protected
  • taking access specifiers in consideration while overriding method

Abstract classes & interfaces

  • Abstract methods & classes
  • Interfaces (methods & data members of interface)

Polymorphism

  • Reference variables & objects
  • Class casting

Exception handling

  • try & catch
  • throw, throws & finally

Multithreading

  • Difference between process and thread.
  • The Thread class and Runnable interface.
  • Daemon and User Threads.
  • Creating your own threads.

Synchronization

  • Synchronized Methods.
  • Synchronized Blocks.
  • Static synchronization.

Database connectivity using ODBC

  • Statement, PreparedStatement
  • Select, insert, update, delete
  • Transaction Management (setAutoCommit(false)

Swings

 

    HTML and CSS

  • Introduction
  • HTML Documents
  • Structural Elements of HTML Document
  • Formatting HTML Documents
  • Managing: Images, Table, Hyper Link, Multimedia, Division
  • CSS Introduction
  • Designing with the Cascade
  • Controlling Layout with Positioning
  • Enhancing an Existing Design
  • Create Accessible Style Sheets
  • Apply User-defined System Fonts and Colors
  • Create a Print Style Sheet

     JavaScript:

  • Validations, getElementById, Ins ert a new row in table (DOM).
  • Object in java, moving a DIV, Creating tab us ing DIV

    Servlets

  • Basics of Servlets.
  • Servlet Interface.
  • Servlet Lifecycle.
  • Steps to create a Servlet in Tomcat.
  • How Servlet Works?
  • Servlet Request.
  • Servlet Collaboration.
  • Servlet Configuration
  • Servlet Context.
  • Attribute in Servlet.
  • Session Tracking.
  • Event and Listeners.
  • Filters.
  • ServletInputStream
  • ServletOutputStream.

 

JSP

  • Basics of JSP.
  • Lifecycle of JSP.
  • Scripting Elements.
    script tags
    expression tags
    declaration tags
  • Implicit Objects.
  • Directive Elements.
    page,include,tag lib
  • Action Elements.
  • Exception Handling.
  • Expression Language.
  • MVC.
  • JSTL JSP standard tag library
  • Custom Tags.

Struts

  • Introduction to Struts Framework
  • Form Processing
  • Handling Data Source
  • Dynamic action Form
  • Dynamic Validator Form
  • Tiles Framework
  • Java Servlet Development Kit
  • (Javax.servlet) packages
  • Reading Servlet Parameters
  • Reading Initialization Parameters
  • The javax.servlet.http Package
  • Handling HTTP

IBM DB2

  • Introduction to DB2
  • DDL
  • DML
  • DQL
  • DCL
  • SQL Predicates
  • Column Functions
  • Scalar Functions
  • Joins
  • Order by,Group by and Having
  • Sub-Query
  • Triggers

IBM Websphere

  • Web Sphere Test Environments
  • Deploying and testing WebSphere
  • Managing servers with profiles
  • Creating a new Profile
  • Adding Application to Servers
  • Detecting Changes to Application
  • Editing Server Resources
  • Controlling Server in the Server View

IBM RAD

  • Introduction to RAD
  • Differences from Eclipse
  • Debugging an application
  • Adding and configuring breakpoints in an application
  • Debugging JSP pages
  • Step by Step debugging(Web Application)
  • J2EE Application Frameworks
  • Advantages of Using Application frameworks
  • The model-view Controller pattern
  • Struts in RAD
  • Web Diagrams in RAD
  • Controller Components
  • Action Mapping

Packaging Web Application in an EAR