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

PPTX
Devjyotippt
PPTX
JDBC
PPT
Project First presentation about introduction to technologies to be used
PPTX
PPT on JAVA
PPTX
Java Training Ahmedabad , Introduction of java web development
PPT
JDBC Architecture and Drivers
ODP
The Importance Things of Full Stack Development
PPTX
Java server pages
Devjyotippt
JDBC
Project First presentation about introduction to technologies to be used
PPT on JAVA
Java Training Ahmedabad , Introduction of java web development
JDBC Architecture and Drivers
The Importance Things of Full Stack Development
Java server pages

What's hot (20)

PDF
Jive the renovation of Aswing
PPTX
Mule esb overview
PPT
Complete integration with mule esb
PPTX
What is Mean Stack Development ?
PDF
Meanstack Introduction by Kishore Chandra
PDF
Jeetrainers.com coursejspservlets00
PPTX
Road Trip To Component
PPTX
Java Web services
PPTX
Java Training in Chennai
PPTX
Java DataBase Connectivity API (JDBC API)
PPTX
What is Mule ESB
PPTX
NetBeans Platform for Rich Client Development
PPTX
Mean stack
PPTX
Client server 01
PPTX
Java Database Connectivity
PPTX
Advanced JAVA
DOC
jdbc document
PDF
Basic method for Java EE Web Profile
PPTX
Web programming and services
PPTX
Java in Mule
Jive the renovation of Aswing
Mule esb overview
Complete integration with mule esb
What is Mean Stack Development ?
Meanstack Introduction by Kishore Chandra
Jeetrainers.com coursejspservlets00
Road Trip To Component
Java Web services
Java Training in Chennai
Java DataBase Connectivity API (JDBC API)
What is Mule ESB
NetBeans Platform for Rich Client Development
Mean stack
Client server 01
Java Database Connectivity
Advanced JAVA
jdbc document
Basic method for Java EE Web Profile
Web programming and services
Java in Mule
Ad

Similar to Java (20)

PPT
Ppt for Online music store
PPT
Jsp(java server pages)
PPTX
Advance java prasentation
PDF
Enterprise java unit-3_chapter-1-jsp
PPTX
Industrial training
PPTX
Java Database Connectivity (JDBC)
PPTX
JAVA SERVER PAGE
PPTX
4. J2EE.pptx
PDF
Java Database Connectivity (Advanced programming)
PPTX
Java language pppppt
PDF
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
PPT
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
DOCX
java full 1.docx
DOCX
java full.docx
DOCX
java completed units.docx
DOCX
java full 1 (Recovered).docx
PPT
Cloud compiler - Minor Project by students of CBPGEC
PDF
jdbc
PPTX
JSP APP DEVLOPMENT.pptx Related to Android App Development
Ppt for Online music store
Jsp(java server pages)
Advance java prasentation
Enterprise java unit-3_chapter-1-jsp
Industrial training
Java Database Connectivity (JDBC)
JAVA SERVER PAGE
4. J2EE.pptx
Java Database Connectivity (Advanced programming)
Java language pppppt
JAVA J2EE Training in Coimbatore - Fundamentals of Java J2EE
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
java full 1.docx
java full.docx
java completed units.docx
java full 1 (Recovered).docx
Cloud compiler - Minor Project by students of CBPGEC
jdbc
JSP APP DEVLOPMENT.pptx Related to Android App Development
Ad

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Chapter 2 Digital Image Fundamentals.pdf
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
PDF
Dell Pro 14 Plus: Be better prepared for what’s coming
PDF
How AI Agents Improve Data Accuracy and Consistency in Due Diligence.pdf
PDF
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
creating-agentic-ai-solutions-leveraging-aws.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Modernizing your data center with Dell and AMD
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Chapter 3 Spatial Domain Image Processing.pdf
Chapter 2 Digital Image Fundamentals.pdf
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
Dell Pro 14 Plus: Be better prepared for what’s coming
How AI Agents Improve Data Accuracy and Consistency in Due Diligence.pdf
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
NewMind AI Monthly Chronicles - July 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Transforming Manufacturing operations through Intelligent Integrations
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
creating-agentic-ai-solutions-leveraging-aws.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Modernizing your data center with Dell and AMD
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Weekly Chronicles - August'25 Week I
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)

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