2. Programming language is a vocabulary and
set of grammatical rules for instructing a
computer to perform specific tasks.
Types of programming language
1. Procedure-oriented programming language
COBOL, FORTRAN, and C
2. Object oriented programming language
C++, Java, and PHP
3. Procedure-oriented programming language
In procedural programming our code is
organized into small "procedures" that use
and change our data. So our data move
openly around the system from function to
function.
4. Object oriented programming language
In Object oriented programming the data
and related functions are bundled together
into an "object". So that not even any other
functions of the same program can use
other data and our data will remain safe.
5. Concept of OOPS
OOPS Features in brief
The programming in which data is logically represented in the form of a class and
physically represented in the form an object is called as object oriented
programming (OOP). OOP has the following important features.
6. Concept of OOPS
OOPS Features in brief
Data Encapsulation : Encapsulation means wrapping up
data and member function (Method) together into a
single unit i.e. class.
Data Abstraction :
Abstraction is the process of hiding out the working
style of an object and showing only the required
information of the object in understandable manner.
Advantage of data abstraction is security.
7. Concept of OOPS
OOPS Features in brief
Inheritance : Creating a new class from an existing
class is called as inheritance. Advantage of inheritance
is reusability of the code.
Polymorphism : Polymorphism means having more
than one form. In this different classes can have
different behaviors for the same operation.
Polymorphism can be achieved with the help of
overloading and overriding concepts.
8. Why do we need java ?
Trouble with C/C++ language is that they are not portable
and are not platform independent language.
Emergence of world wide web which demand portable
programs.
Portability and security necessitated the invention of JAVA.
9. History of JAVA
JAVA is general purpose
object oriented programming language developed by James
Gosling and colleagues at Sun Microsystems in the early 1990s
with promise to Write Once Run Anywhere and JVM make it
possible.
10. What is JVM ?
The heart of the Java
platform is the concept
of a "virtual machine“
JVM is a virtual machine
that provides runtime environment where JAVA program
runs.
It makes JAVA platform independent because JVM self work
as platform for all JAVA programs.
11. Editions of JAVA
J2SE(JAVA 2 Standard Edition) –
to develop client-side stand
alone applications or applets.
J2EE(JAVA 2 Enterprise Edition) – to develop server-
side applications such as JAVA servlet and JAVA
server pages.
J2ME (JAVA 2 Micro Edition) – to develop
applications for mobile devices.
13. Some features of JAVA
Automatic type checking
Automatic garbage collection
No directly accessible pointer
to memory
Multi threading
14. Introduction to JDBC
Java Database Connectivity (JDBC) is a Java
Application Programming Interface (API) for
executing SQL statements.
It consists of a set of classes and interfaces
written in Java.
It extends the various features of java, such as
security, platform independence, easy
understanding and usage.
15. The JDBC provides a standard interface for
accessing a database.
Java applications use the JDBC API to
connect with a database through a database
driver.
16. JDBC ARCHITECTURE
Java applications cannot communicate directly with a
database to submit the data & retrieve results of queries.
This is because a database can interpret SQL statements only
and not Java language statements.
Therefore, we need a mechanism to translate Java
statements into SQL statements and vice-versa.
The JDBC architecture provides the mechanism for this kind
of translation.
18. Device running on JAVA
Set–top boxes
ATM
Printers
Web cams
Games
Car navigation systems
Lottery terminals
Medical devices
Parking payment stations
19. Certification in JAVA
Getting certified is a great way to
invest in your professional
development and to help boost your
career potential.
Sun offers the following certifications for Java technologies:
Java Platform, Standard Edition
(Java SE)
Sun Certified Java Associate
Sun Certified Java Programmer
Sun Certified Java Developer
20. Certification in JAVA
Java Platform, Enterprise Edition
(Java EE)
Sun Certified Web Component Developer
Sun Certified Business Component Developer
Sun Certified Developer for Java Web Services
Sun Certified Enterprise Architect
Java Platform, Micro Edition (Java ME)
Sun Certified Mobile Application Developer