SlideShare a Scribd company logo
By..,
K.Rajalakshmi , Msc-IT
Department of CS & IT
Nadar saraswathi college of arts and science,
Theni
CONCEPTS OF ADVANCED JAVA
PROGRAMMING JAVA SCRIPTS-
SERVLET-JDBC-ETB-JSP
• Introduction
• Java script
• Servlet
• JDBC
• ETB
• JSP
INTRODUCTION
• Java is an high level programming language developed by SUN
MICROSYSTEM.
• It was originally designed for developing programs for set-top
boxes and handled devices but later became a popular choice
for creating web application.
• The java syntax is similar to C++ but is strictly an object oriented
programming language .
JAVA SCRIPT:
• Java script is a scripting language that enables to create
dynamically updating content, control multimedia, animate
images and pretty much everything else…
SERVLET:
• Servlet technology is used to create a web application
(resides at server side and generate a dynamic web
page)
• Servlet technology is robust and scalable because of
java language
WHAT IS SERVLET?:
• Servlet is an API that provides many interface and classes
including documentation.
• Servlet is an interface that must be implemented for creating
any servlet
• Servlet is a class that extends the capabilities of the server and
responds to the incoming request. It can respond to any
request.
• Servlet is a web component that is deployed on the server to
create a dynamic web page.
SERVLET MODEL:
JDBC:
• JDBC API is a java API that can access any kind of tabular data
especially data stored in a relational database.
• JDBC works with java on a variety of platform, such as windows,
Mac OS, and the various version of UNIX.
PURPOSE OF LEARNING JDBC:
• JDBC stands for Java Data Base Connectivity
• Its is an database independent connectivity between the java
programming language and a wide range of database
• Some commonly associated JDBC database usages are:
• Making a connection to a database
• Creating SQL or MYSQL statements
• Executing SQL or MYSQL queries in the database
• Viewing & modifying the resulting records
APPLICATIONS OF JDBC:
• It is specification that provides a complete set of interface that
allows for portable access to an underlying database
• Java can be used to write different types of executable such as:
• Java application
• Java applet
• Java servlet
• Java server pages(JSPs)
• Enterprise JavaBeans(EJBs)
• All these are able to use a JDBC driver to access a database
and take advantage of the stored data.
ETB :
• ETB stands for End of Transmission Block
• A communication control character used to indicate the end of a
block of data for communication purposes
• ETB is used for blocking data where the block structure is not
necessarily related to the processing format
JSP :
• JSP technology is used to create web application just like
servlet technology
• It can be thought of as an extension to servlet because it
provide more functionality than servlet such as expression
language, JSTL etc.,
ADVANTAGE OF JSP OVER SERVLET:
• There are many advantages of JSP over the servlet they are:
• Extension to servlet
• Easy to maintain
• Fast development no need to recompile and redeploy
• Less code than servlet
LIFECYCLE OF A JSP PAGE:
• The JSP pages follow these phases:
• Translation of JSP page
• Compilation of JSP page
• Class loading
• Instantiation
• Request processing
• Destroy
CREATING SIMPLE JSP PAGE:
• To create the first page, write some HTML codes as given below
and save it by .jsp extension
• To save this file as index .jsp
• Put it in a folder and paste the folder in the web apps directory
in apache tomcat to run the jsp page
LIFE CYCLE OF JSP:
SIMPLE EXAMPLE:
<html>
<body>
<% out. Print(2 * 5):%>
</body>
</html>
o/p:
It will print 10 on the browser
HOW TO RUN A SIMPLE JSP PAGE:
• Start the sever
• Put the jsp file in a folder and deploy on the server
• Visit the browser by the url
• http://localhost:portno/contextroot/jspfile
• For EG:
http://localhost:8888/myapplication/index.jsp
Java
Thank you …

More Related Content

What's hot (20)

PDF
Jive the renovation of Aswing
antopensource
 
PPTX
Mule esb overview
Gunjan Deshmukh
 
PPT
Complete integration with mule esb
Son Nguyen
 
PPTX
What is Mean Stack Development ?
Balajihope
 
PDF
Meanstack Introduction by Kishore Chandra
Kishore Chandra
 
PDF
Jeetrainers.com coursejspservlets00
Rajesh Moorjani
 
PPTX
Road Trip To Component
Marketa Adamova
 
PPTX
Java Web services
vpulec
 
PPTX
Java Training in Chennai
raj esaki
 
PPTX
Java DataBase Connectivity API (JDBC API)
Luzan Baral
 
PPTX
What is Mule ESB
Nam Le Dinh
 
PPTX
NetBeans Platform for Rich Client Development
Widura Wijenayake
 
PPTX
Mean stack
RavikantGautam8
 
PPTX
Client server 01
Lockey Irawan
 
PPTX
Java Database Connectivity
ireneconje
 
PPTX
Advanced JAVA
Rajvi Vaghasiya
 
DOC
jdbc document
Yamuna Devi
 
PDF
Basic method for Java EE Web Profile
Kenji HASUNUMA
 
PPTX
Web programming and services
laibamaqsood
 
PPTX
Java in Mule
Anand kalla
 
Jive the renovation of Aswing
antopensource
 
Mule esb overview
Gunjan Deshmukh
 
Complete integration with mule esb
Son Nguyen
 
What is Mean Stack Development ?
Balajihope
 
Meanstack Introduction by Kishore Chandra
Kishore Chandra
 
Jeetrainers.com coursejspservlets00
Rajesh Moorjani
 
Road Trip To Component
Marketa Adamova
 
Java Web services
vpulec
 
Java Training in Chennai
raj esaki
 
Java DataBase Connectivity API (JDBC API)
Luzan Baral
 
What is Mule ESB
Nam Le Dinh
 
NetBeans Platform for Rich Client Development
Widura Wijenayake
 
Mean stack
RavikantGautam8
 
Client server 01
Lockey Irawan
 
Java Database Connectivity
ireneconje
 
Advanced JAVA
Rajvi Vaghasiya
 
jdbc document
Yamuna Devi
 
Basic method for Java EE Web Profile
Kenji HASUNUMA
 
Web programming and services
laibamaqsood
 
Java in Mule
Anand kalla
 

Similar to Java (20)

PPTX
435819601-Advanced-Java_Study About Java.pptx
JPrince9
 
PPT
Ppt for Online music store
ADEEBANADEEM
 
PPTX
AJppt.pptx
SachinSingh217687
 
PDF
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
abile technologies
 
PDF
Enterprise Java, Servlet, JDBC and JSP.pdf
PokemonSpyk
 
PPT
Java for Recruiters
ph7 -
 
PPTX
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
PPTX
Advance Java Topics (J2EE)
slire
 
PPTX
Advance java prasentation
dhananajay95
 
PPTX
Java language pppppt
curiosityjunction
 
PPTX
Java
raj esaki
 
PPT
01 java intro
Deepal Shah
 
DOC
Spatial approximate string search Doc
Sudha Hari Tech Solution Pvt ltd
 
PPTX
Jsp (java server page)
Chitrank Dixit
 
PPTX
Arpita industrial trainingppt
ARPITA SRIVASTAVA
 
PPT
Java2 platform
Sajan Sahu
 
PDF
Corejava ratan
Satya Johnny
 
PDF
Easy way to learn Core java full material
Sivannarayana Chimata
 
PDF
Difference between jsf, servlet and jsp
Mindfire LLC
 
PPTX
Java programming(unit 1)
Dr. SURBHI SAROHA
 
435819601-Advanced-Java_Study About Java.pptx
JPrince9
 
Ppt for Online music store
ADEEBANADEEM
 
AJppt.pptx
SachinSingh217687
 
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
abile technologies
 
Enterprise Java, Servlet, JDBC and JSP.pdf
PokemonSpyk
 
Java for Recruiters
ph7 -
 
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
Advance Java Topics (J2EE)
slire
 
Advance java prasentation
dhananajay95
 
Java language pppppt
curiosityjunction
 
Java
raj esaki
 
01 java intro
Deepal Shah
 
Spatial approximate string search Doc
Sudha Hari Tech Solution Pvt ltd
 
Jsp (java server page)
Chitrank Dixit
 
Arpita industrial trainingppt
ARPITA SRIVASTAVA
 
Java2 platform
Sajan Sahu
 
Corejava ratan
Satya Johnny
 
Easy way to learn Core java full material
Sivannarayana Chimata
 
Difference between jsf, servlet and jsp
Mindfire LLC
 
Java programming(unit 1)
Dr. SURBHI SAROHA
 
Ad

Recently uploaded (20)

PDF
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
PPTX
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PPTX
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
PDF
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
PDF
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
PPTX
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
Productivity Management Software | Workstatus
Lovely Baghel
 
Top Managed Service Providers in Los Angeles
Captain IT
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
2025-07-15 EMEA Volledig Inzicht Dutch Webinar
ThousandEyes
 
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Ad

Java

  • 1. By.., K.Rajalakshmi , Msc-IT Department of CS & IT Nadar saraswathi college of arts and science, Theni CONCEPTS OF ADVANCED JAVA PROGRAMMING JAVA SCRIPTS- SERVLET-JDBC-ETB-JSP
  • 2. • Introduction • Java script • Servlet • JDBC • ETB • JSP
  • 3. INTRODUCTION • Java is an high level programming language developed by SUN MICROSYSTEM. • It was originally designed for developing programs for set-top boxes and handled devices but later became a popular choice for creating web application. • The java syntax is similar to C++ but is strictly an object oriented programming language .
  • 4. JAVA SCRIPT: • Java script is a scripting language that enables to create dynamically updating content, control multimedia, animate images and pretty much everything else…
  • 5. SERVLET: • Servlet technology is used to create a web application (resides at server side and generate a dynamic web page) • Servlet technology is robust and scalable because of java language
  • 6. WHAT IS SERVLET?: • Servlet is an API that provides many interface and classes including documentation. • Servlet is an interface that must be implemented for creating any servlet • Servlet is a class that extends the capabilities of the server and responds to the incoming request. It can respond to any request. • Servlet is a web component that is deployed on the server to create a dynamic web page.
  • 8. JDBC: • JDBC API is a java API that can access any kind of tabular data especially data stored in a relational database. • JDBC works with java on a variety of platform, such as windows, Mac OS, and the various version of UNIX.
  • 9. PURPOSE OF LEARNING JDBC: • JDBC stands for Java Data Base Connectivity • Its is an database independent connectivity between the java programming language and a wide range of database • Some commonly associated JDBC database usages are:
  • 10. • Making a connection to a database • Creating SQL or MYSQL statements • Executing SQL or MYSQL queries in the database • Viewing & modifying the resulting records
  • 11. APPLICATIONS OF JDBC: • It is specification that provides a complete set of interface that allows for portable access to an underlying database • Java can be used to write different types of executable such as: • Java application • Java applet • Java servlet • Java server pages(JSPs) • Enterprise JavaBeans(EJBs) • All these are able to use a JDBC driver to access a database and take advantage of the stored data.
  • 12. ETB : • ETB stands for End of Transmission Block • A communication control character used to indicate the end of a block of data for communication purposes • ETB is used for blocking data where the block structure is not necessarily related to the processing format
  • 13. JSP : • JSP technology is used to create web application just like servlet technology • It can be thought of as an extension to servlet because it provide more functionality than servlet such as expression language, JSTL etc.,
  • 14. ADVANTAGE OF JSP OVER SERVLET: • There are many advantages of JSP over the servlet they are: • Extension to servlet • Easy to maintain • Fast development no need to recompile and redeploy • Less code than servlet
  • 15. LIFECYCLE OF A JSP PAGE: • The JSP pages follow these phases: • Translation of JSP page • Compilation of JSP page • Class loading • Instantiation • Request processing • Destroy
  • 16. CREATING SIMPLE JSP PAGE: • To create the first page, write some HTML codes as given below and save it by .jsp extension • To save this file as index .jsp • Put it in a folder and paste the folder in the web apps directory in apache tomcat to run the jsp page
  • 18. SIMPLE EXAMPLE: <html> <body> <% out. Print(2 * 5):%> </body> </html> o/p: It will print 10 on the browser
  • 19. HOW TO RUN A SIMPLE JSP PAGE: • Start the sever • Put the jsp file in a folder and deploy on the server • Visit the browser by the url • http://localhost:portno/contextroot/jspfile • For EG: http://localhost:8888/myapplication/index.jsp