Test Enabled and Training Architecture (TENA) Don McGregor Research Associate MOVES Institute

Slides:



Advertisements
Similar presentations
Message Passing Vs Distributed Objects
Advertisements

Three types of remote process invocation
What is RMI? Remote Method Invocation –A true distributed computing application interface for Java, written to provide easy access to objects existing.
COM vs. CORBA.
Tam Vu Remote Procedure Call CISC 879 – Spring 03 Tam Vu March 06, 03.
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
Remote Procedure CallCS-4513, D-Term Remote Procedure Call CS-4513 Distributed Computing Systems (Slides include materials from Operating System.
Remote Method Invocation
CORBA - Common Object Request Broker Architecture.
Slide 1 Client / Server Paradigm. Slide 2 Outline: Client / Server Paradigm Client / Server Model of Interaction Server Design Issues C/ S Points of Interaction.
Windows Communication Foundation and Web Services.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
CS490T Advanced Tablet Platform Applications Network Programming Evolution.
Middleware Technologies compiled by: Thomas M. Cosley.
Practical Issues of RPCCS-4513, D-Term Remote Procedure Call Practical Issues CS-4513 Distributed Computing Systems (Slides include materials from.
Communication in Distributed Systems –Part 2
TENA Test and Training Enabling Architecture. TENA TENA is used in range environments, often in the L portion of LVC Slightly different emphasis; small.
Remote Procedure Calls. 2 Client/Server Paradigm Common model for structuring distributed computations A server is a program (or collection of programs)
CORBA Programming Using ACE/TAO
Common Object Request Broker Architecture CORBA. RMI is a simplified version of CORBA that does fairly well CORBA is all-singing and all-dancing Multiple.
Understanding the CORBA Model. What is CORBA?  The Common Object Request Broker Architecture (CORBA) allows distributed applications to interoperate.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Other Topics RPC & Middleware.
1 Chapter 38 RPC and Middleware. 2 Middleware  Tools to help programmers  Makes client-server programming  Easier  Faster  Makes resulting software.
1 In the good old days... Years ago… the WWW was made up of (mostly) static documents. –Each URL corresponded to a single file stored on some hard disk.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
Lecture 15 Introduction to Web Services Web Service Applications.
Introduction to Distributed Systems Slides for CSCI 3171 Lectures E. W. Grundke.
Spring/2002 Distributed Software Engineering C:\unocourses\4350\slides\DefiningThreads 1 RMI.
Abhishek Bachchan Vishal Patangia
Remote Objects. The Situation Is there a better (in terms of programmer time) way to do network communications? What is it we’re trying to accomplish?
RMI remote method invocation. Traditional network programming The client program sends data to the server in some intermediary format and the server has.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 43 Remote Method Invocation.
CSE 451: Operating Systems Winter 2015 Module 22 Remote Procedure Call (RPC) Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
 Common Object Request Broker Architecture  An industry standard developed by OMG to help in distributed programming.
1 BBN Technologies Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS Craig Rodrigues, Joseph P. Loyall, Richard E. Schantz.
1 Chapter 38 RPC and Middleware. 2 Middleware  Tools to help programmers  Makes client-server programming  Easier  Faster  Makes resulting software.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
.NET Mobile Application Development XML Web Services.
Remote Method Invocation A Client Server Approach.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
Distributed Computing & Embedded Systems Chapter 4: Remote Method Invocation Dr. Umair Ali Khan.
Topic 4: Distributed Objects Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
CORBA Antonio Vasquez, John Shelton, Nidia, Ruben.
Java Distributed Computing
Windows Communication Foundation and Web Services
J2EE Platform Overview (Application Architecture)
Common Object Request Broker Architecture (CORBA)
Java Distributed Computing
Remote Method Invocation
Distribution and components
Windows Communication Foundation and Web Services
Ch > 28.4.
Programming Models for Distributed Application
CSE 451: Operating Systems Winter 2006 Module 20 Remote Procedure Call (RPC) Ed Lazowska Allen Center
Lecture 4: RPC Remote Procedure Call Coulouris et al: Chapter 5
CSE 451: Operating Systems Autumn 2003 Lecture 16 RPC
CSE 451: Operating Systems Winter 2007 Module 20 Remote Procedure Call (RPC) Ed Lazowska Allen Center
Chapter 40 Remote Method Invocation
Lecture 4: RPC Remote Procedure Call CDK: Chapter 5
Architecture Competency Group
CSE 451: Operating Systems Winter 2004 Module 19 Remote Procedure Call (RPC) Ed Lazowska Allen Center
Chapter 46 Remote Method Invocation
Remote Procedure Call Hank Levy 1.
Chapter 46 Remote Method Invocation
Remote Procedure Call Hank Levy 1.
CSE 451: Operating Systems Winter 2003 Lecture 16 RPC
Remote Procedure Call Hank Levy 1.
CSE 451: Operating Systems Messaging and Remote Procedure Call (RPC)
Presentation transcript:

Test Enabled and Training Architecture (TENA) Don McGregor Research Associate MOVES Institute

TENA TENA is used in range environments, often in the L portion of LVC Slightly different emphasis; small devices, real-time-ish, sometimes embedded, high performance in the sense of low overhead required, multiple unusual platforms Government-owned source built for multiple platforms

Live, Virtual, constructive

TENA Large-ish user support network Available to international militaries with permission (used in Sweden) “Schedule A” software

Remote Objects There’s a popular concept in computer science called “remote procedure calls” or “distributed objects.” You’ve got a piece of code on one host, and you want to call it from another You can create and send a message from the client to the server to make this call happen, but it’s popular to make it appear as if the object is “really” on the client. This is done via a proxy object

Proxy Objects -doSomething(int i) -doSomethingElse(float f); -doSomething(int i) -doSomethingElse(float f); -doSomething(int i) -doSomethingElse(float f); -doSomething(int i) -doSomethingElse(float f); ProxyReal Object The proxy is a “stand-in” for the real object on another host. Methods are called by a user on the proxy, which does no computation itself. Instead, it passes the request (along with any parameters) to the real object on a server. The server does the computation and passes back the return value

Proxy and Servant The object on the client side is called the proxy, while the “real” object on the server side is called the servant This means the proxy and servant need to agree on how messages are passed back and forth, ports for passing messages over sockets, etc. The good news is that this can be automated by appropriate code, so the user doesn’t have to write any of it Typically you write a interface file in a special language, then the proxy code and servant interface is generated for you The infrastructure can use a variety of technologies for message passing: multicast, tcp, udp, etc.

TENA Objects 8

TENA Description Language The TDL/CORBA IDL below is run through a compiler to generate the proxy objects and to create the server-side connectors. (TDL and IDL are very similar)

TDL TDL is a way to write something like a Java interface—it’s like a class, and it defines methods. It also defines instance variables It’s written in a language that is very much like C++ or Java, but isn’t. Same concepts of classes and inheritance. No code logic, just interfaces and variables Note that this is different from HLA—HLA had only classes with data values, no methods Once written you compile the TDL to Java or C++ language implementations 10

TDL Distributed programming has more things that can go wrong than normal programming, and more issues to deal with –Sometimes you might not want to wait for a return value from a method. You can define “oneway” methods that are “fire and forget”, and may or may not work. –You may not care if objects in the method arguments are modified on the server side are passed back—you can specify that they don’t have to be. These can be specified with in/ 11

TENA Description Language You can also generate TENA TDL from a UML diagram via MagicDraw 12

Dangers While this is nice, always remember that the proxy object is not the same thing as the real object. Calls are being made across the network, so they’ll be much slower and less reliable than using a “real” object for(int idx = 0; idx < 1000; idx++ { proxy.doSomething(idx); }

TENA Remote Objects Remote objects are the approach that TENA takes Clients have proxies that connect to the servant objects running on other hosts, so we may have a radar object instance running on a device on the range being called from a host in the lab, and the radar object being shown in a DIS application via a gateway

Stateful Distributed Objects TENA adds “stateful distributed objects” to regular distributed objects With distributed objects you need to call a method to discover state With SDOs the state is pushed to subscribed listeners periodically (often at state change points) So for example a Radar object instance might tell listening objects that it has turned on rather than waiting for other objects to ask its state, or having other objects poll its state

TENA So a TENA application can consist of –Objects that that application publishes (for example, a radar or tank) –Objects that that application is listening to (for example, helicopters published by other applications) –Your own application logic TENA has gateways to allow operation with other standards, for example DIS or HLA

TENA TENA uses something called CORBA in the background, specifically the TAO realtime CORBA ORB But all this is hidden from the user, and as a result is never seen directly Multiple language bindings: C++ is primary, C# also, Java

CORBA CORBA provides the infrastructure for many things: –Publishing objects –Handling parameter serialization, object serialization, response serialization –Object lookup –The interface description language (IDL) –Generating proxy and servant interfaces You provide the servant logic, CORBA does most of the rest

Object Serialization What if you pass an object as a parameter to a method on a servant? Eg, Position with attributes of floats (x,y,z). Or what if you want an object returned as a method result? The attributes of the object need to be placed in a format that can be passed in a message to the servant; this is all done automatically, but it needs to be done How to you find published objects?

TENA

TENA App

Cooperating TENA Apps

Vs DIS 23 VBS2 Vendor A DIS Combat XXI Vendor B DIS Standardized Wire Format, Different APIs for DIS

Vs HLA 24 VBS2 Vendor A HLA Combat XXI Vendor B HLA Standardized API, Different Wire Formats for Each Vendor

Vs TENA 25 VBS2 TENA Middleware Combat XXI TENA Middleware One vendor for TENA middleware. The wire format is whatever that single vendor specifies. TENA APIs and wire formats are not officially standardized; they are defacto standards

JMETC Joint Mission Environment Test Capability Classic government behavior: every time we run a live exercise, set up a network, then tear it down afterwards Takes months to approve the security paperwork Better government behavior: set up a network on the ranges once, then have all subsequent exercises use that network. This is the JMETC idea

JMETC

Always-on, monitored 24/7 Security dweebs do their thing for you

Overall TENA uses a hidden implementation of CORBA Adds “stateful distributed objects”, which pushes state information to subscribed listeners High performance, hides most network details Gov’t-provided middleware for most architectures (Linux/Windows/IOS/32/64)