SlideShare ist ein Scribd-Unternehmen logo
1 von 27
• Arya Kumar Yadav
• Harihar Mahto
• Deepak Vishwakarma
Project First Presentation Of Technologies to be used
• 1. Introduction to Project
• 2. Introduction to JSP
• 3. Why use JSP/Advantages
• 4. Architecture of JSP
• 5. Life Cycle of JSP.
• 6. Similarity between JSP & servlet
• 7. Difference between JSP & Servlet
• 8. Introduction to MySQL
• 9. Introduction to HTML, CSS and JavaScript.
• Project Name:
Online Payment System
• Technologies to be used:
Programming language:
Java
Front-end:
JSP, HTML, CSS, JavaScript
Back-end:
Database: MySQL
Server: Apache Tomcat
• Operating System:
Windows 8
• It is a technology for developing web pages that support
dynamic content .
• It helps developers insert java code in HTML pages by
making use of special JSP tags .
• Using JSP, we can collect input from users through web
page forms, present records from a database and create
web pages dynamically.
• JSP is an integral part of J2EE, this means that JSP can
play a part in the simplest applications to the most
complex and demanding.
• vs. Active ServerPages : First, the dynamic part is written in
Java, not Visual Basic or other MS specific language, so it is
more powerful and easier to use. Second, it is portable to
other operating systems and non-Microsoft Web servers.
• vs. Pure Servlets: It is more convenient to write (and to
modify!) regular HTML than to have plenty of println()
statements.
• vs. JavaScript: JavaScript can generate HTML dynamically on
the client but can hardly interact with the web server to
perform complex tasks like database access and image
processing etc.
• vs. Static HTML: Regular HTML, of course, cannot contain
dynamic information.
• Browser sends an HTTP request to the web server.
• The web server recognizes that the HTTP request is for a
JSP page and forwards it to a JSP engine.
• The JSP engine loads the JSP page from disk and
converts it into a servlet content.
• This conversion is very simple in which all template text is
converted to println( ) statements and all JSP elements
are converted to Java code that implements the
corresponding dynamic behaviour of the page.
• The JSP engine compiles the servlet into an executable
class and forwards the original request to a servlet
engine .
• The JSP engine compiles the servlet into an executable
class and forwards the original request to a servlet
engine .
• The web server forwards the HTTP response to your
browser in terms of static HTML content.
• Finally web browser handles the dynamically generated
HTML page inside the HTTP response exactly as if it
were a static page.
• A JSP life cycle can be defined as the entire process
from its creation till the destruction which is similar to a
servlet life cycle with an additional step which is required
to compile a JSP into servlet.
The following are the paths followed by a JSP
• Compilation
• Initialization
• Execution
• Clean-Up
When a browser asks for a JSP, the JSP engine first
checks to see whether it needs to compile the page. If the
page has never been compiled, or if the JSP has been
modified since it was last compiled, the JSP engine
compiles the page.
•The compilation process involves three steps:
• Parsing the JSP.
• Turning the JSP into a servlet.
• Compiling the servlet.
• When a container loads a JSP it invokes the jspInit()
method before servicing any requests .
• We generally initialize database connections, open files,
and create lookup tables in the jspInit() method.
public void jspInit() {
//Initialization code
}
• The _jspService() method of a JSP is invoked once per a
request.
• Whenever a browser requests a JSP and the page has
been loaded and initialized, the JSP engine invokes the
_jspService() method in the JSP.
• is responsible for generating the response for requests
and is also responsible for generating responses to all
seven of the HTTP methods i.e. GET, POST, DELETE
etc.
void _jspService ( HttpServletRequest request ()
, HttpServletResponse response() )
{
//Service handling code
}
• It is the destruction phase of the JSP life cycle represents
when a JSP is being removed from use by a container .
• This method is equivalent of the destroy method for
servlets.
• It is called when we need to perform any clean-up, such
as releasing database connections or closing open files.
public void jspDestroy()
{
//clean-up code
}
• A JSP page , after compilation , generates a servlet and
therefore incorporates all servlet functionalities
• Servlets and JSP thus share common features, such as platform
independence , creation of database-driven Web applications ,
and server side programming capabilities.
• Servlets tie up files (an HTML file for the static content
and a Java file for the dynamic contents) to
independently handle the static presentation logic and the
dynamic business logic .
• Due to this , a change made to any file requires
recompilation of the servlet .
• JSP on the other hand allows Java to be embedded
directly into an HTML page by using tags .
• Any changes made to HTML content is automatically
compiled and loaded onto the servlet.
• It is a open source relational data base management
system that uses Structured Query Language (SQL).
• It provides us a secure environment for storing
maintaining and accessing data.
• MySQL was invented by Michael Widenius.
• IT was created by MySQL AB, a company based in
Sweden.
• In 2009 it was adopted by Oracle corporation.
• Speed: Sports clustered server for demanding
applications.
• Ease of Use
• Cost: Available free of cost, It is a part of LAMP
environment, an open source enterprise.
• Query language support.
• Portability: Can work one different platforms
• Data types: supports, fixed length and variable length
record.
• Security: Offers a password system that is flexible and
secure.
• Scalability and limits: Can handle large databases. Some
real life MySQL databases contend 50 million records.
MySQL uses SQL command to communicate with the
database to perform specific tasks, work, functions and
queries with data.
SQL commands are grouped into three major
categories depending on their functionality.
•Data Definition Language (DDL) - These SQL commands
are used for creating, modifying, and dropping the structure
of database objects. The commands are CREATE, ALTER,
DROP
etc.
•Data Manipulation Language (DML) - These SQL
commands are used for storing, retrieving, modifying, and
deleting data. 
These Data Manipulation Language commands
• Transaction Control Language (TCL) - These SQL
commands are used for managing changes affecting the
data. These commands are COMMIT, ROLLBACK, and
SAVEPOINT.
• Stands for Hypertext Mark Up Language.
• Creates static web pages using HTML tags.
• Developed by Tim Berners Lee.
• HTML documents are described by HTML tags.
• Each HTML tag describes different document content.
• In addition with CSS and JavaScript it is called DHTL.
• It is not case sensitive.
• HTML 5 is latest versions.
• Web browsers renders HTML pages.
• JavaScript is a dynamic computer programming
language. It is lightweight and most commonly used as a
part of web pages, whose implementations allow client-
side script to interact with the user and make dynamic
pages. It is an interpreted programming language with
object-oriented capabilities.
• JavaScript 2 is the latest version now.
• Syntax of JavaScript
<script type=“text/JavaScript”>
JavaScript code
</script>
• Less serverinteraction: You can validate user input
before sending the page off to the server. This saves
server traffic, which means less load on your server.
• Immediate feedbackto the visitors: They don't have to
wait for a page reload to see if they have forgotten to
enter something.
• Increased interactivity: You can create interfaces that
react when the user hovers over them with a mouse or
activates them via the keyboard.
• Richerinterfaces: You can use JavaScript to include
such items as drag and-drop components and sliders to
give a Rich Interface to your site visitors.
• Cascading Style Sheets handles the look and feel part of
a web page.
• Using CSS, we can control the
• colour of the text,
• the style of fonts,
• the spacing between paragraphs
• background images or colours .
• CSS saves time - You can write CSS once and then
reuse the same sheet in multiple HTML pages. You can
define a style for each HTML element and apply it to as
many web pages as you want.
• Pages load faster - If you are using CSS, you do not
need to write HTML tag attributes every time. Just write
one CSS rule of a tag and apply it to all the occurrences
of that tag. So, less code means faster download times.
• Easy maintenance - To make a global change, simply
change the style, and all the elements in all the web
pages will be updated automatically.
• Superiorstyles to HTML - CSS has a much wider array
of attributes than HTML, so you can give a far better look
to your HTML page in comparison to HTML attributes.
• www.tutorialspoint.com
• www.w3schools.com
• Informatics Practices by Sumita Arora.
Any Queries....

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to React by Ebowe Blessing
Introduction to React by Ebowe BlessingIntroduction to React by Ebowe Blessing
Introduction to React by Ebowe BlessingBlessing Ebowe
 
Java web services soap rest training from hyderabad
Java web services soap rest training from hyderabadJava web services soap rest training from hyderabad
Java web services soap rest training from hyderabadFuturePoint Technologies
 
Session 25 - Introduction to JEE, Servlets
Session 25 - Introduction to JEE, ServletsSession 25 - Introduction to JEE, Servlets
Session 25 - Introduction to JEE, ServletsPawanMM
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Richard Esplin
 
Jsp & Ajax
Jsp & AjaxJsp & Ajax
Jsp & AjaxAng Chen
 
Java architecture for xml binding
Java architecture for xml bindingJava architecture for xml binding
Java architecture for xml bindingKiran Gajbhiye
 
Java database connectivity
Java database connectivityJava database connectivity
Java database connectivityVaishali Modi
 
Java Web services
Java Web servicesJava Web services
Java Web servicesSujit Kumar
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Reviewnetc2012
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesWebStackAcademy
 
Angular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase IntegrationAngular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase IntegrationWebStackAcademy
 
Languages and tools for web programming
Languages and tools for web  programmingLanguages and tools for web  programming
Languages and tools for web programmingAlamelu
 
Web programming and services
Web programming and servicesWeb programming and services
Web programming and serviceslaibamaqsood
 

Was ist angesagt? (18)

Introduction to React by Ebowe Blessing
Introduction to React by Ebowe BlessingIntroduction to React by Ebowe Blessing
Introduction to React by Ebowe Blessing
 
Java web services soap rest training from hyderabad
Java web services soap rest training from hyderabadJava web services soap rest training from hyderabad
Java web services soap rest training from hyderabad
 
Session 25 - Introduction to JEE, Servlets
Session 25 - Introduction to JEE, ServletsSession 25 - Introduction to JEE, Servlets
Session 25 - Introduction to JEE, Servlets
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
 
Jsp & Ajax
Jsp & AjaxJsp & Ajax
Jsp & Ajax
 
Java architecture for xml binding
Java architecture for xml bindingJava architecture for xml binding
Java architecture for xml binding
 
Java database connectivity
Java database connectivityJava database connectivity
Java database connectivity
 
Java Web services
Java Web servicesJava Web services
Java Web services
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Review
 
jdbc
jdbcjdbc
jdbc
 
Css
CssCss
Css
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
 
Angular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase IntegrationAngular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase Integration
 
Data programing
Data programingData programing
Data programing
 
RESTful Rails2
RESTful Rails2RESTful Rails2
RESTful Rails2
 
Jsp
JspJsp
Jsp
 
Languages and tools for web programming
Languages and tools for web  programmingLanguages and tools for web  programming
Languages and tools for web programming
 
Web programming and services
Web programming and servicesWeb programming and services
Web programming and services
 

Andere mochten auch (12)

Quality of service
Quality of serviceQuality of service
Quality of service
 
Physical layer
Physical layerPhysical layer
Physical layer
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Quality of Service
Quality  of  ServiceQuality  of  Service
Quality of Service
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Cisco: QoS
Cisco: QoSCisco: QoS
Cisco: QoS
 
QoS
QoSQoS
QoS
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Service Quality & Model
Service Quality & ModelService Quality & Model
Service Quality & Model
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Service quality
Service qualityService quality
Service quality
 

Ähnlich wie Project First presentation about introduction to technologies to be used

JavaScript, often abbreviated as JS, is a programming language and core techn...
JavaScript, often abbreviated as JS, is a programming language and core techn...JavaScript, often abbreviated as JS, is a programming language and core techn...
JavaScript, often abbreviated as JS, is a programming language and core techn...MathivananP4
 
BITM3730Week12.pptx
BITM3730Week12.pptxBITM3730Week12.pptx
BITM3730Week12.pptxMattMarino13
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 
Enterprise java unit-3_chapter-1-jsp
Enterprise  java unit-3_chapter-1-jspEnterprise  java unit-3_chapter-1-jsp
Enterprise java unit-3_chapter-1-jspsandeep54552
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)slire
 
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.pptsindhu991994
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Gera Paulos
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxkarthiksmart21
 
Meanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraMeanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraKishore Chandra
 
presentation on online movie ticket booking
presentation on online movie ticket bookingpresentation on online movie ticket booking
presentation on online movie ticket bookingdharmawath
 

Ähnlich wie Project First presentation about introduction to technologies to be used (20)

Jsp basic
Jsp basicJsp basic
Jsp basic
 
JavaScript, often abbreviated as JS, is a programming language and core techn...
JavaScript, often abbreviated as JS, is a programming language and core techn...JavaScript, often abbreviated as JS, is a programming language and core techn...
JavaScript, often abbreviated as JS, is a programming language and core techn...
 
BITM3730Week12.pptx
BITM3730Week12.pptxBITM3730Week12.pptx
BITM3730Week12.pptx
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Enterprise java unit-3_chapter-1-jsp
Enterprise  java unit-3_chapter-1-jspEnterprise  java unit-3_chapter-1-jsp
Enterprise java unit-3_chapter-1-jsp
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Jsp abes new
Jsp abes newJsp abes new
Jsp abes new
 
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt
192563547-Servletsjhb,mnjhjhjm,nm,-Pres-ppt.ppt
 
Jsp
JspJsp
Jsp
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptx
 
Servlet.pptx
Servlet.pptxServlet.pptx
Servlet.pptx
 
Servlet.pptx
Servlet.pptxServlet.pptx
Servlet.pptx
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
Java
JavaJava
Java
 
Meanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore ChandraMeanstack Introduction by Kishore Chandra
Meanstack Introduction by Kishore Chandra
 
MEAN Stack
MEAN StackMEAN Stack
MEAN Stack
 
MEAN Stack
MEAN StackMEAN Stack
MEAN Stack
 
presentation on online movie ticket booking
presentation on online movie ticket bookingpresentation on online movie ticket booking
presentation on online movie ticket booking
 
20jsp
20jsp20jsp
20jsp
 

Kürzlich hochgeladen

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 

Kürzlich hochgeladen (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 

Project First presentation about introduction to technologies to be used

  • 1. • Arya Kumar Yadav • Harihar Mahto • Deepak Vishwakarma Project First Presentation Of Technologies to be used
  • 2. • 1. Introduction to Project • 2. Introduction to JSP • 3. Why use JSP/Advantages • 4. Architecture of JSP • 5. Life Cycle of JSP. • 6. Similarity between JSP & servlet • 7. Difference between JSP & Servlet • 8. Introduction to MySQL • 9. Introduction to HTML, CSS and JavaScript.
  • 3. • Project Name: Online Payment System • Technologies to be used: Programming language: Java Front-end: JSP, HTML, CSS, JavaScript Back-end: Database: MySQL Server: Apache Tomcat • Operating System: Windows 8
  • 4. • It is a technology for developing web pages that support dynamic content . • It helps developers insert java code in HTML pages by making use of special JSP tags . • Using JSP, we can collect input from users through web page forms, present records from a database and create web pages dynamically. • JSP is an integral part of J2EE, this means that JSP can play a part in the simplest applications to the most complex and demanding.
  • 5. • vs. Active ServerPages : First, the dynamic part is written in Java, not Visual Basic or other MS specific language, so it is more powerful and easier to use. Second, it is portable to other operating systems and non-Microsoft Web servers. • vs. Pure Servlets: It is more convenient to write (and to modify!) regular HTML than to have plenty of println() statements. • vs. JavaScript: JavaScript can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. • vs. Static HTML: Regular HTML, of course, cannot contain dynamic information.
  • 6.
  • 7. • Browser sends an HTTP request to the web server. • The web server recognizes that the HTTP request is for a JSP page and forwards it to a JSP engine. • The JSP engine loads the JSP page from disk and converts it into a servlet content. • This conversion is very simple in which all template text is converted to println( ) statements and all JSP elements are converted to Java code that implements the corresponding dynamic behaviour of the page.
  • 8. • The JSP engine compiles the servlet into an executable class and forwards the original request to a servlet engine . • The JSP engine compiles the servlet into an executable class and forwards the original request to a servlet engine . • The web server forwards the HTTP response to your browser in terms of static HTML content. • Finally web browser handles the dynamically generated HTML page inside the HTTP response exactly as if it were a static page.
  • 9. • A JSP life cycle can be defined as the entire process from its creation till the destruction which is similar to a servlet life cycle with an additional step which is required to compile a JSP into servlet. The following are the paths followed by a JSP • Compilation • Initialization • Execution • Clean-Up
  • 10. When a browser asks for a JSP, the JSP engine first checks to see whether it needs to compile the page. If the page has never been compiled, or if the JSP has been modified since it was last compiled, the JSP engine compiles the page. •The compilation process involves three steps: • Parsing the JSP. • Turning the JSP into a servlet. • Compiling the servlet.
  • 11. • When a container loads a JSP it invokes the jspInit() method before servicing any requests . • We generally initialize database connections, open files, and create lookup tables in the jspInit() method. public void jspInit() { //Initialization code }
  • 12. • The _jspService() method of a JSP is invoked once per a request. • Whenever a browser requests a JSP and the page has been loaded and initialized, the JSP engine invokes the _jspService() method in the JSP. • is responsible for generating the response for requests and is also responsible for generating responses to all seven of the HTTP methods i.e. GET, POST, DELETE etc. void _jspService ( HttpServletRequest request () , HttpServletResponse response() ) { //Service handling code }
  • 13. • It is the destruction phase of the JSP life cycle represents when a JSP is being removed from use by a container . • This method is equivalent of the destroy method for servlets. • It is called when we need to perform any clean-up, such as releasing database connections or closing open files. public void jspDestroy() { //clean-up code }
  • 14. • A JSP page , after compilation , generates a servlet and therefore incorporates all servlet functionalities • Servlets and JSP thus share common features, such as platform independence , creation of database-driven Web applications , and server side programming capabilities.
  • 15. • Servlets tie up files (an HTML file for the static content and a Java file for the dynamic contents) to independently handle the static presentation logic and the dynamic business logic . • Due to this , a change made to any file requires recompilation of the servlet . • JSP on the other hand allows Java to be embedded directly into an HTML page by using tags . • Any changes made to HTML content is automatically compiled and loaded onto the servlet.
  • 16. • It is a open source relational data base management system that uses Structured Query Language (SQL). • It provides us a secure environment for storing maintaining and accessing data. • MySQL was invented by Michael Widenius. • IT was created by MySQL AB, a company based in Sweden. • In 2009 it was adopted by Oracle corporation.
  • 17. • Speed: Sports clustered server for demanding applications. • Ease of Use • Cost: Available free of cost, It is a part of LAMP environment, an open source enterprise. • Query language support. • Portability: Can work one different platforms • Data types: supports, fixed length and variable length record. • Security: Offers a password system that is flexible and secure. • Scalability and limits: Can handle large databases. Some real life MySQL databases contend 50 million records.
  • 18. MySQL uses SQL command to communicate with the database to perform specific tasks, work, functions and queries with data. SQL commands are grouped into three major categories depending on their functionality. •Data Definition Language (DDL) - These SQL commands are used for creating, modifying, and dropping the structure of database objects. The commands are CREATE, ALTER, DROP etc. •Data Manipulation Language (DML) - These SQL commands are used for storing, retrieving, modifying, and deleting data.  These Data Manipulation Language commands
  • 19. • Transaction Control Language (TCL) - These SQL commands are used for managing changes affecting the data. These commands are COMMIT, ROLLBACK, and SAVEPOINT.
  • 20. • Stands for Hypertext Mark Up Language. • Creates static web pages using HTML tags. • Developed by Tim Berners Lee. • HTML documents are described by HTML tags. • Each HTML tag describes different document content. • In addition with CSS and JavaScript it is called DHTL. • It is not case sensitive. • HTML 5 is latest versions. • Web browsers renders HTML pages.
  • 21.
  • 22. • JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client- side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. • JavaScript 2 is the latest version now. • Syntax of JavaScript <script type=“text/JavaScript”> JavaScript code </script>
  • 23. • Less serverinteraction: You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server. • Immediate feedbackto the visitors: They don't have to wait for a page reload to see if they have forgotten to enter something. • Increased interactivity: You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard. • Richerinterfaces: You can use JavaScript to include such items as drag and-drop components and sliders to give a Rich Interface to your site visitors.
  • 24. • Cascading Style Sheets handles the look and feel part of a web page. • Using CSS, we can control the • colour of the text, • the style of fonts, • the spacing between paragraphs • background images or colours .
  • 25. • CSS saves time - You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many web pages as you want. • Pages load faster - If you are using CSS, you do not need to write HTML tag attributes every time. Just write one CSS rule of a tag and apply it to all the occurrences of that tag. So, less code means faster download times. • Easy maintenance - To make a global change, simply change the style, and all the elements in all the web pages will be updated automatically. • Superiorstyles to HTML - CSS has a much wider array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.
  • 26. • www.tutorialspoint.com • www.w3schools.com • Informatics Practices by Sumita Arora.