Building QuakeSim portlets with GTLAB Mehmet A. Nacar 1, Marlon E. Pierce 1, Andrea Donnellan 2, and Geoffrey C. Fox 1 1 Community Grids Lab, Indiana University.

Slides:



Advertisements
Similar presentations
Open Grid Computing Environments Marlon Pierce (IU) & Gopi Kandaswamy (RENCI)
Advertisements

Lecture plan Information retrieval (from week 11)
Using the Collaborative Tools in NEESgrid Charles Severance University of Michigan.
Developing Grid User Interface Components Portlets, gadgets, etc.
Apache Struts Technology
The Developer Perspective Michelle Osmond. Design – Requirements Gathering Sales & Research projects –Prototypes/Demos User group meetings Usability workshops.
Building Grid Portlets with GTLAB Mehmet A. Nacar and Marlon E. Pierce Community Grids Lab Indiana University.
Reusable Components for Grid Computing Portals Marlon Pierce Community Grids Lab Indiana University.
VLab: Collaborative Grid Services and Portals to Support Computational Material Science Mehmet Nacar, Mehmet Aktas, Marlon Pierce, Zhenyu Lu, Gordon Erlebacher,
Building Science Gateways Marlon Pierce Community Grids Laboratory Indiana University.
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
Java Server Pages (JSP) Presented by: Ananth Prasad & Alex Ivanov May 10, 2001.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
JavaServer Faces: The Fundamentals Compiled from Sun TechDays workshops (JSF Basics, Web-Tier Codecamp: JavaServer Faces, Java Studio Creator; IBM RAD)
XCAT Science Portal Status & Future Work July 15, 2002 Shava Smallen Extreme! Computing Laboratory Indiana University.
Application Web Service Toolkit Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University July
Holding slide prior to starting show. A Grid-based Problem Solving Environment for GECEM Maria Lin and David Walker Cardiff University Yu Chen and Jason.
A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department Advisor:
Towards a Javascript CoG Kit Gregor von Laszewski Fugang Wang Marlon Pierce Gerald Guo
CoG Kit Overview Gregor von Laszewski Keith Jackson.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Flexibility and user-friendliness of grid portals: the PROGRESS approach Michal Kosiedowski
Grids and Portals for VLAB Marlon Pierce Community Grids Lab Indiana University.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
23:48:11Service Oriented Cyberinfrastructure Lab, Grid Portals Fugang Wang April 29
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
GRAM5 - A sustainable, scalable, reliable GRAM service Stuart Martin - UC/ANL.
Javascript Cog Kit By Zhenhua Guo. Grid Applications Currently, most grid related applications are written as separate software. –server side: Globus,
GEM Portal and SERVOGrid for Earthquake Science PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics, Physics.
Application portlets within the PROGRESS HPC Portal Michał Kosiedowski
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Java Web Development with NetBeans IDE -- Kai Qian Chapter 5 JavaServer Faces (JSF) Technology.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
1 Grid Portal for VN-Grid Cu Nguyen Phuong Ha. 2 Outline Some words about portals in principle Overview of OGCE GridPortlets.
JSF Framework Java Server Faces Presented by Songkran Totiya (6/10/2014)
Holding slide prior to starting show. A Portlet Interface for Computational Electromagnetics on the Grid Maria Lin and David Walker Cardiff University.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Designing Grid Tag Libraries and Grid Beans Mehmet Nacar, Marlon Pierce, Gordon Erlebacher, Geoffrey Fox GCE 2006 Tampa, FL.
The Open Grid Computing Environments Project Marlon Pierce Community Grids Laboratory Indiana University.
Some comments on Portals and Grid Computing Environments PTLIU Laboratory for Community Grids Geoffrey Fox, Marlon Pierce Computer Science, Informatics,
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Biomedical and Bioscience Gateway to National Cyberinfrastructure John McGee Renaissance Computing Institute
Building Grid Portals with OGCE: Big Red Portal and GTLAB Mehmet A. Nacar, Jong Youl Choi, Marlon Pierce, Geoffrey Fox Community Grids Lab Indiana University.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
AHM, Aug-30-Sept-2, 2004 Virtual Research in the UK: Advanced Portal Services Mark Baker and Hong Ong Distributed Systems Group University of Portsmouth.
Grid Interoperability Update on GridFTP tests Gregor von Laszewski
Building Science Gateways Marlon Pierce Community Grids Laboratory Indiana University.
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Portals, Services, Interfaces Marlon Pierce Indiana University March 15, 2002.
® IBM Software Group © 2003 IBM Corporation IBM WebSphere Studio V5.1.2: Making Java Development Easier May 2004.
A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department Advisor:
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
Interacting Data Services for Distributed Earthquake Modeling Marlon Pierce, Choonhan Youn, and Geoffrey Fox Community Grids Lab Indiana University.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
V7 Foundation Series Vignette Education Services.
Lightweight OGCE Gadget Portal for Science Gateways Zhenhua Guo, Marlon Pierce Community Grids Laboratory, Pervasive Technology Institute, Indiana University,
Shaowen Wang 1, 2, Yan Liu 1, 2, Nancy Wilkins-Diehr 3, Stuart Martin 4,5 1. CyberInfrastructure and Geospatial Information Laboratory (CIGI) Department.
Tamas Kiss University Of Westminster
OGCE Short Summary Marlon Pierce Community Grids Lab
Writing Grid Portlets.
Shaowen Wang1, 2, Yan Liu1, 2, Nancy Wilkins-Diehr3, Stuart Martin4,5
GTLAB: Grid Tag Libraries Supporting Workflows within Science Gateways
JavaServer Faces: The Fundamentals
Middleware for Grid Portal Development
OGCE Portal Software for Big Red and the TeraGrid
Open Grid Computing Environments
OGCE Architecture: Portlets and Services for Science Gateways
Presentation transcript:

Building QuakeSim portlets with GTLAB Mehmet A. Nacar 1, Marlon E. Pierce 1, Andrea Donnellan 2, and Geoffrey C. Fox 1 1 Community Grids Lab, Indiana University 2 Jet Propulsion Lab, California Institute of Technology

Grid Portlets for QuakeSim QuakeSim portlets in production – Initial effort was to build the portal Web services – QuakeSim portlets invoke the services and then execute simple workflows built in shell scripts Problem: QuakeSim portlets should also work on TeraGrid resources. – TeraGrid restricts the services run on TeraGrid resources. Our approach: – Prototyping QuakeSim portlets using Grid Tag Libraries and Beans (GTLAB). Advantages: – QuakeSim portlets utilize IU, SDSC, NCSA and other TeraGrid resources – Rapid development by using reusable components 3

QuakeSim portlets using TeraGrid Disloc is used to calculate surface displacements from earthquake faults Northridge earthquake 2003 San Simeon Earthquake 2004 Great Sumatran Earthquake.

<exec executable="${bindir.prop}/disloc“ output="${workDir.prop}/${projectName.prop}.stdout" dir="${workDir.prop}"> Ant script for Disloc service 5

Grid tags for Disloc portlet

Grid tags are embedded into JSF view pages and decorated with standard JSF form, input, output and button components – Grid components are non-visual. GTLAB Standard JSF JSF Action

GTLAB Grid Tag Libraries and Beans (GTLAB) Encapsulates clients to common Grid services as XML tag libraries and server side Java beans. – Embedded by portlet developers in their portlet pages to invoke common tasks – Specification of the composite action you want to occur when a user hits the submit button. – Allows portal developers to concentrate on the user interface components. Tags can be arranged in directed acyclic graphs (dependency chains). – These represent simple workflows. Based on extensions to Java Server Faces (JSF) and the Java CoG Kit. Implements a component model for User Interfaces (UI) that is more powerful than portlets

Architecture Overview Grid portals are client to backend codes through Web/Grid services. Grid tags are part of user interface tier and embedded into portlet container. Grid tags use local services in Apache Tomcat to manage sessions and handlers. Implies that “portal” is quite sophisticated as must support integration Note CoG kit is here to act as a broker to hide complexities of evolving services (e.g. different versions of Globus) “violates service model” in that core software centralized in portal application 9

GTLAB features GTLAB provides common components for building portlets using tags and reusable parts. The goal of GTLAB to simplify Grid portlet development – Enable rapid development from reusable components GTLAB capabilities include Grid operations with XML based tags within JSF framework. Grid tag libraries are built using JSF custom component development techniques Grid tags are interfaces to backing Grid beans – End users pass values to Grid beans by using tag attributes. Each backing Grid bean has equal capability with a portlet application in case of Grid portlet approach. – GridFtp tag generates GridFTP Portlet But tags allow service backend component model to map into an intermediate UI component models – each tag set is a component – The components/tags can easily be composed into a rich UI which portlets cannot do 10

Grid TagsAssociated Grid BeansFeatures ComponentBuilderBean Creating components, job handlers, submitting jobs. This is visually rendered as HTML MonitorBean Handling monitoring page actions MultitaskBean Constructing simple workflow MultitaskBean Defining dependencies among sub jobs MyproxyBean Retrieving myproxy credential FileOperationBean Providing Gridftp operations JobSubmitBean Providing GRAM job submissions FileTransferBean Providing Gridftp file transfer (Other JSF UI Tags) ResourceBean Describes common properties among all tags and beans. Passing values given by standard visual JSF components.

Encoding DAGs in Portlets Multitask provides a simple Directed Acyclic Graph (DAG) This example demonstrates a composite Grid job using multi- staged multitask GTLAB handles lifecycle of DAG within JSF application

<o:fileoperation id=”taskA” command=”mkdir” hostname=”cobalt.ncsa.teragrid.org” path=”/home/manacar/tmp/” /> <o:filetransfer id=”taskB” from=”gridftp://gf1.ucs.indiana.edu:2811/home/manacar/input_file” to=”gridftp://cobalt.ncsa.teragrid.org:2811/home/manacar/input_file” /> <o:jobsubmit id=”taskC” hostname=”cobalt.ncsa.teragrid.org” provider=”GT4” executable=”/bin/execute” stdin=”tmp/input_file” stdout=”tmp/result” stderr=”tmp/error” /> <o:filetransfer id=”taskD” from=”gridftp://cobalt.ncsa.teragrid.org:2811/home/manacar/tmp/result” to=” gridftp://gf1.ucs.indiana.edu:2811/home/manacar/result” /> DAG Example JSF Page This encodes the DAG on the previous page.

Advantages of GTLAB GTLAB provides simplicity to develop science portals – Rapid development – Easy deployment Grid tags provide rich selection of attributes to initialize Grid beans. Composite tasks can contain an unlimited number of subtasks GTLAB gives flexibility to developers to use their own Grid beans library or add more Grid beans to the existing ones. – Following the method name convention of GTLAB Grid beans also can be imported to any presentation logic – GCEShell is a command-line tool Grid bean methods are bound to tags with attributes to simplify the building of new Grid portlets

Total overhead = T submit -T request = 156 msec (that includes JSF overhead) Average overhead of GTLAB is about few milliseconds GTLAB does not add up significant delay on processing the requests. 15 GTLAB ProcessingJSF ProcessingHandler storingSubmitting Time (msec) GTLAB Overhead

Conclusion We have described Grid portlets to QuakeSim portal. – Initial effort was to build the portal Web services Described the process for creating Grid portlets using GTLAB. – We gained rapid development by using reusable components Grid tags can handle composite Grid operations within QuakeSim applications. Prototyped QuakeSim portlets – Disloc and Simplex portlets. 16

More Information GTLAB version 1.0 Beta release available at – website website See link from main OGCE web site – Contact OGCE: Contact Mehmet: 17

Backup slides

Motivation OGCE Grid portlets typically wrap each single Grid capability in a separate portlet – GridFTP-->GridFTP Portlet Gateway portlets encapsulate sophisticated but specialized functionality. – Such as submitting multiple linked jobs – Each functionality requires a separate portlet We need a middle way to “automatically” build complex functionality from component parts – Traditional portlets don’t work as no agreed way to combine component portlets into an integrated user capability – We need a component model for portlets: reusable portlet parts JSF is our starting point – Removes dependencies on the Servlet API. – Backend software is just beans, so can be reused more easily outside of web and portlet applications. JSF also provides an extensible framework (tag libraries)