SlideShare une entreprise Scribd logo
1  sur  2
Java® 2 Platform software can be used to create and run three common types of
programs written for the Java platform—applications, applets, and servlets.

A Java application is similar to any other programming language, and can perform all
tasks normally associated with programs, including various tasks that applets cannot
perform. In addition, an application does not need a browser to be executed and
execution is possible in a client or server machine. Java applications are popular and
often seen in applications like accounting software, office suites, graphics software and
media players to name a few.

A Java applet is a small application program and must be downloaded before it is run
within a Java-enabled Web browser. Applets are located on a Web server. When the
Web server returns an HTML page that points to a Java applet, the Java-enabled Web
browser requests the applet to be downloaded from the Web server. Once received, the
browser starts the applet internally, or an external JVM executes it. Applets usually
perform simple operations and are used to provide interactive features to web
applications that cannot be provided by HTML alone. Applets are popular as they can
capture mouse input (like rotating 3D object) and also have controls like buttons or
check boxes. In response to the user action an applet can change the provided graphic
content.

A Java servlet is basically a server-side Java, and runs on the Web server just like and
applet runs in the Web browser. They can be used to extend the functionality of the
Web server. The Web server hands requests to the servlet, and the servlet replies to
them. Servlets can be used instead of CGI applications. To run Java servlets, your Web
server must support the Java servlet API, developed by JavaSoft. This API defines how
the servlet communicates with the server. Java servlets have security advantages over
client-side Java applets. A servlet that runs on a Web server inside a firewall can control
access to sensitive data and business logic. Java applets do not inherently provide
these security capabilities. Java servlets are popular for processing and storing data
submitted by an HTML form, and an online shopping cart system that manages
shopping carts on a retail web site.



So, to summarize, the major qualities of Java are:
   •   Its similarity to other popular languages

   •   Its ability to enable Web interaction

   •   Its ability to enable executable Web content

   •   Its ability to run on multiple platforms
Reference: http://www.craigsmullins.com/db2_java.htm

Contenu connexe

Tendances

Difference between jsf, servlet and jsp
Difference between jsf, servlet and jspDifference between jsf, servlet and jsp
Difference between jsf, servlet and jspMindfire LLC
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniJoseph Khan
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCEmad Alashi
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introductionBhagath Gopinath
 
Building Cool apps with flex
Building Cool apps with flexBuilding Cool apps with flex
Building Cool apps with flexJoseph Khan
 
Using Wordpress As An Application Platform -- #WCMKE 2014
Using Wordpress As An Application Platform -- #WCMKE 2014Using Wordpress As An Application Platform -- #WCMKE 2014
Using Wordpress As An Application Platform -- #WCMKE 2014serversideup
 
Single page webapplications
Single page webapplicationsSingle page webapplications
Single page webapplicationsRonald Harmsen
 
Introduction to advanced java
Introduction to advanced javaIntroduction to advanced java
Introduction to advanced javakritikumar16
 
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin SawantAsp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin SawantNitin Sawant
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye Viewcsushil
 
Silver Light By Nyros Developer
Silver Light By Nyros DeveloperSilver Light By Nyros Developer
Silver Light By Nyros DeveloperNyros Technologies
 
Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Rishu Mehra
 
ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines  ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines Dev Raj Gautam
 

Tendances (20)

Difference between jsf, servlet and jsp
Difference between jsf, servlet and jspDifference between jsf, servlet and jsp
Difference between jsf, servlet and jsp
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - Zaloni
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
JavaScript MVC Frameworks: Backbone, Ember and Angular JS
JavaScript MVC Frameworks: Backbone, Ember and Angular JSJavaScript MVC Frameworks: Backbone, Ember and Angular JS
JavaScript MVC Frameworks: Backbone, Ember and Angular JS
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introduction
 
Mvc framework
Mvc frameworkMvc framework
Mvc framework
 
Building Cool apps with flex
Building Cool apps with flexBuilding Cool apps with flex
Building Cool apps with flex
 
Using Wordpress As An Application Platform -- #WCMKE 2014
Using Wordpress As An Application Platform -- #WCMKE 2014Using Wordpress As An Application Platform -- #WCMKE 2014
Using Wordpress As An Application Platform -- #WCMKE 2014
 
Mvc
MvcMvc
Mvc
 
What is MVC?
What is MVC?What is MVC?
What is MVC?
 
Client Side scripting and server side scripting
Client Side scripting and server side scriptingClient Side scripting and server side scripting
Client Side scripting and server side scripting
 
Client server 01
Client server 01Client server 01
Client server 01
 
Single page webapplications
Single page webapplicationsSingle page webapplications
Single page webapplications
 
Introduction to advanced java
Introduction to advanced javaIntroduction to advanced java
Introduction to advanced java
 
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin SawantAsp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye View
 
Silver Light By Nyros Developer
Silver Light By Nyros DeveloperSilver Light By Nyros Developer
Silver Light By Nyros Developer
 
Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010Mvc 4 0_jayant_jindal_28082010
Mvc 4 0_jayant_jindal_28082010
 
ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines  ASP .NET MVC Introduction & Guidelines
ASP .NET MVC Introduction & Guidelines
 

Similaire à Week1 dq5

Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 
How to use Java in Web Application Development?
How to use Java in Web Application Development?How to use Java in Web Application Development?
How to use Java in Web Application Development?Inexture Solutions
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCChaithraCSHirematt
 
Java Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentJava Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentNicheTech Com. Solutions Pvt. Ltd.
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web ServerGagandeep Singh
 
Software environment
Software environmentSoftware environment
Software environmentKinnudj Amee
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technologysshhzap
 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1RubaNagarajan
 
Introduction to Enterprise Applications and Tools
Introduction to Enterprise Applications and ToolsIntroduction to Enterprise Applications and Tools
Introduction to Enterprise Applications and ToolsTharindu Weerasinghe
 
Latest Web development technologies 2021
 Latest Web development technologies 2021 Latest Web development technologies 2021
Latest Web development technologies 2021SWATHYSMOHAN
 
Active web page chapter for reading purpose
Active web page chapter for reading purposeActive web page chapter for reading purpose
Active web page chapter for reading purposeSambalSwetank
 

Similaire à Week1 dq5 (20)

E farming
E farmingE farming
E farming
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
How to use Java in Web Application Development?
How to use Java in Web Application Development?How to use Java in Web Application Development?
How to use Java in Web Application Development?
 
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBCJ2EE Notes JDBC database Connectiviy and Programs related to JDBC
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
 
Java Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web developmentJava Training Ahmedabad , Introduction of java web development
Java Training Ahmedabad , Introduction of java web development
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web Server
 
Software requirement
Software requirementSoftware requirement
Software requirement
 
Software environment
Software environmentSoftware environment
Software environment
 
GMR PROJECT PPT
GMR PROJECT PPTGMR PROJECT PPT
GMR PROJECT PPT
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technology
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 
Java ee introduction
Java ee introductionJava ee introduction
Java ee introduction
 
JAVA.pptx
JAVA.pptxJAVA.pptx
JAVA.pptx
 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1
 
Lecture1 oopj
Lecture1 oopjLecture1 oopj
Lecture1 oopj
 
Enterprice java
Enterprice javaEnterprice java
Enterprice java
 
Django vs laravel
Django vs laravelDjango vs laravel
Django vs laravel
 
Introduction to Enterprise Applications and Tools
Introduction to Enterprise Applications and ToolsIntroduction to Enterprise Applications and Tools
Introduction to Enterprise Applications and Tools
 
Latest Web development technologies 2021
 Latest Web development technologies 2021 Latest Web development technologies 2021
Latest Web development technologies 2021
 
Active web page chapter for reading purpose
Active web page chapter for reading purposeActive web page chapter for reading purpose
Active web page chapter for reading purpose
 

Plus de amaxwell2012 (9)

Week3 dq4
Week3 dq4Week3 dq4
Week3 dq4
 
Week3 dq1
Week3 dq1Week3 dq1
Week3 dq1
 
Week2 dq4
Week2 dq4Week2 dq4
Week2 dq4
 
Week2 dq3
Week2 dq3Week2 dq3
Week2 dq3
 
Week2 dq2
Week2 dq2Week2 dq2
Week2 dq2
 
Week1 dq3
Week1 dq3Week1 dq3
Week1 dq3
 
Week1 dq2
Week1 dq2Week1 dq2
Week1 dq2
 
Week 4 dq 4
Week 4 dq 4Week 4 dq 4
Week 4 dq 4
 
Week 4 dq 3
Week 4 dq 3Week 4 dq 3
Week 4 dq 3
 

Week1 dq5

  • 1. Java® 2 Platform software can be used to create and run three common types of programs written for the Java platform—applications, applets, and servlets. A Java application is similar to any other programming language, and can perform all tasks normally associated with programs, including various tasks that applets cannot perform. In addition, an application does not need a browser to be executed and execution is possible in a client or server machine. Java applications are popular and often seen in applications like accounting software, office suites, graphics software and media players to name a few. A Java applet is a small application program and must be downloaded before it is run within a Java-enabled Web browser. Applets are located on a Web server. When the Web server returns an HTML page that points to a Java applet, the Java-enabled Web browser requests the applet to be downloaded from the Web server. Once received, the browser starts the applet internally, or an external JVM executes it. Applets usually perform simple operations and are used to provide interactive features to web applications that cannot be provided by HTML alone. Applets are popular as they can capture mouse input (like rotating 3D object) and also have controls like buttons or check boxes. In response to the user action an applet can change the provided graphic content. A Java servlet is basically a server-side Java, and runs on the Web server just like and applet runs in the Web browser. They can be used to extend the functionality of the Web server. The Web server hands requests to the servlet, and the servlet replies to them. Servlets can be used instead of CGI applications. To run Java servlets, your Web server must support the Java servlet API, developed by JavaSoft. This API defines how the servlet communicates with the server. Java servlets have security advantages over client-side Java applets. A servlet that runs on a Web server inside a firewall can control access to sensitive data and business logic. Java applets do not inherently provide these security capabilities. Java servlets are popular for processing and storing data submitted by an HTML form, and an online shopping cart system that manages shopping carts on a retail web site. So, to summarize, the major qualities of Java are: • Its similarity to other popular languages • Its ability to enable Web interaction • Its ability to enable executable Web content • Its ability to run on multiple platforms