Using Servlet Contexts to Deploy Servlets

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

General introduction to Web services and an implementation example
Windows 2003 Server. Windows 2003 Server Contents Fitur Windows 2003 Server Installation And Configuration Windows Management Resource  User Management.
Server-Side vs. Client-Side Scripting Languages
Web Server Hardware and Software
DT211/3 Internet Development Application Web Servers.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Advanced Java Class Web Applications – Part 0 (Introduction)
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Lesson 20 – OTHER WINDOWS 2000 SERVER SERVICES. DHCP server DNS RAS and RRAS Internet Information Server Cluster services Windows terminal services OVERVIEW.
Tomcat Configuration A Very, Very, Very Brief Overview.
© De Montfort University, Web Servers Chris Hand And Howell Istance De Montfort University.
Software Library Configuration 1 Travis Love Technical Service Engineer.
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
1 Deploying a Web Application. 2 Virtual Directories Web servers map URLs to directories in their file systems. Called virtual directories. Normally one.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
Module 1: Installing Internet Information Services 5.0.
DTS Web Hosting, Rates And Services Web Hosting Internet Services Unit May 2006.
Session 10 Windows Platform Eng. Dina Alkhoudari.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Four Configuring Outlook and Outlook Web Access.
Open Web App. Purpose To explain Open Web Apps To explain Open Web Apps To demonstrate some opportunities for a small business with this technology To.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Web Authoring Rico Yu. Ch.6 Planning for a Web Site Introduction Steps in setting up Needs Planning.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
CS 7: Introduction to Computer Programming Java and the Internet Sections ,2.1.
Module 13: Designing Print Services in Windows Server 2008.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
The HTTP is a standard that all Web browsers and Web servers must speak in order for the Web portion of the Internet to work.
Struts 2 introduction. Struts 2 framework Struts 2 A full-featured web application framework for the Java EE platform The Java Servlet API exposes the.
IPT – Getting Started June Online Resources Project Website Requirements Server Preparation Installation Running IPT Installation Demo Upgrade/Reinstall.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
Endpoints Lesson 17. Skills Matrix Endpoints Endpoints provide a reliable, securable, scalable messaging system that enables SQL Server to communicate.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
Introduction to Information Systems SSD1: Introduction to Information Systems Unit 1. The World Wide Web Unit 2. Introduction to Java and Object- Oriented.
Web Technology Seminar
APACHE TOMCAT WEB SERVER
Designing software applications
WebSphere Diego Leone.
Tomcat Celsina Bignoli
Warm Handshake with Websites, Servers and Web Servers:
Web Software Model CS 4640 Programming Languages for Web Applications
By Dr. Kodge Bheemashankar G
Web App vs Mobile App.
Files, folders, directories, URLs, and IP addresses
Web Application Software
User Interface Design and Development
Design and Maintenance of Web Applications in J2EE
Security in Web Applications
Unit 4: Data Communication
Krug Chapter 2 How We Really Use the Web and Web Site Design
Objectives In this lesson you will learn about: Need for servlets
Web Page Concept and Design :
Web Server Technology Unit 10 Website Design and Development.
A Network Operating System Edited By Maysoon AlDuwais
Scope and State Handling in Java Server Pages
Planning and Storyboarding a Web Site
Chengyu Sun California State University, Los Angeles
Scripted Page Web Application Development (Java Server Pages)
Web Servers (IIS and Apache)
Error Handling in Java Servlets
[Robert W. Sebesta, “Programming the World Wide Web
Jean-Francois LEBLANC Christian SEBASTIAN
Presentation transcript:

Using Servlet Contexts to Deploy Servlets Jeff Offutt http://www.cs.gmu.edu/~offutt/ SWE 432 Design and Implementation of Software for the Web

Servlet Contexts Every servlet is deployed as part of a servlet context Servlet context defines: Location of servlet .class files Servlets that it can interact with The servlet context is set up by the system administrator 20 November 2018 © Offutt

SWE432 Context apps-swe432 server swe432 context package offutt/ servlets Java classes package sthumma3/ servlets Java classes package gburdell/ servlets Java classes 20 November 2018 © Offutt

Servlet Contexts : Platforms Most commercial web applications use Unix or Linux Administrators have concerns with the Windows / IIS combination about : Reliability Robustness Security Administering and maintaining servlet engines is more complicated on Unix platforms Serious web application developers must know at least a little about Unix / Linux 20 November 2018 © Offutt

Servlet Context URI: Uniform Resource Identifier A string that identifies an internet resource Several schemes: (http, ftp, …) domain name ( apps-swe432.vse.gmu.edu ) path ( swe432/servlet/Hello ) parameters: ( ?name=dumb ) A URL is a specific type of URI http scheme URI path: The path inside the URI ( swe432/servlet/Hello ) 20 November 2018 © Offutt

Servlet Context (2) Each servlet is mapped to a specific URI: domain http://apps-swe432.vse.gmu.edu:8080/swe432/servlet/offutt.Hello domain port path maps to servlet For servlet contexts, each context must be mapped to a path prefix on disk: /data/tomcat/apps-swe432/swe432/WEB-INF/classes/ 20 November 2018 © Offutt

Installing Servlet Contexts The system administrator must tell: Server about contexts : where classes directory is Servlet engine where the servlet pages are (mapping) Server to start contexts on initialization On the web apps cluster, we have one servlet context for the entire class This is inconvenient in some ways, but easier to set up and administrate 20 November 2018 © Offutt

Deployment Summary This is more like system administration than software engineering Most software companies have staff who specialize in deployment The naming choices require knowledge of the user’s expectations and mental model (usability) 20 November 2018 © Offutt