SlideShare a Scribd company logo
By:
NicheTech
http://www.nichetechinstitute.com/
© NicheTech Computer Solutions Pvt ltd
Introduction of Java Web
Development
Web Development
 The term Web development is used for several different
activities which are linked to the developing of a website
especially for the WWW which is the World Wide Web
or also called as an intranet.
 The Web development strategies include the business
of the e-commerce, the web designing, the web content
development, the client and sever-side coding and also
the configuration of the web server.
 The web development can be branched into two main
categories, the Client Side Coding and the Server Side
Coding. The roles of a web developer generally include
the Graphic and Web designing, information
architecture and the copyediting with the usability of the
web and the optimization of the search engine.
Types of server side web
development languages
 ASP (Active Server Page)
 PHP (Hypertext Preprocessor)
 Cold Fusion
 ASP.NET
 Servlet/Jsp
What is Servlet
 A servlet is any Java class that can be invoked
and executed on a server, usually on behalf of a
client. A servlet works on the server, while an
applet works on the client. An HTTP servlet is a
Java class that handles an HTTP request and
delivers an HTTP response. HTTP servlets reside
on an HTTP server and must extend the Java
javax.servlet.http.Http Servlet Class so that they
can run in a generic servlet engine framework.
What is JSP?
 JSP (a TLA for Java Server Pages) is a server-
side implementation of the java language. Very
similar in structure to ASP, it enables the
developer to build dynamic websites and
incorporate the flexibility of java, XML etc.
 One of the most powerful features of JSP is that
you can access JavaBeans and Enterprise
JavaBeans (EJB) components from a JSP file.
 JavaBeans can be class files, serialized
Beans, Beans that are dynamically generated by
a servlet, or a servlet itself. Each JSP is
automatically compiled to a servlet by the JSP
engine, the first time it is requested, and then
executed
Java Database Connectivity Example
connectivityClaas.java
//Required import packages
import java.io.*;
import java.util.*;
import javax.sql.*;
import javax.servlet.*;
import javax.servlet. Http.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
//class Nmae Declration
 public class connectivityClaas extends HttpServlet
 {
// connecting to database object
Connection cn = null;
Statement st = null;
ResultSet rs = null;
try {
Class.forName("com.mysql.jdbc.Driver");
con =DriverManager.getConnection
(“localhost/Testexample", "root","root");
stmt = con.createStatement();
rs = stmt.executeQuery("SELECT * FROM stud");
{
// displaying records
while(rs.next()){
out.println(“No::”);
out.println("ttt");
out.println(“ Name::“);
out.println("<br>");
out.println(rs.getObject(1).toString());
out.println("ttt");
out.println(rs.getObject(2).toString());
out.println("<br>");
}
} catch (Exception){}
}
Thanks
 Surendra Kunwar
 NicheTech Com Sol Pvt Ltd
 Our Sites
1) http://www.nichetechsolutions.com/
(Development)
2) http://www.nichetechinstitute.com/ (NicheTech
Gurukul)
3) http://www.liveprojecttraining.in/ ( Live Project
Training Details)
4) https://www.facebook.com/nichetechinstituteIndi
a ( For Daily Updates)

More Related Content

PDF
Difference between jsf, servlet and jsp
PPT
Jsp(java server pages)
DOCX
Client side vs server side
PDF
Modern Web App Architectures
PDF
Enterprise java unit-1_chapter-1
PPTX
Client Side scripting and server side scripting
PPTX
PPT
Require JS
Difference between jsf, servlet and jsp
Jsp(java server pages)
Client side vs server side
Modern Web App Architectures
Enterprise java unit-1_chapter-1
Client Side scripting and server side scripting
Require JS

What's hot (20)

PPT
Introduction to ASP.NET MVC 1.0
PDF
Require.JS
PDF
Modularize JavaScript with RequireJS
PDF
Less & RequireJS - Frontend Development in Magento 2
PPTX
Client and server side scripting
PPTX
ADP - Chapter 1 Introducing Web Application Development
PPTX
Server and Client side comparision
PPT
Active Server Page(ASP)
PPTX
Modern Applications With Asp.net Core 5 and Vue JS 3
PPTX
Client side scripting and server side scripting
PPT
Web forms and server side scripting
PPTX
Single Page Application (SPA) using AngularJS
PPTX
New Features of ASP.NET 4.0
PPTX
Java server pages
PPTX
Client & server side scripting
PPTX
Dynamic web pages in java
PPTX
Client server 01
PPTX
Web Application Development using PHP and MySQL
Introduction to ASP.NET MVC 1.0
Require.JS
Modularize JavaScript with RequireJS
Less & RequireJS - Frontend Development in Magento 2
Client and server side scripting
ADP - Chapter 1 Introducing Web Application Development
Server and Client side comparision
Active Server Page(ASP)
Modern Applications With Asp.net Core 5 and Vue JS 3
Client side scripting and server side scripting
Web forms and server side scripting
Single Page Application (SPA) using AngularJS
New Features of ASP.NET 4.0
Java server pages
Client & server side scripting
Dynamic web pages in java
Client server 01
Web Application Development using PHP and MySQL
Ad

Similar to Java Training Ahmedabad , Introduction of java web development (20)

PPT
Ppt for Online music store
PPTX
Devjyotippt
PPT
JEE Course - The Web Tier
PPTX
Platform for Enterprise Solution - Java EE5
PPTX
AJppt.pptx
PPTX
Advance Java Topics (J2EE)
DOC
Servlets and jsp pages best practices
PDF
Introduction to Java Servlets - Naresh IT
PPTX
JSP overview
PPTX
JSP APP DEVLOPMENT.pptx Related to Android App Development
PDF
Introduction to Enterprise Applications and Tools
DOC
Java web developer tools
DOCX
Ibm web sphere application server interview questions
PDF
Javaserver Pages Your Visual Blueprint For Designing Dynamic Content With Jsp...
PPTX
Introduction-to-JSP-Java-Server-Pages.pptx
PPT
Lecture 19 dynamic web - java - part 1
PPT
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
PPTX
Servlets
PPTX
Java Training in Chennai
PPTX
Jsp and Servlets
Ppt for Online music store
Devjyotippt
JEE Course - The Web Tier
Platform for Enterprise Solution - Java EE5
AJppt.pptx
Advance Java Topics (J2EE)
Servlets and jsp pages best practices
Introduction to Java Servlets - Naresh IT
JSP overview
JSP APP DEVLOPMENT.pptx Related to Android App Development
Introduction to Enterprise Applications and Tools
Java web developer tools
Ibm web sphere application server interview questions
Javaserver Pages Your Visual Blueprint For Designing Dynamic Content With Jsp...
Introduction-to-JSP-Java-Server-Pages.pptx
Lecture 19 dynamic web - java - part 1
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Servlets
Java Training in Chennai
Jsp and Servlets
Ad

More from NicheTech Com. Solutions Pvt. Ltd. (10)

PPTX
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
PPT
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
PPTX
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
PPTX
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
PPT
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
PPTX
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
PPTX
Introduction of Mastert page
PPSX
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
PPSX
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...
Java Training Ahmedabad , how to Insert Data in Servlet, iOS Classes Ahmedabad
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Cocoa and MVC in ios, iOS Training Ahmedbad , iOS classes Ahmedabad
Objective of c in IOS , iOS Live Project Training Ahmedabad, MCA Live Project...
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Introduction of Mastert page
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of Oscommerce, PHP Live Project Training Ahmedabad, PHP Course A...

Recently uploaded (20)

PPTX
master seminar digital applications in india
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Classroom Observation Tools for Teachers
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Pre independence Education in Inndia.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Computing-Curriculum for Schools in Ghana
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Institutional Correction lecture only . . .
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
master seminar digital applications in india
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Final Presentation General Medicine 03-08-2024.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Sports Quiz easy sports quiz sports quiz
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
VCE English Exam - Section C Student Revision Booklet
Renaissance Architecture: A Journey from Faith to Humanism
Classroom Observation Tools for Teachers
Microbial disease of the cardiovascular and lymphatic systems
Pre independence Education in Inndia.pdf
Cell Types and Its function , kingdom of life
Computing-Curriculum for Schools in Ghana
Complications of Minimal Access Surgery at WLH
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Institutional Correction lecture only . . .
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...

Java Training Ahmedabad , Introduction of java web development

  • 1. By: NicheTech http://www.nichetechinstitute.com/ © NicheTech Computer Solutions Pvt ltd Introduction of Java Web Development
  • 2. Web Development  The term Web development is used for several different activities which are linked to the developing of a website especially for the WWW which is the World Wide Web or also called as an intranet.  The Web development strategies include the business of the e-commerce, the web designing, the web content development, the client and sever-side coding and also the configuration of the web server.  The web development can be branched into two main categories, the Client Side Coding and the Server Side Coding. The roles of a web developer generally include the Graphic and Web designing, information architecture and the copyediting with the usability of the web and the optimization of the search engine.
  • 3. Types of server side web development languages  ASP (Active Server Page)  PHP (Hypertext Preprocessor)  Cold Fusion  ASP.NET  Servlet/Jsp
  • 4. What is Servlet  A servlet is any Java class that can be invoked and executed on a server, usually on behalf of a client. A servlet works on the server, while an applet works on the client. An HTTP servlet is a Java class that handles an HTTP request and delivers an HTTP response. HTTP servlets reside on an HTTP server and must extend the Java javax.servlet.http.Http Servlet Class so that they can run in a generic servlet engine framework.
  • 5. What is JSP?  JSP (a TLA for Java Server Pages) is a server- side implementation of the java language. Very similar in structure to ASP, it enables the developer to build dynamic websites and incorporate the flexibility of java, XML etc.  One of the most powerful features of JSP is that you can access JavaBeans and Enterprise JavaBeans (EJB) components from a JSP file.  JavaBeans can be class files, serialized Beans, Beans that are dynamically generated by a servlet, or a servlet itself. Each JSP is automatically compiled to a servlet by the JSP engine, the first time it is requested, and then executed
  • 7. connectivityClaas.java //Required import packages import java.io.*; import java.util.*; import javax.sql.*; import javax.servlet.*; import javax.servlet. Http.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement;
  • 8. //class Nmae Declration  public class connectivityClaas extends HttpServlet  { // connecting to database object Connection cn = null; Statement st = null; ResultSet rs = null; try { Class.forName("com.mysql.jdbc.Driver"); con =DriverManager.getConnection (“localhost/Testexample", "root","root"); stmt = con.createStatement(); rs = stmt.executeQuery("SELECT * FROM stud"); {
  • 9. // displaying records while(rs.next()){ out.println(“No::”); out.println("ttt"); out.println(“ Name::“); out.println("<br>"); out.println(rs.getObject(1).toString()); out.println("ttt"); out.println(rs.getObject(2).toString()); out.println("<br>"); } } catch (Exception){} }
  • 10. Thanks  Surendra Kunwar  NicheTech Com Sol Pvt Ltd  Our Sites 1) http://www.nichetechsolutions.com/ (Development) 2) http://www.nichetechinstitute.com/ (NicheTech Gurukul) 3) http://www.liveprojecttraining.in/ ( Live Project Training Details) 4) https://www.facebook.com/nichetechinstituteIndi a ( For Daily Updates)