Usability. Usability

Size: px
Start display at page:

Download "Usability. Usability"

Transcription

1 Objectives Review Usability Web Application Characteristics Review Servlets Deployment Sessions, Cookies Usability Trunk Test Harder than you probably thought Your answers didn t always agree Important because of search engines Amazon Local navigation IMDb Only one with breadcrumb but least necessary? Sprenkle - CS297 1 Sprenkle - CS297 2 Usability Time Sectioning Local Navigation is down the page below the fold Encyclopedia Britannica Table of Contents Lessons: Popular sites aren t necessarily the most usable? Hmm Discussion of Quality Attributes More to usability than navigation How easy to do the functionality What are some of the differences between traditional applications and web applications? Leads to differences in quality attributes Sprenkle - CS297 3 Sprenkle - CS297 4 Comparison of Applications Attribute Location Languages Technologies Development Team Economics Releases Traditional On clients Java, C, C++, etc. Programmers Time to market Infrequent (~monthly), expensive Web Applications Client, Server (& more) Traditional languages and Scripting languages, HTML, Other languages Network, DB Programmers, graphics designers, usability engineers, Network, DB Returning customers; later but better Frequent (~days), inexpensive Quality Attributes Attribute Reliability Usability Security Availability Scalability Maintainability Time-to-market 24/7/365 Web Applications Must work, or go to another site Must be usable, or go to another site Protect user data, information Thousands of requests per second, more? Short maintenance cycle, frequent updates Later but better is okay Sprenkle - CS297 5 Sprenkle - CS

2 How Have Web Sites Changed to Meet Quality Demands? How Have Web Sites Changed to Meet Quality Demands? Additional tiers Add security, robustness Additional servers, databases Running in parallel Add availability New technologies Better programming languages for writing, maintaining code Separating presentation from business logic Sprenkle - CS297 7 Sprenkle - CS297 8 Discussion Paper was written in 2002: Did anything seem dated? Servlets Review What application do we need to execute Servlets? What class do all Servlets extend? What methods do Servlets need to override to handle GET and POST requests? How do Servlets send an HTML document/response to the client? How do Servlets get data from the client? Sprenkle - CS297 9 Sprenkle - CS The Example Servlet Flow HTML Form Client Web Browser submit HTTP Request, data Response doget() Server Web Application Server Lab 4: Modify SurveyServlet Currently: Inefficient implementation In init Automatically called by server on start up Open file, read/initialize votes In destroy Automatically called by server Write file HTML Document Sprenkle - CS Sprenkle - CS

3 Web App Directory Structure projectname/ XHTML, CSS, and JSP files projectname/web-inf Other resources, e.g., web.xml projectname/web-inf/classes Servlet and utility (data structures, etc) Why we put our Servlets in servlets package projectname/web-inf/lib Jar files that application depends on web.xml File Describes how to deploy the web application XML file Used for data <tag attr= value > Content </tag> Marked up with elements Same rules as XHTML: close most recently opened tag, attributes in quotes DTD: Document Type Definition Define elements that can be in a particular XML document Includes specification of attributes, nesting Sprenkle - CS Sprenkle - CS web.xml File Top-level: <webapp> <servlet> element describes a servlet <servlet-mapping> elements maps URLs to Servlets May want to have shorthands, aliases Restrict users direct access to servlets web.xml File Subelements of <servlet> <servlet-name> <servlet-class> <init-param> canonical name of the deployed servlet fully qualified class name of the servlet optional parameter containing a name-value pair that is passed to the servlet on initialization. Contains elements, <paramname> and <param-value>, which contain the name and value, respectively, to be passed to the servlet. Sprenkle - CS Sprenkle - CS Lab 4: Configure SurveyServlet Configure SurveyServlet to use a given file Add the following to web.xml file: <init-param> <param-name>surveyfile</paramname> <param-value>survey.results</param-value> </init-param> Modify init Method Use ServletConfig s getinitparameter method // calls HttpServlet method filename = getinitparameter( surveyfile"); // open file Sprenkle - CS Sprenkle - CS

4 Deployment: WAR files Web Archives Analog to JAR files Copy into webapps directory of web application server Server will automatically extract files and run Procedure for Apache/Tomcat and Resin Can export WAR files from Eclipse Maintaining State If you have multiple pages, how can you save or accumulate data? Example scenario: buying a book Login Form Which Book Credit Card Verify, D4 Server Server Server Server Sprenkle - CS Sprenkle - CS Maintaining State If you have multiple pages, how can you save or accumulate data? Hidden fields (type=hidden) Cookies Sessions Login Form Which Book Credit Card Verify, D4 Server Server Server Server Hidden Fields <input type= hidden name= userid value= superfly /> Data is coming from client Users can see the hidden fields View HTML Source Users can change the data Useful in limited situations Sprenkle - CS Sprenkle - CS Cookies A popular way to customize web pages is to use cookies Cookies are sent from the webapp to the client Part of an HTTP header in the response to a client Every HTTP transaction includes HTTP headers Not part of the HTML content Store information on the client s computer Client includes cookies in HTTP headers in subsequent requests Provides way to do behavior tracking Do you see any problems with cookies? Process with Cookies Client Cookies Web Browser HTTP Request, Cookies Response: Cookies, HTML Document Cookies Associated with server name Part of HTTP Headers Example: Amazon.com Cookie stores your name, login information Example: Not Sara? Web App Server Sprenkle - CS Sprenkle - CS

5 Cookies in Java Cookies have a name and value Create a Cookie object using its constructor Part of javax.servlet.http.cookie Example: store a user s preferred language on the client App only has to ask for this information once String cookie_name = new String( pref_language ); String cookie_value = new String( English ); Cookie new_cookie = new Cookie(cookie_name, cookie_value); Sending the Cookie to the Client HTTP header is sent first Cookie(s) must be added to the response object before you start writing to the client Call addcookie() on HttpServletResponse object before you call the getwriter() method Inside of doget or dopost method: Cookie c = new Cookie( pref_language, English ); c.setmaxage(60*60*24*365); // max age of cookie response.addcookie(c);... output = response.getwriter(); Sprenkle - CS Sprenkle - CS The HttpServletResponse Object void addcookie(cookie) Add a Cookie to the header in the response to the client The cookie will be stored on the client, depending on the max-life and if the client allows cookies Cookies: Maximum Ages c.setmaxage(60*60*24*365); // max age of cookie The maximum age of the cookie is how long the cookie can live on the client (in seconds) When a cookie reaches its maximum age, client deletes it -1 means persists until browser shuts down Sprenkle - CS Sprenkle - CS Retrieving Cookies Call getcookies() on HttpServletRequest object Returns an array of Cookie objects Represents all cookies that server previously sent to the client For example, inside of dopost Voiding Cookies May want to delete cookies when user logs out Especially for sensitive information // void cookie and send back to the user userid_cookie.setmaxage(0); response.addcookie(userid_cookie); Cookie[] cookies = request.getcookies(); Sprenkle - CS Sprenkle - CS

6 Session One user s visit to an application Can be made up of many requests Server maintains session with particular client Can maintain state within that session Server has a timeout If no requests from client for specified period of time (the timeout), user s session ends Session variables HttpSession object can store data for session Simpler for developer Reduce network traffic Known as session attributes Have names and values Store, access, and remove attributes: Like a HashMap void setattribute(string name, Object value) Values no longer need to be strings Cookies and Parameters had to be strings Object getattribute(string name) void removeattribute(string name) Sprenkle - CS Sprenkle - CS Example Session Variables User gives application data Application stores data in session variable name value session.setattribute("username", username); Application can use later in session, without user having to give information every time String username = session.getattribute( username ); More examples: Server computes information once, caches in session Shopping carts Getting a Session HttpServletRequest s getsession(boolean) method Returns the current HttpSession object Boolean parameter specifies if a new session should be created if one does not already exist Sprenkle - CS Sprenkle - CS Other Useful Session Methods setmaxinactiveinterval(), getcreationtime(), getlastaccessedtime() If want shorter than server s timeout invalidate() Invalidates session, unbinds objects bound to it Lab 4: Add Session Variable LoginServlet will add a session variable with name authenticated Sprenkle - CS Sprenkle - CS

7 ServletContext Share state among multiple clients Allow multiple users to interact in, e.g., chat rooms, online meeting, reservation systems Info about servlet s environment E.g., server s name log(): method to write to a log file Context attributes getattribute, setattribute, removeattribute Eclipse Development Hints Eclipse: allocated more memory Safe bet: restart server whenever change to a servlet or web.xml file Typical programming Write a few lines of code/make small changes Run, test Repeat Sprenkle - CS Sprenkle - CS Project Discussion TODO Lab 4: More Servlets Design Documents, Work Plan Read Sebesta Chapters 7, 10 Sprenkle - CS Sprenkle - CS

Web Programming: Announcements. Sara Sprenkle August 3, 2006. August 3, 2006. Assignment 6 due today Project 2 due next Wednesday Review XML

Web Programming: Announcements. Sara Sprenkle August 3, 2006. August 3, 2006. Assignment 6 due today Project 2 due next Wednesday Review XML Web Programming: Java Servlets and JSPs Sara Sprenkle Announcements Assignment 6 due today Project 2 due next Wednesday Review XML Sara Sprenkle - CISC370 2 1 Web Programming Client Network Server Web

More information

01KPS BF Progettazione di applicazioni web

01KPS BF Progettazione di applicazioni web 01KPS BF Progettazione di applicazioni web Servlets in the J2EE platform Fulvio Corno Dipartimento di Automatica e Informatica Politecnico di Torino PAW - HTTP Servlets 1 The J2EE Presentation tier Servlets

More information

SSC - Web applications and development Introduction and Java Servlet (II)

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

More information

COMP201 Java Programming

COMP201 Java Programming COMP201 Java Programming Part III: Advanced Features Topic 14: Servlets Servlets and JavaServer Pages (JSP) 1.0: A Tutorial http://www.apl.jhu.edu/~hall/java/servlet-tutorial/servlet-tutorial-intro.html

More information

If you wanted multiple screens, there was no way for data to be accumulated or stored

If you wanted multiple screens, there was no way for data to be accumulated or stored Handling State in Web Applications Jeff Offutt http://www.cs.gmu.edu/~offutt/ SWE 642 Software Engineering for the World Wide Web sources: Professional Java Server Programming, Patzer, Wrox Web Technologies:

More information

Session Tracking Customized Java EE Training: http://courses.coreservlets.com/

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/

More information

Managing Data on the World Wide-Web

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

More information

Ch-03 Web Applications

Ch-03 Web Applications Ch-03 Web Applications 1. What is ServletContext? a. ServletContext is an interface that defines a set of methods that helps us to communicate with the servlet container. There is one context per "web

More information

Web Applications. For live Java training, please see training courses at

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/

More information

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 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

More information

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 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.

More information

2.8. Session management

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

More information

CS108, Stanford Handout #33 Young. HW5 Web

CS108, Stanford Handout #33 Young. HW5 Web CS108, Stanford Handout #33 Young HW5 Web In this assignment we ll build two separate web projects. This assignment is due the evening of Tuesday November 3 rd at Midnight. You cannot take late days on

More information

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 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,

More information

11.1 Web Server Operation

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

More information

CIS 455/555: Internet and Web Systems

CIS 455/555: Internet and Web Systems CIS 455/555: Internet and Web Systems Fall 2015 Assignment 1: Web and Application Server Milestone 1 due September 21, 2015, at 10:00pm EST Milestone 2 due October 6, 2015, at 10:00pm EST 1. Background

More information

Servlet Basics Customized Java EE Training:

Servlet Basics Customized Java EE Training: 2012 Marty Hall Servlet Basics Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/csajsp2.html 2 2012 Marty Hall For live Java EE training, please see training

More information

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 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,

More information

HttpUnit Laboratorio di Sistemi Software - A.A. 2003/2004

HttpUnit Laboratorio di Sistemi Software - A.A. 2003/2004 HttpUnit Laboratorio di Sistemi Software - A.A. 2003/2004 Introduction HttpUnit, available from http://www.httpunit.org, is an open source Java library for programmatically interacting with HTTP servers.

More information

Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011

Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011 Servlet 3.0 Alexis Moussine-Pouchkine 1 Overview Java Servlet 3.0 API JSR 315 20 members Good mix of representation from major Java EE vendors, web container developers and web framework authors 2 Overview

More information

The Server.xml File. Containers APPENDIX A. The Server Container

The Server.xml File. Containers APPENDIX A. The Server Container APPENDIX A The Server.xml File In this appendix, we discuss the configuration of Tomcat containers and connectors in the server.xml configuration. This file is located in the CATALINA_HOME/conf directory

More information

Web Container Components Servlet JSP Tag Libraries

Web Container Components Servlet JSP Tag Libraries Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. dean@javaschool.com Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request

More information

Question No :1 Name the class that includes the getsession method that is used to get the HttpSession object (Choose correct one from multiple below)

Question No :1 Name the class that includes the getsession method that is used to get the HttpSession object (Choose correct one from multiple below) Question No :1 Name the class that includes the getsession method that is used to get the HttpSession object 1. HttpServletRequest 2. HttpServletResponse 3. SessionContext 4. SessionConfig Explanations

More information

Outline. Lecture 9: Java Servlet and JSP. Servlet API. HTTP Servlet Basics. User-defined Servlets. doget() and dopost()

Outline. Lecture 9: Java Servlet and JSP. Servlet API. HTTP Servlet Basics. User-defined Servlets. doget() and dopost() 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

More information

Programming on the Web(CSC309F) Tutorial: Servlets && Tomcat TA:Wael Aboelsaadat

Programming on the Web(CSC309F) Tutorial: Servlets && Tomcat TA:Wael Aboelsaadat Programming on the Web(CSC309F) Tutorial: Servlets && Tomcat TA:Wael Aboelsaadat Acknowledgments : This tutorial is based on a series of articles written by James Goodwill about Tomcat && Servlets. 1 Tomcat

More information

Outline. CS 112 Introduction to Programming. Recap: HTML/CSS/Javascript. Admin. Outline

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

More information

An Introduction to J2EE by Mark Johnson

An Introduction to J2EE by Mark Johnson An Introduction to J2EE by Mark Johnson The Java 2, Enterprise Edition (J2EE) platform has been a global market-leading enterprise platform for the past several years. But like any large technology, J2EE

More information

ACM Crossroads Student Magazine The ACM's First Electronic Publication

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 crossroads@acm.org ACM / Crossroads / Columns / Connector / An Introduction

More information

A detailed walk through a CAS authentication

A detailed walk through a CAS authentication Welcome! First of all, what is CAS? Web single sign on Uses federated authentication, where all authentication is done by the CAS server, instead of individual application servers The implementation is

More information

Exam Prep. Sun Certified Web Component Developer (SCWCD) for J2EE Platform

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:

More information

Please send your comments to: KZrobok@Setfocus.com

Please send your comments to: KZrobok@Setfocus.com Sun Certified Web Component Developer Study Guide - v2 Sun Certified Web Component Developer Study Guide...1 Authors Note...2 Servlets...3 The Servlet Model...3 The Structure and Deployment of Modern Servlet

More information

Complete Java Web Development

Complete Java Web Development Complete Java Web Development JAVA-WD Rev 11.14 4 days Description Complete Java Web Development is a crash course in developing cutting edge Web applications using the latest Java EE 6 technologies from

More information

Web Applications. Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html

Web Applications. Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/msajsp.html 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/

More information

Controlling Web Application Behavior

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

More information

Complete Java Web Development INT2201; 4 Days; Instructor-led

Complete Java Web Development INT2201; 4 Days; Instructor-led Complete Java Web Development INT2201; 4 Days; Instructor-led Course Description Complete Java Web Development is a crash course in developing cutting edge Web applications using the latest Java EE 6 technologies

More information

Announcements. Comments on project proposals will go out by email in next couple of days...

Announcements. Comments on project proposals will go out by email in next couple of days... Announcements Comments on project proposals will go out by email in next couple of days... 3-Tier Using TP Monitor client application TP monitor interface (API, presentation, authentication) transaction

More information

Java Servlet 3.0. Rajiv Mordani Spec Lead

Java Servlet 3.0. Rajiv Mordani Spec Lead Java Servlet 3.0 Rajiv Mordani Spec Lead 1 Overview JCP Java Servlet 3.0 API JSR 315 20 members > Good mix of representation from major Java EE vendors, web container developers and web framework authors

More information

Introduction to HTML HTML Tables and Forms HttpServlet Class. doget method dopost method. Generating and Processing Dynamic Forms with Java Servlets

Introduction to HTML HTML Tables and Forms HttpServlet Class. doget method dopost method. Generating and Processing Dynamic Forms with Java Servlets Introduction to HTML HTML Tables and Forms HttpServlet Class doget method dopost method Generating and Processing Dynamic Forms with Java Servlets HTML documents consist of ordinary text and tags. Tags

More information

Creating Java EE Applications and Servlets with IntelliJ IDEA

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

More information

INTRODUCTION TO WEB TECHNOLOGY

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

More information

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 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

More information

WIRIS quizzes web services Getting started with PHP and Java

WIRIS quizzes web services Getting started with PHP and Java WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS

More information

Outline. Lecture 9: Java Servlet and JSP. Servlet API. HTTP Servlet Basics

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

More information

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. 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

More information

COMP9321 Web Applications Engineering: Java Servlets

COMP9321 Web Applications Engineering: Java Servlets COMP9321 Web Applications Engineering: Java s Service Oriented Computing Group, CSE, UNSW Week 2 H. Paik (CSE, UNSW) COMP9321, 13s2 Week 2 1 / 1 Different Layers in an Application Different solutions for

More information

In this chapter, we lay the foundation for all our further discussions. We start

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

More information

Understand State Information in Web Applications

Understand State Information in Web Applications Understand State Information in Web Applications Lesson Overview How does ASP.NET state management work? In this lesson, you will review these ASP.NET terms: View state Control state Application state

More information

Developing ASP.NET MVC 4 Web Applications MOC 20486

Developing ASP.NET MVC 4 Web Applications MOC 20486 Developing ASP.NET MVC 4 Web Applications MOC 20486 Course Outline Module 1: Exploring ASP.NET MVC 4 The goal of this module is to outline to the students the components of the Microsoft Web Technologies

More information

Course Name: Course in JSP Course Code: P5

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: ITKP@3i-infotech.com Tel: (0832) 2465556 (0832) 6454066 Course Code: P5 3i

More information

JBoss SOAP Web Services User Guide. Version: 3.3.0.M5

JBoss SOAP Web Services User Guide. Version: 3.3.0.M5 JBoss SOAP Web Services User Guide Version: 3.3.0.M5 1. JBoss SOAP Web Services Runtime and Tools support Overview... 1 1.1. Key Features of JBossWS... 1 2. Creating a Simple Web Service... 3 2.1. Generation...

More information

Class Focus: Web Applications that provide Dynamic Content

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

More information

Introduction to J2EE Web Technologies

Introduction to J2EE Web Technologies Introduction to J2EE Web Technologies Kyle Brown Senior Technical Staff Member IBM WebSphere Services RTP, NC brownkyl@us.ibm.com Overview What is J2EE? What are Servlets? What are JSP's? How do you use

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Course M20486 5 Day(s) 30:00 Hours Developing ASP.NET MVC 4 Web Applications Introduction In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools

More information

Working With Virtual Hosts on Pramati Server

Working With Virtual Hosts on Pramati Server Working With Virtual Hosts on Pramati Server 13 Overview Virtual hosting allows a single machine to be addressed by different names. There are two ways for configuring Virtual Hosts. They are: Domain Name

More information

Servlets and Java Server Pages. Prem Melville. The Machine Learning Group Department of Computer Sciences The University of Texas at Austin

Servlets and Java Server Pages. Prem Melville. The Machine Learning Group Department of Computer Sciences The University of Texas at Austin Servlets and Java Server Pages Prem Melville The Machine Learning Group Department of Computer Sciences The University of Texas at Austin UT-CS 8/24/01 1 What s a Servlet? Java s answer to CGI programming

More information

3M Information Technology

3M Information Technology 3M Information Technology IT Customer Relationship Management Applications Web Services Toolkit User Guide Custom Web Lead Capture Submit Lead Last Updated: 23-FEB-07 Page 1 of 33 (Last Modified: 2/24/2007

More information

Glassfish, JAVA EE, Servlets, JSP, EJB

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,

More information

Recommended readings. Lecture 11 - Securing Web. Applications. Security. Declarative Security

Recommended readings. Lecture 11 - Securing Web. Applications. Security. Declarative Security Recommended readings Lecture 11 Securing Web http://www.theserverside.com/tt/articles/content/tomcats ecurity/tomcatsecurity.pdf http://localhost:8080/tomcat-docs/security-managerhowto.html http://courses.coreservlets.com/course-

More information

Arjun V. Bala Page 20

Arjun V. Bala Page 20 12) Explain Servlet life cycle & importance of context object. (May-13,Jan-13,Jun-12,Nov-11) Servlet Life Cycle: Servlets follow a three-phase life cycle, namely initialization, service, and destruction.

More information

WEB PROGRAMMING LAB (Common to CSE & IT)

WEB PROGRAMMING LAB (Common to CSE & IT) 138 WEB PROGRAMMING LAB (Common to CSE & IT) Course Code :13CT1121 L T P C 0 0 3 2 Course Educational Objectives: The main objective of the lab course is to expose the students to different programming

More information

Course Number: IAC-SOFT-WDAD Web Design and Application Development

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

More information

Java Web Programming. Student Workbook

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

More information

Understanding Architecture and Framework of J2EE using Web Application

Understanding Architecture and Framework of J2EE using Web Application 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

More information

CSCI110 Exercise 4: Database - MySQL

CSCI110 Exercise 4: Database - MySQL CSCI110 Exercise 4: Database - MySQL The exercise This exercise is to be completed in the laboratory and your completed work is to be shown to the laboratory tutor. The work should be done in week-8 but

More information

Application Security

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/

More information

2. Follow the installation directions and install the server on ccc

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

More information

SSO Plugin. HP Service Request Catalog. J System Solutions. http://www.javasystemsolutions.com Version 3.6

SSO Plugin. HP Service Request Catalog. J System Solutions. http://www.javasystemsolutions.com Version 3.6 SSO Plugin HP Service Request Catalog J System Solutions Version 3.6 Page 2 of 7 Introduction... 3 Adobe Flash and NTLM... 3 Enabling the identity federation service... 4 Federation key... 4 Token lifetime...

More information

Java Servlet Tutorial. Java Servlet Tutorial

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.........................................................

More information

Java 2 Web Developer Certification Study Guide Natalie Levi

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

More information

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5

More information

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache.

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture #3 2008 3 Apache. JSP, and JSP, and JSP, and 1 2 Lecture #3 2008 3 JSP, and JSP, and Markup & presentation (HTML, XHTML, CSS etc) Data storage & access (JDBC, XML etc) Network & application protocols (, etc) Programming

More information

White Paper March 1, 2005. Integrating AR System with Single Sign-On (SSO) authentication systems

White Paper March 1, 2005. Integrating AR System with Single Sign-On (SSO) authentication systems White Paper March 1, 2005 Integrating AR System with Single Sign-On (SSO) authentication systems Copyright 2005 BMC Software, Inc. All rights reserved. BMC, the BMC logo, all other BMC product or service

More information

CHAPTER 9: SERVLET AND JSP FILTERS

CHAPTER 9: SERVLET AND JSP FILTERS Taken from More Servlets and JavaServer Pages by Marty Hall. Published by Prentice Hall PTR. For personal use only; do not redistribute. For a complete online version of the book, please see http://pdf.moreservlets.com/.

More information

Principles and Techniques of DBMS 5 Servlet

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:

More information

Getting Started with Web Applications

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

More information

Developing Web Applications using JavaServer Pages and Servlets

Developing Web Applications using JavaServer Pages and Servlets Redpaper Martin Keen Rafael Coutinho Sylvi Lippmann Salvatore Sollami Sundaragopal Venkatraman Steve Baber Henry Cui Craig Fleming Developing Web Applications using JavaServer Pages and Servlets This IBM

More information

Development of Web Applications

Development of Web Applications Development of Web Applications Principles and Practice Vincent Simonet, 2013-2014 Université Pierre et Marie Curie, Master Informatique, Spécialité STL 3 Server Technologies Vincent Simonet, 2013-2014

More information

Intellicus Single Sign-on

Intellicus Single Sign-on Intellicus Single Sign-on Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Copyright 2010 Intellicus Technologies This document and its content

More information

Oracle Web Cache 11g Overview

<Insert Picture Here> Oracle Web Cache 11g Overview Oracle Web Cache 11g Overview Oracle Web Cache Oracle Web Cache is a secure reverse proxy cache and a compression engine deployed between Browser and HTTP server Browser and Content

More information

Creating a generic user-password application profile

Creating a generic user-password application profile Chapter 4 Creating a generic user-password application profile Overview If you d like to add applications that aren t in our Samsung KNOX EMM App Catalog, you can create custom application profiles using

More information

PowerTier Web Development Tools 4

PowerTier Web Development Tools 4 4 PowerTier Web Development Tools 4 This chapter describes the process of developing J2EE applications with Web components, and introduces the PowerTier tools you use at each stage of the development process.

More information

www.novell.com/documentation Policy Guide Access Manager 3.1 SP5 January 2013

www.novell.com/documentation Policy Guide Access Manager 3.1 SP5 January 2013 www.novell.com/documentation Policy Guide Access Manager 3.1 SP5 January 2013 Legal Notices Novell, Inc., makes no representations or warranties with respect to the contents or use of this documentation,

More information

InternetVista Web scenario documentation

InternetVista Web scenario documentation InternetVista Web scenario documentation Version 1.2 1 Contents 1. Change History... 3 2. Introduction to Web Scenario... 4 3. XML scenario description... 5 3.1. General scenario structure... 5 3.2. Steps

More information

Cache Configuration Reference

Cache Configuration Reference Sitecore CMS 6.2 Cache Configuration Reference Rev: 2009-11-20 Sitecore CMS 6.2 Cache Configuration Reference Tips and Techniques for Administrators and Developers Table of Contents Chapter 1 Introduction...

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 03 Major Subject Ludwig- Maximilians- Universität München Online Multimedia WS 2015/16 - Tutorial 03-1 Today s Agenda Quick test Server

More information

PHP: Introduction. CS7025: Network Technologies and Server Side Programming Lecturer: Saturnino Luz

PHP: Introduction. CS7025: Network Technologies and Server Side Programming  Lecturer: Saturnino Luz PHP: Introduction CS7025: Network Technologies and Server Side Programming http://www.scss.tcd.ie/~luzs/t/cs7025/ Lecturer: Saturnino Luz January 24, 2011 1 PHP: Introduction How does a browser request

More information

Software Architecture

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

More information

BDD FOR AUTOMATING WEB APPLICATION TESTING. Stephen de Vries

BDD FOR AUTOMATING WEB APPLICATION TESTING. Stephen de Vries BDD FOR AUTOMATING WEB APPLICATION TESTING Stephen de Vries www.continuumsecurity.net INTRODUCTION Security Testing of web applications, both in the form of automated scanning and manual security assessment

More information

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies: Oracle Workshop for WebLogic 10g R3 Hands on Labs Workshop for WebLogic extends Eclipse and Web Tools Platform for development of Web Services, Java, JavaEE, Object Relational Mapping, Spring, Beehive,

More information

Crawl Proxy Installation and Configuration Guide

Crawl Proxy Installation and Configuration Guide Crawl Proxy Installation and Configuration Guide Google Enterprise EMEA Google Search Appliance is able to natively crawl secure content coming from multiple sources using for instance the following main

More information

Installation Guide for contineo

Installation Guide for contineo Installation Guide for contineo Sebastian Stein Michael Scholz 2007-02-07, contineo version 2.5 Contents 1 Overview 2 2 Installation 2 2.1 Server and Database....................... 2 2.2 Deployment............................

More information

Saferpay Implementation Guide

Saferpay Implementation Guide Saferpay Implementation Guide Programmers Manual Date: May 2007 Version: 1.62 Status: Final Telekurs Card Solutions GmbH SAFERPAY - IMPLEMENTATION GUIDE TABLE OF CONTENTS 2 TABLE OF CONTENTS 1 INTRODUCTION

More information

Technical White Paper - JBoss Security

Technical White Paper - JBoss Security Technical White Paper - JBoss Security Clustered SSO 1.0 Table of Contents Target Audience... iii Preface...iv 1. Clustered SingleSignOn...1 1.1. Introduction to SingleSignOn...1 1.2. JBoss implementation

More information

LabVIEW Internet Toolkit User Guide

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,

More information

Oracle Hyperion Financial Management Custom Pages Development Guide

Oracle Hyperion Financial Management Custom Pages Development Guide Oracle Hyperion Financial Management Custom Pages Development Guide CONTENTS Overview... 2 Custom pages... 2 Prerequisites... 2 Sample application structure... 2 Framework for custom pages... 3 Links...

More information

SSO Plugin. Integration for BMC MyIT and SmartIT. J System Solutions. http://www.javasystemsolutions.com Version 4.0

SSO Plugin. Integration for BMC MyIT and SmartIT. J System Solutions. http://www.javasystemsolutions.com Version 4.0 SSO Plugin Integration for BMC MyIT and SmartIT J System Solutions Version 4.0 JSS SSO Plugin Integration with BMC MyIT Introduction... 3 Deployment approaches... 3 SSO Plugin integration... 4 Configuring

More information

chapter 3Chapter 3 Advanced Servlet Techniques Servlets and Web Sessions Store Information in a Session In This Chapter

chapter 3Chapter 3 Advanced Servlet Techniques Servlets and Web Sessions Store Information in a Session In This Chapter chapter 3Chapter 3 Advanced Servlet Techniques In This Chapter Using sessions and storing state Using cookies for long-term storage Filtering HTTP requests Understanding WebLogic Server deployment issues

More information

Implementing SSO between the Enterprise Portal and the EPM Add-In

Implementing SSO between the Enterprise Portal and the EPM Add-In Implementing SSO between the Enterprise Portal and the EPM Add-In Applies to: SAP BusinessObjects Planning and Consolidation 10, version for SAP NetWeaver SP1 and higher EPM Add-In, SP3 and higher. For

More information

Building and Using Web Services With JDeveloper 11g

Building and Using Web Services With JDeveloper 11g Building and Using Web Services With JDeveloper 11g Purpose In this tutorial, you create a series of simple web service scenarios in JDeveloper. This is intended as a light introduction to some of the

More information

Model-View-Controller. and. Struts 2

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,

More information