Java
Java
Alok Ranjan
Department of CSE
Jaipur Engineering College
Products
Solutions
IT Outsourcing Business Solutions Technology Solutions
• Managed IT Solutions • e-learning Solutions • Microsoft ASP.NET
• Cloud Solutions • Social Networking Solutions
• Engagement Models Solutions • Mobile / Smartphone
• Dedicated Teams • Online food ordering Solutions
Solutions • Ruby on Rails (RoR)
• Online doctor Solutions
appointment Solutions • Android Solutions
• Ecommerce / B2C • iPhone / iPad Solutions
Solutions • LAMP (PHP/MySQL)
Solutions
JAVA
•JAVA is general purpose object oriented programming language.
•On 13 November 2006, Sun released much of Java as free and open
source software under the terms of the GNU General Public License
(GPL).
•On 8 May 2007, Sun finished the process, making all of Java's core code
free and open-source
•JAVA has been acquired by oracle corporation on 20th April 2009.
JAVA Development Kit
• Object Oriented
• Platform independent
• Simple
• Secure
• Architectural-neutral
• Portable
• Interpreted
• High Performance
• Multithreaded
• Distributed
• Dynamic
Object Oriented Feature of JAVA
• Object
Any entity that has state and behaviour
is known as an object. For example:
chair, pen, table, keyboard, bike etc. It
can be physical and logical.
• Class
A blueprint or prototype for which Object
are created. Collection of objects of
similar type. It is a logical entity.
Object Oriented Feature of JAVA
• Inheritance: When one object acquires all the properties and behaviours of
parent object i.e. known as inheritance. It provides code reusability. It is used to
achieve runtime polymorphism.
• Types of Inheritance
• Data Transfer
• Accessibility
Tasks of JDBC:
Java Application
DBMS
JDBC Driver Types
Connect
Query
Process
results
Close
Stage 1: Connect
Process
results
Close
Stage 2: Query
Connect
Close
Stage 3: Process Results
Connect
Query
Step through the results
Close
Stage 4: Close
Connect
Query
Close the result set
Process
results Close the statement
Any Queries?