SlideShare a Scribd company logo
Introductionto web programming with java
Pemrograman Client Server - Ch. 01
2017
intro
• PAST, JAVA servlets and JSP were the dominant tech. for
building web applications,es for large enterprises for
many years.
• NOW, although they’re no longer dominant, they still
have some advantages over the newer approach.
• FUTURE, a quick search on a typical job website shows
that there is still plenty of demand for servlet and JSP
developers. In add, many of the skills for working with
servlet and JSPs also apply to newer approaches to JAVA
web development, such as JSF (JAVA Server Faces).
Course objs
• An introduction to web applications
• Three approaches for JAVA web applications
• An introduction to servlet/JSP web development
• Perspective
Section 01
“A web application is a set of web pages that are
generated in response to user requests.”
Section 01typical website
Section 01general website
Section 01
• The components of a web application
– Client/Server application
– Client will access it using a web browser (user interface)
– The web application itself stored on server computer;
this server will runs a web server software to enables it
send the web pages (Apache) and DBMS (like: MySQL,
ORACLE, etc) as database server.
Section 01static page
• HTML is the lang. that the web browser converts into the web
pages of web appl.
• Static means the pages will always the same each time they are
viewed, in other word the pages don’t response to user input.
• HTTP is the protocol that the web browsers and web servers use
to communicate using HTTP Request/Response
Section 01dynamic page
• Dynamic web page is an HTML docs that generated by web appl.
ussually based on a/some params. those are sent by the web
browser.
• Most modern web appl. store and retrieve data from a database
that runs on database server.
• The web browser only take responsibility for .htm/.html docs.
Section 02
• Servlet/JSP
– is a lower level API that does less work for the programmer
– Provides a hig degree of control over html/css/js that’s
returned to the browser
• JSF
– is a lower level API that does more work for the programmer
– Makes it more difficult to control the html/css/js that’s
returned to the browser
• SPRING Framework
– is a lower level API that does more work for the programmer
– Provides a hig degree of control over html/css/js that’s
returned to the browser
Section 02
• Servlet/JSP
– Servlets store the JAVA code that does the server-side
processing, while JSP store the HTML that defines the
user interface.
– To run a web appl. that uses these tech. you only need
to work with the servlet/JSP part of the JAVA EE specs.
– This servlet/JSP API is the foundation for the other two
approaches; as a result, it’s a good place to get started
with JAVA Web Programming.
Section 03
• A servlet/JSP appl. must have web server and servlet/JSP
engine, also known as JSP container to process the HTTP
Requset and return HTTP Response (TOMCAT)
Section 03
• Most servlet/JSP appl. use a database to store the
data that’d used by the appl. (MySQL)
Section 03
• For a servlet/JSP engine to work, it should have
access to JAVA’s JDK.
Section 03architecture servlet/jsp appl
Section 03directory structure
Section 03tools
• Netbeans (IDE);
• TOMCAT(inc webserver named COYOTE, servlet/JSP
engine named CATALINA)
• MySQL (Database Server)
Perspective
• An introduction to web applications
• Three approaches for JAVA web applications
• An introduction to servlet/JSP web development

More Related Content

PPT
Jsp Comparison
PDF
Isomorphic server side rendering with Twig
PDF
Ember App Kit & The Ember Resolver
DOCX
Jsp viva questions
PPTX
Client side scripting and server side scripting
PPTX
Comapring jsp and Sevlet
DOCX
Introduction to servlet
Jsp Comparison
Isomorphic server side rendering with Twig
Ember App Kit & The Ember Resolver
Jsp viva questions
Client side scripting and server side scripting
Comapring jsp and Sevlet
Introduction to servlet

What's hot (20)

PPTX
Java Training Ahmedabad , Introduction of java web development
PDF
Single page applications with backbone js
PDF
Project Fedena and Why Ruby on Rails - ArvindArvind G S
PPTX
Client side and server side scripting
KEY
Server Side Programming
PPSX
Design mobile efficient Apis
PPT
Jsp abes new
PPTX
PPTX
Mobile APIs in Practice
PPTX
Php Training in Chandigarh
PPS
Asp.Net 2.0 Presentation
PPTX
The WordPress Way: Accessibility and Backwards Compatibility
PPTX
Web application with mule
ODP
Servlets
PDF
Automated testing APEX Applications
PPT
JSP Part 1
PPTX
Web Development Today
PDF
Introduction to Ruby on Rails
PPTX
PPTX
JDBC
Java Training Ahmedabad , Introduction of java web development
Single page applications with backbone js
Project Fedena and Why Ruby on Rails - ArvindArvind G S
Client side and server side scripting
Server Side Programming
Design mobile efficient Apis
Jsp abes new
Mobile APIs in Practice
Php Training in Chandigarh
Asp.Net 2.0 Presentation
The WordPress Way: Accessibility and Backwards Compatibility
Web application with mule
Servlets
Automated testing APEX Applications
JSP Part 1
Web Development Today
Introduction to Ruby on Rails
JDBC
Ad

Similar to Client server 01 (20)

PPT
Ppt for Online music store
PPT
Jsp(java server pages)
PPTX
Java JSP.pptx
PDF
Enterprise java unit-3_chapter-1-jsp
PPTX
JAVA SERVER PAGE
PDF
20jsp
PDF
SAP S4 HANA_JAVA Architecture_sys Admin_Day 4.pdf
PDF
Enterprise Java, Servlet, JDBC and JSP.pdf
PDF
Csajsp Chapter10
PDF
Jsf2 overview
PPTX
Frameworks in java
PPTX
Single page App
DOC
Servlets and jsp pages best practices
PDF
Jeetrainers.com coursejspservlets00
PDF
Coursejspservlets00
PPTX
Jsp basic
PDF
Jsf2 overview
PDF
Mvc15 (1)
DOCX
Online grocery store
Ppt for Online music store
Jsp(java server pages)
Java JSP.pptx
Enterprise java unit-3_chapter-1-jsp
JAVA SERVER PAGE
20jsp
SAP S4 HANA_JAVA Architecture_sys Admin_Day 4.pdf
Enterprise Java, Servlet, JDBC and JSP.pdf
Csajsp Chapter10
Jsf2 overview
Frameworks in java
Single page App
Servlets and jsp pages best practices
Jeetrainers.com coursejspservlets00
Coursejspservlets00
Jsp basic
Jsf2 overview
Mvc15 (1)
Online grocery store
Ad

Recently uploaded (20)

PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Classroom Observation Tools for Teachers
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Cell Structure & Organelles in detailed.
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Institutional Correction lecture only . . .
PDF
Supply Chain Operations Speaking Notes -ICLT Program
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
2.FourierTransform-ShortQuestionswithAnswers.pdf
Renaissance Architecture: A Journey from Faith to Humanism
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Classroom Observation Tools for Teachers
TR - Agricultural Crops Production NC III.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Final Presentation General Medicine 03-08-2024.pptx
Sports Quiz easy sports quiz sports quiz
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial disease of the cardiovascular and lymphatic systems
Cell Structure & Organelles in detailed.
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH
Institutional Correction lecture only . . .
Supply Chain Operations Speaking Notes -ICLT Program

Client server 01

  • 1. Introductionto web programming with java Pemrograman Client Server - Ch. 01 2017
  • 2. intro • PAST, JAVA servlets and JSP were the dominant tech. for building web applications,es for large enterprises for many years. • NOW, although they’re no longer dominant, they still have some advantages over the newer approach. • FUTURE, a quick search on a typical job website shows that there is still plenty of demand for servlet and JSP developers. In add, many of the skills for working with servlet and JSPs also apply to newer approaches to JAVA web development, such as JSF (JAVA Server Faces).
  • 3. Course objs • An introduction to web applications • Three approaches for JAVA web applications • An introduction to servlet/JSP web development • Perspective
  • 4. Section 01 “A web application is a set of web pages that are generated in response to user requests.”
  • 7. Section 01 • The components of a web application – Client/Server application – Client will access it using a web browser (user interface) – The web application itself stored on server computer; this server will runs a web server software to enables it send the web pages (Apache) and DBMS (like: MySQL, ORACLE, etc) as database server.
  • 8. Section 01static page • HTML is the lang. that the web browser converts into the web pages of web appl. • Static means the pages will always the same each time they are viewed, in other word the pages don’t response to user input. • HTTP is the protocol that the web browsers and web servers use to communicate using HTTP Request/Response
  • 9. Section 01dynamic page • Dynamic web page is an HTML docs that generated by web appl. ussually based on a/some params. those are sent by the web browser. • Most modern web appl. store and retrieve data from a database that runs on database server. • The web browser only take responsibility for .htm/.html docs.
  • 10. Section 02 • Servlet/JSP – is a lower level API that does less work for the programmer – Provides a hig degree of control over html/css/js that’s returned to the browser • JSF – is a lower level API that does more work for the programmer – Makes it more difficult to control the html/css/js that’s returned to the browser • SPRING Framework – is a lower level API that does more work for the programmer – Provides a hig degree of control over html/css/js that’s returned to the browser
  • 11. Section 02 • Servlet/JSP – Servlets store the JAVA code that does the server-side processing, while JSP store the HTML that defines the user interface. – To run a web appl. that uses these tech. you only need to work with the servlet/JSP part of the JAVA EE specs. – This servlet/JSP API is the foundation for the other two approaches; as a result, it’s a good place to get started with JAVA Web Programming.
  • 12. Section 03 • A servlet/JSP appl. must have web server and servlet/JSP engine, also known as JSP container to process the HTTP Requset and return HTTP Response (TOMCAT)
  • 13. Section 03 • Most servlet/JSP appl. use a database to store the data that’d used by the appl. (MySQL)
  • 14. Section 03 • For a servlet/JSP engine to work, it should have access to JAVA’s JDK.
  • 17. Section 03tools • Netbeans (IDE); • TOMCAT(inc webserver named COYOTE, servlet/JSP engine named CATALINA) • MySQL (Database Server)
  • 18. Perspective • An introduction to web applications • Three approaches for JAVA web applications • An introduction to servlet/JSP web development