Implementing Web Applications in MLPQ System. I. Designing web applications in MLPQ System



Similar documents
Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

Installing SQL Express. For CribMaster 9.2 and Later

Web Enabled Software for 8614xB-series Optical Spectrum Analyzers. Installation Guide

Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

5. At the Windows Component panel, select the Internet Information Services (IIS) checkbox, and then hit Next.

How to Program a Commander or Scout to Connect to Pilot Software

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

Matisse Installation Guide for MS Windows. 10th Edition

SAIP 2012 Performance Engineering

CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY

Browser Client 2.0 Admin Guide

Install MS SQL Server 2012 Express Edition

P-660R-D Series. ADSL2+ Router. Quick Start Guide. Version /2006 Edition 1

Local Caching Servers (LCS): User Manual

Scan to Quick Setup Guide

Converting InfoPlus.21 Data to a Microsoft SQL Server 2000 Database

Introduction to Operating Systems

enicq 5 System Administrator s Guide

Chapter7 Setting the Receiving PC for Direct Upload. Setting the Receiving PC for Direct Upload For Windows For Macintosh...

Configuring the WT-4 for ftp (Ad-hoc Mode)

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

a) Network connection problems (check these for existing installations)

Immotec Systems, Inc. SQL Server 2005 Installation Document

Integrating LANGuardian with Active Directory

A-AUTO 50 for Windows Setup Guide

WorldExtend IronDoor 3.5 Publishing a Terminal Services Application

Virtual Office Remote Installation Guide

Phaser 3635MFP Software Upgrade Process

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

Setting up a networked printer on a local PC

LinQ Mobile Software User s Guide

How to install and use CrossTec Remote Control or SchoolVue in a Virtual and or Terminal Service environment

Setting up an MS SQL Server for IGSS

Special Note Ethernet Connection Problems and Handling Methods (CS203 / CS468 / CS469)

Network Printing In Windows 95/98/ME

OSM 2007 MONITORING SOFTWARE

CONFIGURING MICROSOFT SQL SERVER REPORTING SERVICES

Labtech ClassRoom21 Educator. Windows Installation Guide. Standard Version 1.0

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

Internet Access to a DVR365

ShadowControl ShadowStream

ICE.TCP Pro Update Installation Notes

freesshd SFTP Server on Windows

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Installing and Setting up Microsoft DNS Server

Installation Instruction STATISTICA Enterprise Server

USER GUIDE WEB-BASED SYSTEM CONTROL APPLICATION. August 2014 Phone: Publication: , Rev. C

Monitor TemPageR 4E With PageR Enterprise

Web Remote Control SA Software Installation and Setup

Setting up your laptop to print to the student lounge printer

Using IIS and UltraDev Locally page 1

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

IP Camera Centralization Management. Client Application. (IPCMonitor) Feb, 2013 Version 1.9. User Manual

ilaw Installation Procedure

How to set FTP Server (IIS)

Self Help Guide. Please read the following carefully; Synopsis: Requirements: A Computer with a working RJ45 LAN Port All Belkin Modem Routers

Installation Guidelines (MySQL database & Archivists Toolkit client)

Configure SecureZIP for Windows for Entrust Entelligence Security Provider 7.x for Windows

Using Microsoft Expression Web to Upload Your Site

User Manual V1.0. Remote Software

TECHNICAL NOTE TNOI27

Wakanda Studio Features

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installation Instruction STATISTICA Enterprise Small Business

SYMANTEC BACKUPEXEC2010 WITH StorTrends

BioWin Network Installation

Viewing and Troubleshooting Perfmon Logs

Kaseya Server Instal ation User Guide June 6, 2008

How To Remotely View Your Security Cameras Through An Ezwatch Pro Dvr/Camera Server On A Pc Or Ipod (For A Small Charge) On A Network (For An Extra $20) On Your Computer Or Ipo (For Free

Internet Guide. Prepared for 55 John Street

Installation and Connection Guide to the simulation environment GLOBAL VISION

Application & Quick-Start Guide

Security Guidelines for MapInfo Discovery 1.1

Microsoft SQL 2008 / R2 Configuration Guide

TANDBERG MANAGEMENT SUITE 10.0

Table of Contents MONITORING SOFTWARE USER MANUAL

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Virtual Private Network (VPN)

Copyright Pro Softnet Corporation. All rights reserved. 2 of 24

Windows Mobile 6.5 Classic Pocket Inventory Install and Setup in Windows XP

5.6.2 Optional Lab: Restore Points in Windows Vista

Internet for Everyone In-Room Instructions January 2011 Version 1.3

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

October, Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip

Download/Install IDENTD

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Remote Control Tivoli Endpoint Manager - TRC User's Guide

Volume SYSLOG JUNCTION. User s Guide. User s Guide

Changing Your Cameleon Server IP

Xerox Multifunction Devices. Verify Device Settings via the Configuration Report

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

DP-313 Wireless Print Server

Software Installation Requirements

<User s Guide> Plus Viewer. monitoring. Web

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

FOR PARALLELS / PLESK PANEL

Transcription:

Implementing Web Applications in MLPQ System Shasha Wu (shwu@cse.unl.edu) I. Designing web applications in MLPQ System 1. Designing Infrastructure. Browser Web Service Constraint DB TCP/ IP H T M L TCP/IP TCP/IP Specific Application 2. Responsibilities for three tiers: Browser Web Service CDB User interfaces. Send user s requests to Web Server. Accept results from Web Service. Display the results. Accept requests from the browser. Parse the request to CDB acceptable command and arguments. Send commands to CDB. Accept result from CDB. Explain the result (Optional) Return result to Browser. Accept commands and arguments from Web Server. Activate related operations according to the command and arguments. Return the results to Web Service. 3. Commands and arguments for CDB: Command Arguments Actions on CDB Result

Open $ Create a view for the user and open a CDB data file. Close $ Close the view of the user. SQLBasic #<select>#<from>#<where>$ SQLAggregate #<select>#<from>#<where> #<group>#<having>$ SQLSet < relation name> #<select1>#<from1>#<where1> #<set_op> #<select2>#<from2>#<where2>$ SQLNested #<select1>#<from1>#<where1> #<nest_op> #<select2>#<from2>#<where2>$ Datalog Execute a Datalog file.txt# <datalog string>$ query on the user s view. Include Highlight the relation <color>$ by its name and assign a color for it in the view. Clear $ Deselect all relations GetImage $ Copy the image of the view in screen and save to disk. File.bmp# 1: fail

ColorRelation <relation_name>$ Do color relation on given relation. Zoom GetAnimation <x> <y> <w> <h>$ <Start> <End> <Step>$ Zoom the image. Generate serious animation images *color: 0=black; 1=red; 2=green; 3=blue. The default environment settings are saved in mlpq_nt.cfg file and the values of the settings are displayed in following table. The system administrator can modify these settings in the file to configure the server. Name and Value WorkDir = c:\inetpub\wwwroot\dbs\, OutPut = c:\inetpub\wwwroot\dbs\, Port = 2222. Description Define the directory to load constraint database files by the server. Define the directory for the server to output its result file. Define the value of socket port 4. Sample codes in middle tier: Open Sam Police.txt$ SQLBasic Sam Police.txt view1#contains.street, Contains.x, Contains.y# Contains# Contains.Street= Vine $ Datalog Sam Police.txt view2(id, x, y):- Contains(id, x, y), id= Oak $ Include Sam Police.txt Contains 0$ Include Sam Police.txt view1 2$ Include Sam Police.txt view2 1$ GetImage Sam Police.txt$ ColorRelation Sam test6.txt test6$ Zoom Sam test6.txt 300 20 100 60$ GetAnimation Sam torpedo.txt 0 25 1$

II. Implementing the Web Application 1. Server Installation and Implementation 1) Get the MLPQ Web Access package and extract mlpq_nt.exe to any local directory. 2) Extract w3.zip and install it to any local directory. 3) Install IIS (Internet Information Server) and PWS (Personal Web Server) if they are not available in your machine. IIS 5.0 is not a default installation in Windows 2000 Professional. But they are all included in your Windows Install CD (Same situation in Windows XP Professional). You can install them from Start Settings Control Panel Add/Remove Programs Add/Remove Windows Components. You can find the IIS option from the component list box. Selecting IIS from the box and click Details, you can find Personal Web Manager item in the component list. Make sure you already checked it and click OK to continue the installation. When installing PWS, please use the default settings and set the root directory to c:\inetpub\wwwroot. (Notice: Windows XP Home version does not support IIS and PWS, so you can not run your web server in a machine that only has Windows XP Home operating system.) 4) If you already installed IIS and PWS but the root directory is not the same as we asked. You can change the root setting through the PWS manager, which can be loaded from Start Settings Control Panel Administrative Tools Personal Web Server. There are three choices on the left side of the PWS window. Please select Advanced from them. Or you can also select it from the View menu. In the advanced view, you can

see a Virtual Directory box on the top and three buttons on the right of the box. Select <Home> item in the box and click button Edit to change the root directory. 5) Extract wwwroot.zip to c:\inetpub\wwwroot. 6) Create a sub-directory \dbs under c:\inetpub\wwwroot and copy police.txt to the directory. 7) Run mlpq_nt.exe and select listen item from its help menu. 8) Make sure the PWS service already started up in your server. To check the status of PWS, you can open the PWS manager from Start Settings Control Panel Management Tools Personal Web Server. 2. Client Execution 1) Open IE in client machine. 2) Input the Server's IP address followed with login.html. For example: "http://139.1.2.3/login.html" or "http://localhost/login.html". 3) Input a user name to login. 4) Do what you want by the function buttons in the bottom. 5) If you run the mlpq_nt.exe and the browser at the same machine, please make sure the MLPQ window are not covered by any other windows when you are querying. Otherwise, it may return blank graph. You can minimize the MLPQ window before you do the queries in your browser. The MLPQ will automatically popup after you sent out your queries and make sure you can get the correct answer.