JaiswalTraining

Get the online training



Corejava Servlet Jsp  Php  Hibernate  Ajax Web Service   Ejb2.1 Ejb3.0 Struts Struts2  JPA Spring Ibatis   JSF    JSF2.0  CoreJavaDesignPattern    Jquery  Flex J2EE-Design-Patterns  Jboss7  Maven  Contact Me                                                                                                                                                                        
            IGNOU SMU PTU Project                                           Training                                                                                                                              
              

Contact Us  0091- 9210721663         jaiswaltraining@gmail.com




Corejava
Servlet
Jsp
Php
Hibernate
Ajax
Web Service
Ejb2.1
Ejb3.0
Struts  
Struts2
JPA
Spring
Ibatis
JSF
JSF2.0
CoreJavaDesignPattern
Jquery
Flex
J2EE-Design-Patterns
Jboss7
Maven







Introduction and Overview of Java

What is Java

Java technology is:
  •  A programming language
  •  A development environment
  •  An application environment
  •  A deployment environment
  •  It is similar in syntax to C++.
  •  It is used for developing both applets and applications.
Objective
  •  Provides an easy-to-use language by:
  •  Avoiding many pitfalls of other languages
  •  Being object-oriented
  •  Enabling users to create streamlined and clear code
  •  Provides an interpreted environment for:
  •  Improved speed of development
  • Code portability
  • Enables users to run more than one thread of activity
  •  Loads classes dynamically; that is, at the time they are actually needed
  •  Supports changing programs dynamically during runtime by loading classes from disparate sources
  •  Furnishes better security
The following features fulfill these objectives:
  • The Java Virtual Machine (JVM)
  • The Java Runtime Environment (JRE)
The Java Virtual Machine
  • It is implemented as software or hardware
  • It provides hardware platform specifications
  • It reads compiled byte codes that are platform-independent
  • It is implemented in a Java technology development tool or a Web browser
The JVM performs three main tasks:
  • Loads code
  • Verifies code
  • Executes code

 Java Evolution

  • Java  is  developed by Sun Microsystems in 1991.
  • It has evolved from the C++ programing language.
  • It is invented by James Gosling, Arthur van  and his collegues.
  • It was originally called Oak .
  • But later changes to java as the name was registered by the others
  • First it was created   for electronics products programing (TV, VCR, Freeze, Washing Machine, Mobile Phone).
  • But later it was found very useful in web programing language .
  • So Sun company turned it into a language of Internet Programming.
  • It allows user to publish a webpage with Java code in it.

Object Oriented Programming

Java Follows the concept of Object Oriented Programming.

What is object?
  • It is an entity in the real world whether living or non-living., having its state and behavior.
  • Example:- Student,college,chair,table etc. 

Object Oriented Programing  features or Properties of an Object.
  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
Abstraction
  • It is a property of an object showing its essential details and
    hiding the non-essential details of the entity it represent.
  • It remove complexity of the program.
  • Promotes Simplicity.
Encapsulation
  • It binds or wraps the properties of the entity it represent into a single unit.
  • Promotes Security and Integrity.
Abstraction and encapsulation are the two side of a coin.


Inheritence

  • Aquire all or some properties of an object into another object.
  • With Modification or as it is.
  • It represent a Parent-child relationship.
  • Promotes Reusability with guarantee.
Polymorphism
  •  Is the ability of an object  to have one name many/multiple form.
  • Promoted dynamism in the program.