Building Web Applications with Servlets and JavaServer Pages
|
|
|
- Elwin Banks
- 10 years ago
- Views:
Transcription
1 Building Web Applications with Servlets and JavaServer Pages David Janzen Assistant Professor of Computer Science Bethel College North Newton, KS
2 Acknowledgments UML is a trademark of Object Management Group, Inc. in the U.S. and other countries Rational software and courseware used with permission by Rational Software Corp. and through Rational s SEED (Software Engineering for Educational Development) program
3 Web Development Overview static html text file containing html tags created manually may include some client-side scripts (e.g. JavaScript) dynamic html html file produced at time of request cgi, php, asp, jsp, Servlets active html html contains a program that runs at the client inside a web browser Java applets
4 Static HTML web server web browser request URL response HTML.html
5 Dynamic HTML RMI Sockets CORBA EJB web server application JDBC DBMS web browser request URL response HTML.class.jsp.html
6 Active HTML web server web browser.class request URL response HTML.html
7 Dynamic and application Active HTML RMI Sockets CORBA EJB JDBC DBMS web server.class web browser.class request URL response HTML.jsp.html
8 Java Confusion Java Applications* stand-alone executable applications Java Applets* applications that run within a web-browser Java Servlets applications that run within a web-server JavaScript scripts that run within a web-browser not really Java at all * available with original 1995 Java release
9 Java Application
10 Java Application
11 Java Applet
12 Java Applet
13 JavaScript
14 Introduction to Servlets Servlets are Java programs that run inside a web server. Servlets allow web servers to receive requests from clients (normally entered in a form on a web page). Servlets can perform server-side processing such as interacting with a database or another application Servlets can generate dynamic html based on server-side processing and return this to the client.
15 Servlet Howto create an HTML file that invokes a servlet (usually through the FORM ACTION= ) create a Java program that does the following: import javax.servlet.*; import javax.servlet.http.*; inherit from HttpServlet override the doget and dopost methods write the response HTML file using a java.io.printwriter to the HTTP response
16 Introduction to Servlets A Simple Example collect username and password reply with welcome page or Invalid Login if password is not verysecret
17 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>CCSC Tutorial Demo</TITLE> </HEAD> <BODY> <FORM NAME="addUser" METHOD="POST" ACTION = "/servlet/ccsc.logonservlet"> <B>User Name: </B> <INPUT NAME = "username" TYPE = "TEXT" MAXLENGTH = "25" SIZE = "15"> <br> <B>Password: </B> <INPUT NAME = "password" TYPE = "password" VALUE = verysecret" MAXLENGTH = "25" SIZE = "15"> <br> <B><INPUT NAME = "login" VALUE = "Login" TYPE = "SUBMIT"></B> </FORM> <script language="javascript"> document.adduser.username.focus() </script> </BODY> </HTML>
18 package ccsc; import javax.servlet.*; import javax.servlet.http.*; public class LogonServlet extends HttpServlet { public void init(servletconfig config) throws ServletException { super.init(config); } protected void processrequest(httpservletrequest request, HttpServletResponse response) throws ServletException, java.io.ioexception { response.setcontenttype("text/html"); java.io.printwriter out = response.getwriter(); String uname = request.getparameter("username"); String pword = request.getparameter("password"); if(pword.equals("verysecret")) { out.println("<html><head><title>ccsc Tutorial Demo Welcome</title></head>"); out.println("<body><h3>welcome " + uname + "!</h3></body></html>"); } else { out.println("<html><head><title>ccsc Tutorial Demo Invalid Login</title></head>"); out.println("<body><h3>invalid Login</H3></body></html>"); } out.close(); } protected void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, java.io.ioexception { processrequest(request, response); } protected void dopost(httpservletrequest request, HttpServletResponse response) throws ServletException, java.io.ioexception { processrequest(request, response); } }
19
20 JavaServer Pages JavaServer Pages provide a layer above Servlets that allow you to mix HTML and calls to Java code in the web server. JavaServer Pages are actually converted into Servlets, but JSP s are easier to work with for those familiar with HTML. Servlet s usually create Java objects as Java Beans to simplify JSP access.
21 Mixing JavaServer Pages with Servlets web server LogonServlet.class web browser request URL response HTML welcome.jsp invalidlogin.html
22 package ccsc; import javax.servlet.*; import javax.servlet.http.*; public class LogonServlet extends HttpServlet {... protected void processrequest(httpservletrequest request, HttpServletResponse response) throws ServletException, java.io.ioexception { response.setcontenttype("text/html"); String uname = request.getparameter("username"); String pword = request.getparameter("password"); HttpSession session = request.getsession(true); if(pword.equals("verysecret")) { session.setattribute("uname",uname); gotopage("/welcome.jsp",request,response); } else { gotopage("/invalidlogin.html",request,response); } } private void gotopage(string address, HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.ioexception { RequestDispatcher dispatcher = getservletcontext().getrequestdispatcher(address); dispatcher.forward(request, response); }...
23 welcome.jsp contenttype="text/html"%> <html> <head><title>ccsc Tutorial Demo Welcome</title></head> <body> <h3>welcome <%= session.getattribute("uname")%>!</h3> </body> </html>
24
25 JSP Howto Create a file with a.jsp extension include static HTML include JSP Scripting Elements Expressions <%= expression %> Scriptlets <% code %> Declarations <%! Code %> Directives <%@ variable directive %> Comments <%-- JSP Comment --> Use pre-defined variables request HttpServletRequest response HttpServletResponse session HttpSession out PrintWriter
26 JSP Howto Include another file include file="commontop.html" %> Import from the Java library page import="java.util.*" %> Declare and use a variable <%! private int accesscount = 0 %> <H2>Accesses to page since server reboot: <%= ++accesscount %></H2> Access session and request information <H2>Current time: <%= new java.util.date() %></H2> <H2>Remote Host: <%= request.getremotehost() %></H2> <H2>Session ID: <%= session.getid() %></H2>
27 JSP Howto Assuming a Servlet has done the following: Vehicle v = new Vehicle(); v.pic1filename = Honda1996.jpg ; v.year = 1996; session.setattribute("vehdetail",v); In the JSP, access a Java object in the server <jsp:usebean id="vehdetail class = ccsc.vehicle scope = "session"/> <% out.println( <H3>Year: + vehdetail.year + </H3> ); out.println("<img SRC=/jsp/dirs/vehiclePics/" + vehdetail.pic1filename + " WIDTH=300 HEIGHT=180>"); %>
28 Advantages of using Servlets and JavaServer Pages Java is widely known Java has many applications from GUI s to PDA s to Applets to Servlets Java has a rich set of libraries threads networking (sockets, RMI, CORBA) database connectivity through JDBC
29 Advantages of using Servlets and JavaServer Pages Java is free for Java SDK and J2EE for Tomcat Java is portable runs on many OS s and in many Servlet Engines Java is efficient multiple concurrent lightweight threads execute a single set of code within the web server Java is secure memory restrictions (array out-of-bounds)
30 Setting up the environment Many Servlet engines Tomcat on Apache on Linux Outsource it through web hosting (3tec.com $20 + $7x4months for a semester) Forte for Java has Tomcat built-in
31 Setting up the environment When using Tomcat (stand-alone or in FFJ) place.html and.jsp files in home dir place.class Servlet files in WEB-INF/classes
32 Setting up the environment Tips to avoid Pitfalls in Forte for Java add all files through Template Wizard (File->New) set External Browser through Tools->Options
33 Setting up the environment Tips to avoid Pitfalls in Forte for Java Execute web page, don t run it
34 Sample Web Application SeaGypsy Hotel Reservation System Created by Junior/Senior level students CSC361 Software Design and Development January 2001
35
36
37
38
39
40 UML Class Diagram CustInfoServlet dopost() gotopage() ReservationRequest lastname firstname address phone cardnum expdate numguests numpets inday inmonth inyear outday outmonth outyear price roomtype roomnum getlastname() getfirstname() setlastname() setfirstname() getpin() getpout() ResServlet m_resm init() dopost() gotopage() isvalidstrings() isvaliddates() ResMan ourdb connect() checkdateavailable() InsertTraveler() CalculateCost() ResvBean result ResvBean() getresult() setresult() ManagerServlet dopost() gotopage() Manager.java m_db Manager() GetData() findreservat ions() processresult() DataBaseProxy con stmt connect() query() insert() Delete() update() disconnect() Servlet
41 UML Database Schema paymentcode paymenttype description reservat ions roomnumber checkin checkout travelerid numguests numpets paid payment cardnumber expdate traveler lastname firstname phone address travelerid ratecode ratetype description rooms roomnumber roomtype roomcode roomtype description rates roomtype ratetype rate
42 UML Sequence Diagram : Traveler : ResServlet : ResMan : : Session : ReservationRequest DataBaseProxy : InfoReserve init( ) new( ) dopost( ) new( ) setinday( ) setinmonth( ) set Out Day( ) setoutmonth( ) setattribute( ) checkdateavailable( ) connect( ) query( ) gotopage( /seagypsy/inforeserve.jsp) usebean( ) getproperty( )
43 Design Issues Good software design separates the presentation from the business logic from the data model. Model/View/Controller, Mediator, and Façade design patterns can be used to improve maintainability and distribution of tasks
44 Design Issues Web applications are often developed in a group whose members have a combination of skills System Administrator (Unix, Apache, Tomcat) Web Developer (HTML, Graphics Design) Software Developer (Java)
45 Design Issues Object-Oriented approach facilitates reuse, encapsulation, distribution of responsibilities. Presentation layer (view) can primarily be restricted to JSP. Business logic (controller) can primarily be restricted to Java using Servlets. Data model (model) may be split between DB and Java. Domain model objects don t care if they are being used in a web application or a stand-alone application.
46 Web Application Patterns Action Controller Each web page has a controller object that knows which model and view to use Front Controller Handler doget dopost Action Controller handle http requests determine which model and view to use A single object handles incoming requests and : Handler passes them to other objects Command process() examine URL( ) new( ) Model domain logic View display HTML : Command1 process( ) Command1 Command2
47 Web Application Patterns Data Mapper Each Domain Object has a Mapper object that knows how to store and retrieve it from the DB Reservation Reservation Mapper Database See more at: For a framework that contains many patterns: See Expresso at
48 Use in curriculum Software Design and Development Networks Web Application becomes client of a C++ server Senior Seminars On-line newspaper Course Evaluation system
49 Resources Core Servlets and JavaServer Pages by Marty Hall Core Web Programming by Marty Hall and Larry Brown torial/index.html
Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java
Java EE Introduction, Content Component Architecture: Why and How Java EE: Enterprise Java The Three-Tier Model The three -tier architecture allows to maintain state information, to improve performance,
An introduction to web programming with Java
Chapter 1 An introduction to web programming with Java Objectives Knowledge Objectives (continued) The first page of a shopping cart application The second page of a shopping cart application Components
ACM Crossroads Student Magazine The ACM's First Electronic Publication
Page 1 of 8 ACM Crossroads Student Magazine The ACM's First Electronic Publication Crossroads Home Join the ACM! Search Crossroads [email protected] ACM / Crossroads / Columns / Connector / An Introduction
7 Web Databases. Access to Web Databases: Servlets, Applets. Java Server Pages PHP, PEAR. Languages: Java, PHP, Python,...
7 Web Databases Access to Web Databases: Servlets, Applets Java Server Pages PHP, PEAR Languages: Java, PHP, Python,... Prof. Dr. Dietmar Seipel 837 7.1 Access to Web Databases by Servlets Java Servlets
Software Architecture
Software Architecture Definitions http://www.sei.cmu.edu/architecture/published_definiti ons.html ANSI/IEEE Std 1471-2000, Recommended Practice for Architectural Description of Software- Intensive Systems
Agenda. Summary of Previous Session. Application Servers G22.3033-011. Session 3 - Main Theme Page-Based Application Servers (Part II)
Application Servers G22.3033-011 Session 3 - Main Theme Page-Based Application Servers (Part II) Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical
Introduction to J2EE Web Technologies
Introduction to J2EE Web Technologies Kyle Brown Senior Technical Staff Member IBM WebSphere Services RTP, NC [email protected] Overview What is J2EE? What are Servlets? What are JSP's? How do you use
Creating Java EE Applications and Servlets with IntelliJ IDEA
Creating Java EE Applications and Servlets with IntelliJ IDEA In this tutorial you will: 1. Create IntelliJ IDEA project for Java EE application 2. Create Servlet 3. Deploy the application to JBoss server
Web Container Components Servlet JSP Tag Libraries
Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. [email protected] Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request
Principles and Techniques of DBMS 5 Servlet
Principles and Techniques of DBMS 5 Servlet Haopeng Chen REliable, INtelligentand Scalable Systems Group (REINS) Shanghai Jiao Tong University Shanghai, China http://reins.se.sjtu.edu.cn/~chenhp e- mail:
Java Server Pages combined with servlets in action. Generals. Java Servlets
Java Server Pages combined with servlets in action We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer
15-415 Database Applications Recitation 10. Project 3: CMUQFlix CMUQ s Movies Recommendation System
15-415 Database Applications Recitation 10 Project 3: CMUQFlix CMUQ s Movies Recommendation System Project Objective 1. Set up a front-end website with PostgreSQL back-end 2. Allow users to login, like
Building Java Servlets with Oracle JDeveloper
Building Java Servlets with Oracle JDeveloper Chris Schalk Oracle Corporation Introduction Developers today face a formidable task. They need to create large, distributed business applications. The actual
Glassfish, JAVA EE, Servlets, JSP, EJB
Glassfish, JAVA EE, Servlets, JSP, EJB Java platform A Java platform comprises the JVM together with supporting class libraries. Java 2 Standard Edition (J2SE) (1999) provides core libraries for data structures,
Course Name: Course in JSP Course Code: P5
Course Name: Course in JSP Course Code: P5 Address: Sh No BSH 1,2,3 Almedia residency, Xetia Waddo Duler Mapusa Goa E-mail Id: [email protected] Tel: (0832) 2465556 (0832) 6454066 Course Code: P5 3i
How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post
Understanding Architecture and Framework of J2EE using Web Application Devadrita Dey Sarkar,Anavi jaiswal, Ankur Saxena Amity University,UTTAR PRADESH Sector-125, Noida, UP-201303, India Abstract: This
Building Web Applications, Servlets, JSP and JDBC
Building Web Applications, Servlets, JSP and JDBC Overview Java 2 Enterprise Edition (JEE) is a powerful platform for building web applications. The JEE platform offers all the advantages of developing
INTRODUCTION TO WEB TECHNOLOGY
UNIT-I Introduction to Web Technologies: Introduction to web servers like Apache1.1, IIS, XAMPP (Bundle Server), WAMP Server(Bundle Server), handling HTTP Request and Response, installation of above servers
AN OVERVIEW OF SERVLET AND JSP TECHNOLOGY
AN OVERVIEW OF SERVLET AND JSP TECHNOLOGY Topics in This Chapter Understanding the role of servlets Building Web pages dynamically Looking at servlet code Evaluating servlets vs. other technologies Understanding
JSP Java Server Pages
JSP - Java Server Pages JSP Java Server Pages JSP - Java Server Pages Characteristics: A way to create dynamic web pages, Server side processing, Based on Java Technology, Large library base Platform independence
Controlling Web Application Behavior
2006 Marty Hall Controlling Web Application Behavior The Deployment Descriptor: web.xml JSP, Servlet, Struts, JSF, AJAX, & Java 5 Training: http://courses.coreservlets.com J2EE Books from Sun Press: http://www.coreservlets.com
Servlets. Based on Notes by Dave Hollinger & Ethan Cerami Also, the Online Java Tutorial by Sun
Servlets Based on Notes by Dave Hollinger & Ethan Cerami Also, the Online Java Tutorial by Sun 1 What is a Servlet? A Servlet is a Java program that extends the capabilities of servers. Inherently multi-threaded.
Eclectic Computing. Time Tracking Tool Software Architecture Document. Version <1.3>
Eclectic Computing Time Tracking Tool Version Revision History Date Version Description Author 7/Mar/05 1.0 Documentation of high-level architecture. David Janzen 7/Apr/05 1.1 Architecture at end
COSC 304 Database Web Programming Overview Introduction to Database Systems Database Web Programming Dr. Ramon Lawrence
COSC 304 Introduction to Database Systems Database Web Programming Dr. Ramon Lawrence University of British Columbia Okanagan [email protected] Database Web Programming Overview Developing web-based
2. Follow the installation directions and install the server on ccc
Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow
Web Application Programmer's Guide
Web Application Programmer's Guide JOnAS Team ( Florent BENOIT) - March 2009 - Copyright OW2 consortium 2008-2009 This work is licensed under the Creative Commons Attribution-ShareAlike License. To view
Session Tracking Customized Java EE Training: http://courses.coreservlets.com/
2012 Marty Hall Session Tracking Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 2 Customized Java EE Training: http://courses.coreservlets.com/
Automatic generation of distributed dynamic applications in a thin client environment
CODEN: LUTEDX ( TETS-5469 ) / 1-77 / (2002)&local 26 Master thesis Automatic generation of distributed dynamic applications in a thin client environment by Klas Ehnrot and Tobias Södergren February, 2003
Supplement IV.E: Tutorial for Tomcat. For Introduction to Java Programming By Y. Daniel Liang
Supplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Obtaining and Installing Tomcat Starting and Stopping Tomcat Choosing
CSc31800: Internet Programming, CS-CCNY, Spring 2004 Jinzhong Niu May 9, 2004. Java Servlets
CSc31800: Internet Programming, CS-CCNY, Spring 2004 Jinzhong Niu May 9, 2004 Java Servlets I have presented a Java servlet example before to give you a sense of what a servlet looks like. From the example,
Database System Concepts
Chapter 8(+4): Application Design and Development APIs Web Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2010/2011 Slides (fortemente) baseados nos slides oficiais do
Java Servlet Tutorial. Java Servlet Tutorial
Java Servlet Tutorial i Java Servlet Tutorial Java Servlet Tutorial ii Contents 1 Introduction 1 1.1 Servlet Process.................................................... 1 1.2 Merits.........................................................
Virtual Open-Source Labs for Web Security Education
, October 20-22, 2010, San Francisco, USA Virtual Open-Source Labs for Web Security Education Lixin Tao, Li-Chiou Chen, and Chienting Lin Abstract Web security education depends heavily on hands-on labs
Java Web Programming. Student Workbook
Student Workbook Java Web Programming Mike Naseef, Jamie Romero, and Rick Sussenbach Published by ITCourseware, LLC., 7245 South Havana Street, Suite 100, Centennial, CO 80112 Editors: Danielle Hopkins
2.8. Session management
2.8. Session management Juan M. Gimeno, Josep M. Ribó January, 2008 Session management. Contents Motivation Hidden fields URL rewriting Cookies Session management with the Servlet/JSP API Examples Scopes
Course Number: IAC-SOFT-WDAD Web Design and Application Development
Course Number: IAC-SOFT-WDAD Web Design and Application Development Session 1 (10 Hours) Client Side Scripting Session 2 (10 Hours) Server Side Scripting - I Session 3 (10 hours) Database Session 4 (10
Outline. CS 112 Introduction to Programming. Recap: HTML/CSS/Javascript. Admin. Outline
Outline CS 112 Introduction to Programming Web Programming: Backend (server side) Programming with Servlet, JSP q Admin and recap q Server-side web programming overview q Servlet programming q Java servlet
Implementing the Shop with EJB
Exercise 2 Implementing the Shop with EJB 2.1 Overview This exercise is a hands-on exercise in Enterprise JavaBeans (EJB). The exercise is as similar as possible to the other exercises (in other technologies).
PA165 - Lab session - Web Presentation Layer
PA165 - Lab session - Web Presentation Layer Author: Martin Kuba Goal Experiment with basic building blocks of Java server side web technology servlets, filters, context listeners,
Web Application Development on a Linux System With a DB2 Database By Alan Andrea
Web Application Development on a Linux System With a DB2 Database By Alan Andrea Linux, for a long time now, has been a robust and solid platform for deploying and developing complex applications. Furthermore,
Web Applications. For live Java training, please see training courses at
2009 Marty Hall Using and Deploying Web Applications Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
Server-Side Web Development JSP. Today. Web Servers. Static HTML Directives. Actions Comments Tag Libraries Implicit Objects. Apache.
1 Pages () Lecture #4 2007 Pages () 2 Pages () 3 Pages () Serves resources via HTTP Can be anything that serves data via HTTP Usually a dedicated machine running web server software Can contain modules
Tutorial: Building a Web Application with Struts
Tutorial: Building a Web Application with Struts Tutorial: Building a Web Application with Struts This tutorial describes how OTN developers built a Web application for shop owners and customers of the
Model-View-Controller. and. Struts 2
Model-View-Controller and Struts 2 Problem area Mixing application logic and markup is bad practise Harder to change and maintain Error prone Harder to re-use public void doget( HttpServletRequest request,
An introduction to creating JSF applications in Rational Application Developer Version 8.0
An introduction to creating JSF applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Although you can use several Web technologies to create
How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer
How to Build an E-Commerce Application using J2EE Carol McDonald Code Camp Engineer Code Camp Agenda J2EE & Blueprints Application Architecture and J2EE Blueprints E-Commerce Application Design Enterprise
Getting Started with Web Applications
3 Getting Started with Web Applications A web application is a dynamic extension of a web or application server. There are two types of web applications: Presentation-oriented: A presentation-oriented
Managing Data on the World Wide-Web
Managing Data on the World Wide-Web Sessions, Listeners, Filters, Shopping Cart Elad Kravi 1 Web Applications In the Java EE platform, web components provide the dynamic extension capabilities for a web
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
Web Programming with Java Servlets
Web Programming with Java Servlets Leonidas Fegaras University of Texas at Arlington Web Data Management and XML L3: Web Programming with Servlets 1 Database Connectivity with JDBC The JDBC API makes it
Introduction to Web Technologies
Secure Web Development Teaching Modules 1 Introduction to Web Technologies Contents 1 Concepts... 1 1.1 Web Architecture... 2 1.2 Uniform Resource Locators (URL)... 3 1.3 HTML Basics... 4 1.4 HTTP Protocol...
A framework for web-based product data management using J2EE
Int J Adv Manuf Technol (2004) 24: 847 852 DOI 10.1007/s00170-003-1697-8 ORIGINAL ARTICLE M.Y. Huang Y.J. Lin Hu Xu A framework for web-based product data management using J2EE Received: 8 October 2002
Client/server is a network architecture that divides functions into client and server
Page 1 A. Title Client/Server Technology B. Introduction Client/server is a network architecture that divides functions into client and server subsystems, with standard communication methods to facilitate
Class Focus: Web Applications that provide Dynamic Content
Class Focus: Web Applications that provide Dynamic Content We will learn how to build server-side applications that interact with their users and provide dynamic content Using the Java programming language
Mastering Tomcat Development
hep/ Mastering Tomcat Development Ian McFarland Peter Harrison '. \ Wiley Publishing, Inc. ' Part I Chapter 1 Chapter 2 Acknowledgments About the Author Introduction Tomcat Configuration and Management
SSC - Web development Model-View-Controller for Java web application development
SSC - Web development Model-View-Controller for Java web application development Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics Java Server
Java Server Pages and Java Beans
Java Server Pages and Java Beans Java server pages (JSP) and Java beans work together to create a web application. Java server pages are html pages that also contain regular Java code, which is included
1 Introduction. 3 Open Mobile IS components 3.1 Embedded Database 3.2 Web server and Servlet API 3.3 Service API and template engine
1 S u m m a r y 1 Introduction 2 Open Mobile IS Framework 2.1 Presentation 2.2 Main concepts 2.2.1 Accessibility 2.2.2 Availability 2.2.3 Evolution capabilities 2.3 Open Mobile IS constrains Answer 2.3.1
Client-server 3-tier N-tier
Web Application Design Notes Jeff Offutt http://www.cs.gmu.edu/~offutt/ SWE 642 Software Engineering for the World Wide Web N-Tier Architecture network middleware middleware Client Web Server Application
In this chapter, we lay the foundation for all our further discussions. We start
01 Struts.qxd 7/30/02 10:23 PM Page 1 CHAPTER 1 Introducing the Jakarta Struts Project and Its Supporting Components In this chapter, we lay the foundation for all our further discussions. We start by
CSC 551: Web Programming. Spring 2004
CSC 551: Web Programming Spring 2004 Java Overview Design goals & features platform independence, portable, secure, simple, object-oriented, Programming models applications vs. applets vs. servlets intro
11.1 Web Server Operation
11.1 Web Server Operation - Client-server systems - When two computers are connected, either could be the client - The client initiates the communication, which the server accepts - Generally, clients
Essentials of the Java(TM) Programming Language, Part 1
Essentials of the Java(TM) Programming Language, Part 1 http://developer.java.sun.com/developer...ining/programming/basicjava1/index.html Training Index Essentials of the Java TM Programming Language:
Outline. Lecture 9: Java Servlet and JSP. Servlet API. HTTP Servlet Basics
Lecture 9: Java Servlet and JSP Wendy Liu CSC309F Fall 2007 Outline HTTP Servlet Basics Servlet Lifecycle Request and Response Session Management JavaServer Pages (JSP) 1 2 HTTP Servlet Basics Current
Applets, RMI, JDBC Exam Review
Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java
IBM Rational Web Developer for WebSphere Software Version 6.0
Rapidly build, test and deploy Web, Web services and Java applications with an IDE that is easy to learn and use IBM Rational Web Developer for WebSphere Software Version 6.0 Highlights Accelerate Web,
Web Programming II JSP (Java Server Pages) ASP request processing. The Problem. The Problem. Enterprise Application Development using J2EE
Enterprise Application Development using J2EE Shmulik London Lecture #6 Web Programming II JSP (Java Server Pages) How we approached it in the old days (ASP) Multiplication Table Multiplication
Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8)
Web Development in Java Live Demonstrations (Live demonstrations done using Eclipse for Java EE 4.3 and WildFly 8) Java Servlets: 1. Switch to the Java EE Perspective (if not there already); 2. File >
DTS Web Developers Guide
Apelon, Inc. Suite 202, 100 Danbury Road Ridgefield, CT 06877 Phone: (203) 431-2530 Fax: (203) 431-2523 www.apelon.com Apelon Distributed Terminology System (DTS) DTS Web Developers Guide Table of Contents
Online Fuzzy-C-Means clustering
Online Fuzzy-C-Means clustering Authors: Author s Addresses: Contact: Dezső Kancsár, Ágnes B. Simon H-1157 Budapest, Nyírpalota u. 79/C 2/8; College of Nyíregyháza, Rákóczi út 69. [email protected], [email protected]
Developing Java Web Applications with Jakarta Struts Framework
130 Economy Informatics, 2003 Developing Java Web Applications with Jakarta Struts Framework Liviu Gabriel CRETU Al. I. Cuza University, Faculty of Economics and Business Administration, Iasi Although
Developing an EJB3 Application. on WebSphere 6.1. using RAD 7.5
Developing an EJB3 Application on WebSphere 6.1 using RAD 7.5 Introduction This tutorial introduces how to create a simple EJB 3 application using Rational Application Developver 7.5( RAD7.5 for short
How to use JavaMail to send email
Chapter 15 How to use JavaMail to send email Objectives Applied Knowledge How email works Sending client Mail client software Receiving client Mail client software SMTP Sending server Mail server software
Java 2 Web Developer Certification Study Guide Natalie Levi
SYBEX Sample Chapter Java 2 Web Developer Certification Study Guide Natalie Levi Chapter 8: Thread-Safe Servlets Copyright 2002 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. World rights
Pure server-side Web Applications with Java, JSP. Application Servers: the Essential Tool of Server-Side Programming. Install and Check Tomcat
Pure server-side Web Applications with Java, JSP Discussion of networklevel http requests and responses Using the Java programming language (Java servlets and JSPs) Key lesson: The role of application
Net-WMS FP6-034691. Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT. Networked Businesses. D.8.1 Networked architecture J2EE compliant
Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT Networked Businesses D.8.1 Networked architecture J2EE compliant ( Version 1 ) Due date of deliverable: June 30 th, 2007 Actual submission date:
Manual. Programmer's Guide for Java API
2013-02-01 1 (15) Programmer's Guide for Java API Description This document describes how to develop Content Gateway services with Java API. TS1209243890 1.0 Company information TeliaSonera Finland Oyj
CS 55.17. Developing Web Applications with Java Technologies
CS 55.17 Developing Web Applications with Java Technologies Class Introduction Instructor: David B. Pearson Email: [email protected] Yahoo! ID: DavidPearson Website: http://www.santarosa.edu/~dpearson/
Handling the Client Request: Form Data
2012 Marty Hall Handling the Client Request: Form Data Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 3 Customized Java EE Training: http://courses.coreservlets.com/
CatDV Pro Workgroup Serve r
Architectural Overview CatDV Pro Workgroup Server Square Box Systems Ltd May 2003 The CatDV Pro client application is a standalone desktop application, providing video logging and media cataloging capability
1. Introduction 1.1 Methodology
Table of Contents 1. Introduction 1.1 Methodology 3 1.2 Purpose 4 1.3 Scope 4 1.4 Definitions, Acronyms and Abbreviations 5 1.5 Tools Used 6 1.6 References 7 1.7 Technologies to be used 7 1.8 Overview
Web Pages. Static Web Pages SHTML
1 Web Pages Htm and Html pages are static Static Web Pages 2 Pages tagged with "shtml" reveal that "Server Side Includes" are being used on the server With SSI a page can contain tags that indicate that
Customer Bank Account Management System Technical Specification Document
Customer Bank Account Management System Technical Specification Document Technical Specification Document Page 1 of 15 Table of Contents Contents 1 Introduction 3 2 Design Overview 4 3 Topology Diagram.6
CSc 230 Software System Engineering FINAL REPORT. Project Management System. Prof.: Doan Nguyen. Submitted By: Parita Shah Ajinkya Ladkhedkar
CSc 230 Software System Engineering FINAL REPORT Project Management System Prof.: Doan Nguyen Submitted By: Parita Shah Ajinkya Ladkhedkar Spring 2015 1 Table of Content Title Page No 1. Customer Statement
What Is the Java TM 2 Platform, Enterprise Edition?
Page 1 de 9 What Is the Java TM 2 Platform, Enterprise Edition? This document provides an introduction to the features and benefits of the Java 2 platform, Enterprise Edition. Overview Enterprises today
Tutorial c-treeace Web Service Using Java
Tutorial c-treeace Web Service Using Java Tutorial c-treeace Web Service Using Java Copyright 1992-2012 FairCom Corporation All rights reserved. No part of this publication may be stored in a retrieval
Exam Prep. Sun Certified Web Component Developer (SCWCD) for J2EE Platform
Exam Prep Sun Certified Web Component Developer (SCWCD) for J2EE Platform Core Servlets & JSP book: www.coreservlets.com More Servlets & JSP book: www.moreservlets.com Servlet and JSP Training Courses:
Application Security
2009 Marty Hall Declarative Web Application Security Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html Customized Java EE Training: http://courses.coreservlets.com/
LabVIEW Internet Toolkit User Guide
LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,
CSI 2132 Lab 8. Outline. Web Programming JSP 23/03/2012
CSI 2132 Lab 8 Web Programming JSP 1 Outline Web Applications Model View Controller Architectures for Web Applications Creation of a JSP application using JEE as JDK, Apache Tomcat as Server and Netbeans
How to program Java Card3.0 platforms?
How to program Java Card3.0 platforms? Samia Bouzefrane CEDRIC Laboratory Conservatoire National des Arts et Métiers [email protected] http://cedric.cnam.fr/~bouzefra Smart University Nice, Sophia
SSC - Web applications and development Introduction and Java Servlet (II)
SSC - Web applications and development Introduction and Java Servlet (II) Shan He School for Computational Science University of Birmingham Module 06-19321: SSC Outline Outline of Topics Servlet Configuration
CrownPeak Java Web Hosting. Version 0.20
CrownPeak Java Web Hosting Version 0.20 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical,
