1 Framework Presentation Project Participants: Karun Biyani Manish Mehta Pradeep Vincent CSE870 Advanced Software Engineering, Spring 2001 Instructor:

Slides:



Advertisements
Similar presentations
Chapter 6 Server-side Programming: Java Servlets
Advertisements

JSP and Servelets.
MAP REDUCE PROGRAMMING Dr G Sudha Sadasivam. Map - reduce sort/merge based distributed processing Best for batch- oriented processing Sort/merge is primitive.
Software Engineering Implementation Lecture 3 ASPI8-4 Anders P. Ravn, Feb 2004.
Kit Chan ATS Lua Plugin Kit Chan Hi, My name is kit.
ASP.NET Best Practices Dawit Wubshet Park University.
Exceptions and Exception Handling Carl Alphonce CSE116 March 9, 2007.
Exceptions Briana B. Morrison CSE 1302C Spring 2010.
Proxy Cache Leonid Romanovsky Olga Fomenko Winter 2003 Instructor: Konstantin Sinyuk.
R R R CSE870: Advanced Software Engineering: Cheng (Sp 2001)CSE870: Advanced Software Engineering: Cheng (Sp 2001)1 Mini Project An Overview.
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Struts 2.0 an Overview ( )
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
OOSE 01/17 Institute of Computer Science and Information Engineering, National Cheng Kung University Member:Q 薛弘志 P 蔡文豪 F 周詩御.
Web Security Programming I Building Security in from the Start Except where otherwise noted all portions of this work are Copyright (c) 2007 Google and.
BEST PRACTICES - Java By Configuration Use global-forwards/results Helps to avoid duplicate jsp files and redundancy forward mapping.
Doing Something Useful with Enterprise Library 3.0 Benjamin Day Level: Intermediate.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
Internationalization and the Java Stack Matt Wheeler.
Li Tak Sing COMPS311F. Static attributes in Servlets Since Servlets are also Java classes, you can also use static attributes to store values that can.
Module 3: Working with Components. Overview An Introduction to Key.NET Framework Development Technologies Creating a Simple.NET Framework Component Creating.
Apache Synapse The small print
Software Engineering Design Patterns. Singleton Single instance of class Constructor is private static final Class instance constructed when application.
Networks Sockets and Streams. TCP/IP in action server ports …65535 lower port numbers ( ) are reserved port echo7 time13 ftp20 telnet23.
Dynamic Architectures (Component Reconfiguration) with Fractal.
FTP Server API Implementing the FTP Server Registering FTP Command Callbacks Data and Control Port Close Callbacks Other Server Calls.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
Reflecting Proxies Mini != Small Jon Babbage Tony Lambert Michael Malinak Paul Middlin CSE870 Advanced Software Engineering, Spring 2001 Instructor: Dr.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
Copyright © 2015 Curt Hill Java for Minecraft Those things you should know.
OOSSE Week 8 JSP models Format of lecture: Assignment context JSP models JSPs calling other JSPs i.e. breaking up work Parameter passing JSPs with Add.
Copyright © 2007 InSTech Joint Laboratory All rights reserved. 1 Consideration on Persistence of WiseMan FuDan-Hitachi InSTech (Innovative Software Technology)
©SoftMoore ConsultingSlide 1 Filters. Filters can be used in a web application to intercept, examine, and possibly transform requests or responses associated.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Fred Brooks Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the.
The Chain of Responsibility Pattern (Behavioral) ©SoftMoore ConsultingSlide 1.
PROTOTYPE. Design Pattern Space Purpose ScopeCreationalStructuralBehavioral ClassFactory MethodAdapterInterpreter Template Method ObjectAbstract factory.
By Jonathan Smith. Road Map Introduction Company Information Project Overview Java Web Design and Development Summary Relation to IUP Acknowledgments.
Variable Scope & Lifetime
Tiny http client and server
Spring Filters Spring Interceptors SoftUni Team Spring Interceptors
Handling Errors in Web Applications
Ad-blocker circumvention System
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
z/Ware 2.0 Technical Overview
AJAX and REST.
ASP.NET Web Forms and Web Services
Extending Java RMI for Dynamic Reconfiguration
Creating Novell Portal Services Gadgets: An Architectural Overview
Pre-assessment Questions
Pre-assessment Questions
14-мавзу. Cookie, сеанс, FTP и технологиялари
Framework Presentation
Team members: Project Manager: Facilitator: Customer Liason:
Kayra Hopkins Loretta Macklem
null, true, and false are also reserved.
IS 4506 Server Configuration (HTTP Server)
HTTP and Sockets Lecture 6
Servlet APIs Every servlet must implement javax.servlet.Servlet interface Most servlets implement the interface by extending one of these classes javax.servlet.GenericServlet.
Objectives In this lesson you will learn about: Need for servlets
JavaScript & jQuery AJAX.
COMP9321 Web Application Engineering Semester 2, 2016
WinINet Windows Internet.
Pre-assessment Questions
Client-Server Model: Requesting a Web Page
Message Passing Systems Version 2
COMP9321 Web Application Engineering Semester 1, 2017
Message Passing Systems
Presentation transcript:

1 Framework Presentation Project Participants: Karun Biyani Manish Mehta Pradeep Vincent CSE870 Advanced Software Engineering, Spring 2001 Instructor: Dr. B. Cheng

30 April, Overview Proxy Domain Description Framework Overview Sample Application Highlights Demonstration Discussion

30 April, Proxy Domain Http Filtering Proxy 1. Proxy resides between client and server 2. Does intermediate action 3. Proxy uses: caching, filtering, etc. 4. Filtering: domain filtering, background filtering, ad filtering, block filtering, etc.

30 April, Framework Packages Error – Contains Exception Handling Routines Html – Contains Html Parser and Html Block. Html Block is used to store the parsed Html page. Http – Contains Files for Handling Http Request and Http Response. Net – Contains Net Listener. It reads from and writes to the socket. Util – Contains files for generating Log File and Debug Routines Proxy – Contains Proxy Server and Http Proxy Handler Filter – Contains Filter classes that will do filtering on Request or Response. All new filter applications have to create a new filter class which will inherit the FilterHandler class.

Framework Application

30 April, Application Highlights Three Filtering Application AdFilter BlockFilter BackgroundFilter To instantiate the framework, the new filter class implements the FilterHandler interface and then instantiate the new filter class in Http1_0ProxyHandler

30 April, Code public class Http1_0ProxyHandler implements ISocketHandler { public static final String HTTP_URI_STRING = " private Socket m_sckOut = null; private NetObjRef tRefNextProxy = null; private boolean m_bDebug = false; private FilterHandler filter = new BackgroundFilter(); private static final boolean FLAG_REQ_FILTER = false; private static final boolean FLAG_RESP_FILTER = !FLAG_REQ_FILTER; private static final boolean DO_FILTER = true; public Http1_0ProxyHandler(FilterHandler applfilter) { filter = applfilter; }

import COM.reitshamer.http.*; import COM.reitshamer.html.*; public class AdFilter implements FilterHandler { public HttpResponse filter (HttpRequest req, HttpResponse res, boolean mayfilter) { if ( mayfilter ) { HTMLBlock block; if ( res != null ) HttpObjectList objList = res.getObjectList(); else return null; for ( int i=0; i < objList.size(); i++ ) { if ( objList.isHTMLBlock(i) ) { block = (HTMLBlock)objList.geti(i); dofiltering ( block ); } return null; }

30 April, Proxy Demonstration

30 April, Summary and Discussion Framework Implementation Fault Tolerance Handling malformed URLs Response Failure Thinking Ahead - Timing Failure Design Pattern Iterator Pattern Adapter Pattern

30 April, Summary and Discussion (contd.) Proxy Understanding How Http Request and Http Response are generated and Handled Http Request and Response Headers How different filtering can be implemented. Working in Team