Java Online Training

Write Once, Run Away | Core Java

Technology Outlines

Java is an object-oriented programming language created by the Sun Microsystems. Sun Microsystems was later acquired by Oracle in 2010. The latest version of Java available is 1.7 known as Java 7. Java is an open sourceand can be downloaded from http://www.java.com/

Java is an easy to learn programming language. It is easy to write, compile, debug and execute java code. The most significant feature of java is that it is platform independent.Java source code is executed into byte code which is platform independent. Therefore java programs can be easily executed from one system to another.

The components of Java are the compiler, interpreter and the runtime environment. The components are developed using secure code.

Advantages of using Java:

Write once and run anywhere.
Consists of automatic memory management.
Java programming is network centric.
Java code is dynamic and easily extensible.
Consists of in-built internationalization feature for coding.
Java consists of powerful API which increases the efficiency of java code.

The source file of java can be written as plain text documents in the IDE (Integrated Development Environment). The IDE supports a programmer in many ways like auto-formatting the source code, highlighting the key words etc. From creating a project, we guide you on how to use the IDE step by step.

Our expert trainers explain you in detail about all the java classes, objects and packages. We also guide you through the object oriented concepts using simple and easy to learn programs.

Enterprises look for testing professionals who can easily manage automated tools. Learning only tools and its functions is not sufficient for a testing professional. A successful test engineer should have the ability to code.

For example, when working with automated tools like Selenium, it is essential to know java programminglanguage for writing effective test cases. In our training we teach you about automated tools that use java and how to write test cases using Java programming language.

Core Java is used for developing simple java applications. Core Java consists of various concepts like variables, operations, classes and objects, fields, constructors and methods.

Core Java Concepts:

Variables – Variables are used for holding values.
Operations – Operations are performed to process the data stored in the variables. There are two types of operations namely variable operations and program flow.
Classes – Classes are used forgrouping variables and operations together. A class consists of fields, constructors, and methods.
Objects – Objects are instances of classes.
Fields – Fields are variables that belong to a certain class or object.
Constructors – Constructors are special methods created during an object creation.
Methods – Methods consists of a group of operations that carry out a specific function.

Java’s standard set ofclasses are included in the Java Development Kit (JDK) which provides the core functions in java. Some of the standard classes included in JDK are java.lang, javax.io, java.applet, and java.net.

java.lang – java.langis the language package which consists of the basic required classes like Object, String, Thread, and System required in coding java.
java.io – java.io package consists of InputStream and OutputStream
java.applet – java.applet package consists of Applet and AudioClip.

We focus on all the object oriented concepts which include Class, Object, Inheritance, Polymorphism and Encapsulation. We also teach you all the object oriented concepts using simple example programs for easy understanding.

We train you on all the basic classes included in the JDK. We explain you about each and every package present in JDK and the classes it holds.

Testing professionals should have the ability to code so that it becomes easy to write test cases. When working with automated tools like Selenium, it is essential to know java programming for writing test cases. In our training we teach you about automated tools that use java and how to write test cases using Java programming language.

Table of Contents

Object-Oriented Programming (OOP) concepts

  • Introduction
  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism

Getting started with java

  • Introduction to Java
  • Features of java

Java basics

  • Java programming basics
  • Data types
  • Type casting
  • Control Structure
  • Java Arrays
  • Command-line arguments

Classes and Objects

  • Class  and Object
  • Abstract classes
  • Interfaces
  • Overloading and Overriding
  • Inner classes
  • Packages and Java class path

Exception handling

  • Exception handling fundamentals
  • Exception types
  • try catch finally blocks
  • Throw , throws keywords
  • Creating custom exceptions

Java Threads

  • Introduction to threads
  • Multi threading in java
  • Thread lifecycle
  • Thread class and  Runnable interface
  • Thread priorities
  • Synchronization
  • Interthread communication

java.lang

  • The java.lang package overview
  • Tthe Object class
  • Wwrapper classes
  • System class
  • Math class
  • String & StringBuffer

Java collections – java.util

  • Collections overview
  • Collection
  • List,Set,SortedSet
  • ArrayList ,LinkedList,TreeSet
  • Hashtable,Enumeration
  • Vector
  • Date,Calendar

Java streams- java.io

  • Streams overview
  • Byte streams vs. Character streams
  • Input/Output streams
  • Reading/Writing  from/to  files – the File Streams

Networking java.net

  • Networking overview
  • Basics of java network programming

Advanced Java

Database Programming

  • JDBC overview
  • SQL- Structured Query Language
  • JDBC Programming Concepts
  • Query Execution
  • Scrollable and Updatable Result Sets
  • Working with Statements
  • Row Sets
  • Batch Updates
  • Calling stored procedures and functions
  • ResultSetMetaData
  • Transactions

Getting Started with Web Applications

  • Web Application Life Cycle
  • Web Modules
  • Configuring Web Applications
  • Accessing Databases from Web Applications
  • Jar, war and
  • Webserver & Application Server
  • HTML
  • Javascript

Java Servlet Technology

  • Servlets overview
  • Servlet Life Cycle
  • Sharing
  • Initializing a Servlet
  • Writing Service Methods
  • Filtering Requests and Responses
  • Invoking Other Web Resources
  • Accessing the Web Context
  • Session tracking and management

Java Server Pages Technology

  • JSP overview
  • The Life Cycle of a JSP Page
  • Declarations, Scriptlets, Expressions
  • JSP Action tags
  • Directives
  • JSP implicit objects
  • Scope in JSP
  • Ajax
  • HTML
  • Javascript

Java Server Pages Standard Tag Library

  • Using JSTL
  • Core Tag Library

Enterprise JAVA Beans

  • Enterprise Bean  overview
  • Types of enterprise beans
  • Advantages of enterprise beans
  • The Life Cycles of Enterprise Beans
  • Working with Session Beans
  • Statefuls vs. Stateless Session
  • Working with Entity Beans
  • Bean Managed Persistence/Container Managed Persistence entity beans

JAVA Messaging Service (JMS)

  • Overview
  • JMS architecture
  • Messaging models
  • Point-to-Point
  • Publish/subscribe
  • JMS API

Message-Driven Beans

  • Overview
  • The Message-Driven Bean Class
  • Life cycle of Message Driven Bean

Spring Framework

Spring Introduction

  • Spring modules
  • Dependency injection
  • Spring containers (Bean Factory, Application Context)
  • Basic bean wiring
  • Bean life cycle

Spring Data Access

  • Using jdbc with spring
  • Working with Datasources,
  • Working with jdbctemplates,
  • DML operations on data

Spring web-MVC

  • Controllers
  • Types of controllers
  • Handling web requests
  • Mapping requests to controllers
  • Handler Mappings
  • Processing commands, form submissions
  • Views
  • Resolving text messages (property files)
  • View resolvers
  • Validations
  • Working with throw away controllers
  • ContextLoaderListener for loading configuration files

Aspect Oriented Programming

  • Join points, point cuts, advice, aspects
  • AspectJ syntax for AOP
  • AOP configuration elements

Spring Transactions

  • The meaning of transaction
  • Transaction attributes
  • Spring transaction management support
  • Choosing a transaction manger
  • Declarative transaction management

Spring Messaging

  • Messaging overview (JMS)
  • Using Messages with Spring

Advanced Bean Wiring

  • Parent and child beans
  • Inner beans
  • Bean wiring with property
  • Spring Web
  • Spring ORM

OVER VIEW

Hibernate

  • Overview of O/R mapping
  • Overview of Hibernate architecture
  • Setting up and running your first Hibernate application.

Configuring Hibernate

  • Hibernate configuration property file
  • Hibernate configuration XML file
  • Database dialects
  • Obtaining a Session Factory
  • User-provided JDBC connection
  • Using code generation tool
  • Using schema generation tool
  • Using mapping file generation tool

O/R Mapping

  • Overview of the mapping file
  • The id element and primary key
  • Id generation methods
  • Composite id
  • Hibernate data types
  • Custom value types
  • Mapping for collections and associations
  • Mapping for rich associations
  • Component mapping
  • Inheritance mapping

Manipulating and Querying Persistent Data

  • Persistent classes
  • Loading an object
  • Find methods
  • The Query interface
  • Performing CRUD operations
  • Criteria Queries
  • Using native SQL query
  • Using lifecycle and interceptor callbacks
  • Transactions and concurrency

The Hibernate Query Language (HQL)

  • The select clause
  • The from clause
  • The where clause
  • Expressions
  • Aggregate functions
  • Sorting, grouping, etc.
  • Subqueries

Web Services

XML basics

DTD, XML schema and advanced schema

  • Introduction of DTD and XML Schema
  • Elements of DTD and Schema
  • Difference between DTD and Schema
  • Implement example

SOAP and WSDL

  • Introduction of SOAP and WSDL
  • Implement example

Parsers (SAX and DOM)

  • Introduction of SAX and DOM parsers
  • Importance of Parsers
  • Parser Architecture

JAXP

  • Introduction of JAXP
  • Implement SAX example
  • Implement DOM example

Binding Frameworks(JAXB and XML Beans, JibX)

  • Introduction of JAXB and XML Beans
  • Importance of XSD
  • Implement example

Web services implementation using Axis framework

  • Introduction of Axis 1 and 2
  • Ant targets
  • Build and deploy services
  • Writing client program

Web services implementation using Spring framework

  • Introduction of Spring WS stack
  • Implement example