Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Accelerator.

Slides:



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

웹 서비스 개요.
11 Copyright © 2005, Oracle. All rights reserved. Using Arrays and Collections.
SOAP.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
 2006 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
Remote Method Invocation Chin-Chih Chang. Java Remote Object Invocation In Java, the object is serialized before being passed as a parameter to an RMI.
Lecture 10: Web Services. Outline Overview of Web Services Create a Web Service with Sun J2EE (JAX-RPC)
1 Web Services – Part II CS , Spring 2008/9.
Collaboration Diagrams. Example Building Collaboration Diagrams.
Integration case study Week 8 – Lecture 1. Enrolment request (Workstation) Application server Database server Database New University Student Record System.
Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Accelerator.
CORDRA Philip V.W. Dodds March The “Problem Space” The SCORM framework specifies how to develop and deploy content objects that can be shared and.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
UNIT-V The MVC architecture and Struts Framework.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Concept demo System dashboard. Overview Dashboard use case General implementation ideas Use of MULE integration platform Collection Aggregation/Factorization.
1 3. Implementing Web Services 1.Create SOAP proxy interfaces and WSDL based service descriptions 2.Register/publish services 3.Stores service descriptions.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Understanding the CORBA Model. What is CORBA?  The Common Object Request Broker Architecture (CORBA) allows distributed applications to interoperate.
Dynamic Data Exchanges with the Java Flow Processor Presenter: Scott Bowers Date: April 25, 2007.
History Server & API Christopher Larrieu Jefferson Laboratory.
Using JavaBeans and Custom Tags in JSP Lesson 3B / Slide 1 of 37 J2EE Web Components Pre-assessment Questions 1.The _____________ attribute of a JSP page.
OOI CyberInfrastructure: Technology Overview - Hyrax January 2009 Claudiu Farcas OOI CI Architecture & Design Team UCSD/Calit2.
CMSC 202 Exceptions. Aug 7, Error Handling In the ideal world, all errors would occur when your code is compiled. That won’t happen. Errors which.
EJB Framework.  As we know, EJB is the center of the J2EE architecture that provides a sturdy framework for building enterprise applications. The major.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
CS 584 Lecture 18 l Assignment » Glenda assignment extended to the Java RMI Deadline » No Java RMI Assignment l Test » Friday, Saturday, Monday.
Extending OpenLDAP Luke Howard PADL Software Pty Ltd Copyright © 2003 PADL Software Pty Ltd. All rights reserved. PADL is a registered trademark of PADL.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
LAB 1CSIS04021 Briefing on Assignment One & RMI Programming February 13, 2007.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
Spring/2002 Distributed Software Engineering C:\unocourses\4350\slides\DefiningThreads 1 RMI.
CORBA – Command Line CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 23 — Simple Object Access Protocol (SOAP) and Microsoft BizTalk™ Outline 23.1Introduction 23.2Simple.
RMI remote method invocation. Traditional network programming The client program sends data to the server in some intermediary format and the server has.
CORBA Details Three Tier Architecture CORBA API Holders and Helpers COS Naming and Naming Contexts Transient and Persistent Objects Properties Callbacks.
Software Documentation Section 5.5 ALBING’s Section JIA’s Appendix B JIA’s.
CORBA Common Object Request Broker Architecture. Basic Architecture A distributed objects architecture. Logically, an object client makes method calls.
CORBA – Eclipse CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
Server-Side Java Mapping Copyright © ZeroC, Inc. Ice Programming with Java 6. Server-Side Java Mapping.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
1 Service Creation, Advertisement and Discovery Including caCORE SDK and ISO21090 William Stephens Operations Manager caGrid Knowledge Center February.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
EPICS to TANGO Translator Rok Šabjan on behalf of Rok Štefanič Presented at ICALEPCS, Knoxville, October.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
CSI 3125, Preliminaries, page 1 JDBC. CSI 3125, Preliminaries, page 2 JDBC JDBC stands for Java Database Connectivity, which is a standard Java API (application.
 2008 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
GT3 Tutorial Chapter 3 and Chapter 4 Lecture for Cluster and Grid Computing, CSCE 490/590 Fall 2004, University of Arkansas, Dr. Amy Apon
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Slides prepared by Rose Williams, Binghamton University Chapter 16 Collections and Iterators.
1 Lecture 15 Remote Method Invocation Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Java Database Connectivity.
Java Object-Relational Layer Sharon Diskin GUS 3.0 Workshop June 18-21, 2002.
Server-side http General form of http response/request GET request method POST request method Responses Servlet support.
Z39.50 A Basic Introduction Kathleen R. Murray, Ph.D. William E. Moen, Ph.D. May 2002.
6-1 JAVA DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
D Copyright © 2004, Oracle. All rights reserved. Using Oracle XML Developer’s Kit.
1 Presented by Tom Hempler August 11, 2014 NASA IV&V.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Advanced Computer Systems
WEB SERVICES.
Knowledge Byte In this section, you will learn about:
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Remote method invocation (RMI)
Distribution Infrastructures
Aida; Accelerator Integrated Data Access
Java Remote Method Invocation
Java Object-Relational Layer
Nominal Technologies for Modelling and High Level Applications of LCLS
Presentation transcript:

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Accelerator Integrated Data Access Stanford Linear Accelerator Center George McIntyre, Greg White, Robert Sass, Ron MacKenzie, Judy Rock, Jingchen Zhou July 20th 2002 Software Framework, APIs Status and Further Work

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved AIDA Architecture Design requirements AIDA Directory Service Client Devices AIDA Network Server AIDA (Da API) AIDA Data Provider AIDA DA Service

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved AIDA Architecture Directory Service is the key Location found by URL in “slaconly” All AIDA participants Bootstrap by finding the Directory Service first Services register with the Directory service when they come on line as authorised handlers of a named set of service requests for a particular group(s) of clients The Directory service can now respond correctly to all clients in the relevant group (including DA) with this service’s interface

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved AIDA Architecture Clients can call a service via the DA Can ask the DA to parse and compile queries as well as reconstitution of results Clients can call the Service directly Clients can parse and compile a target reference so that It is validated for correctness and its structure is determined All service references are resolved so that data access can be ultra rapid

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Directory Service Schema AIDA Vision Client Devices Server DS AIDA (Da API) AIDA Data Provider DA DP 3 Client 1 Simple transform of query for immediate target DP 2. Query is translated into a new query for the intermediate service provider 3. The query is sent from this service provider along the chain(s) to the eventual DPs who each have their own specific message

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Directory Service Schema Name//attribute Can map to one or more service chain Transformation syntax Based on regex and Takes chains of sed like arguments Different transforms for each servers may be specified Data Provider is called in series "chained" -

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Directory Service Schema Maps a flat EPICS name space to a structured name space. Eg Attribute VAL.HIST or MODEL.TWISS.X.BETA VAL references the EPICS data provider. VAL.HIST references the Archiver data provider MODEL.* gets from MODEL data provider Visibility of Data Providers and AIDA Servers based on Group Production Development New servers Meta Data Optional type and length If not supplied they need to be discovered by the data provider (e.g. history must discover length), but for instance the slc database data provider must be given the length in order to make an acquisition.

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved AIDA Query Syntax – Java Examples package test.java; import java.util.*; // The following libraries must me imported for all AIDA clients // da defines objects used in AIDA clients // util defines common objects available thoughout the AIDA system import edu.stanford.slac.aida.lib.da.*; import edu.stanford.slac.aida.lib.util.common.*; import edu.stanford.slac.aida.lib.util.except.*;

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved AIDA Query Syntax – Java Examples class Tests { private DaObject da;// Data Access object public Tests (String [] args) { try { da = new DaObject(args);// Initialise AIDA for this appl. } catch ( Exception e ) { System.err.println( e.getMessage() ); e.printStackTrace(); }

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Call by reference – simple type private void simpleTest01() { try { // Create a reference to an Accelerator value DaReference r = new DaReference("QUAD:LI05:901//BCON", da); // Set the type for the simple get operation (if unknown after compile in previous line) r.setType(DaValue.Type.FLOAT); Float v = (Float)da.get(r);// Get data using the reference, may be reused } catch (Exception e) { // Do something; } return }

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved History with context using the DaObject private void simpleTest02() { try { da.setParam("STARTTIME", " :04"); da.setParam("ENDTIME", " :10"); DaValue v = da.getDaValue("HB60:DCCT:SUMY//VAL.HIST"); } catch (Exception e) { // Do something; } return }

Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Parametric, constrained, complex query private void simpleTest03() { try { da.setParam("ENDTIME= :10;STARTTIME= :04"); query = "val={HB60:DCCT:SUMY//VAL}"; query+= ",history={HB60:DCCT:SUMY//VAL.HIST[(#LENGTH-4)-]}"; DaValue v = da.getDaValue(target); } catch (Exception e) { // Do something; } return }