Rochester Institute of Technology Cyberaide JavaScript: A JavaScript Commodity Grid Kit Gregor von Laszewski Fugang Wang Nov Demo: Tuesday 1:30 Indiana, or call /2/2015Service Oriented Cyberinfrastructure Lab,
Outline Approaches to access Grid -Infrastructure specific tools; middleware; portal Web 2.0 technologies applied to Grid portal -JSR 168 portal -Ajax, RESTful, RSS/ATOM, Mashup -A comparison The Cyberaide JavaScript framework -Introduction and architecture -A reusable JavaScript library; A portal Conclusion and discussion 12/2/2015Service Oriented Cyberinfrastructure Lab,
Approaches to access Grid Grid Infrastructure - Condor, PBS, LSF, SGE - Globus, UNICORE, EGEE, Legion Middleware/Upperware - CoG Kit - Gridway - Cyberaide.org Gridshell Grid Portal - Teragrid portal, Gridsphere, OGCE 12/2/2015Service Oriented Cyberinfrastructure Lab,
Portal technologies – JSR168 12/2/2015Service Oriented Cyberinfrastructure Lab, Java Portlet Specification (JSR168) Portlets Container Portlets Container Login Info FAQ Welcome Server Portlet Window Portlet Fragment Portal Server
Portal technologies – Web /2/2015Service Oriented Cyberinfrastructure Lab, Web 2.0 technologies applied to web portals - Web 2.0, a buzz word. “Web as platform”? - Asynchronous JavaScript and XML (Ajax) - Representational State Transfer (REST) - Mashup - Atom and RSS
Portal technologies – Web /2/2015Service Oriented Cyberinfrastructure Lab, …… Ajax - XML as data interchange medium - Asynchronous communication with server side - XHTML, CSS, and JavaScript to manipulate and render DOM components - Decrease user waiting time and increase user experience Static pages, CGI, Servlet Web page Web Browser Web Server Ajax engine JS code, CSS, libraries, web resources Rendered Web page
Portal technologies – Web /2/2015Service Oriented Cyberinfrastructure Lab, REST/RESTful web service - Roy Fielding’s doctoral dissertation in Resource = functionality + state - Unique addressable through URI for each resource - Use HTTP verbs such as GET, POST to do the CRUD operations (Create, Read, Update, Delete) - Eliminating the use of additional message layer such as SOAP or session maintaining cookies - Simplicity is beauty RSS and Atom - Web content publishing - Publish “feed”; Subscribe and read - Aggregating
Portal technologies – Web /2/2015Service Oriented Cyberinfrastructure Lab, Mashup - Data from multiple sources - Mingle and combine - Presented in a new perspective Site A Site B Site C Web Service Web Client
Portal technologies – Web /2/2015Service Oriented Cyberinfrastructure Lab, Mashup applied to JavaScript Grid Portal - Shows mashup happens both in server side and client side Teragrid Host A Teragrid Host B Teragrid REST Info service JavaScript CoG Kit service JavaScript API & Portal
Portal approaches – a comparison JSR168 Portal - Generate markup segments for each portlet and assembly them into a full page - Info aggregated at server side - Portlets displayed separately - Relatively old technology and is to be enhanced by newer standard (JSR286) Web 2.0 Portal - Combine raw data from different site/web services - Content aggregation can happen in server side or client side - Could combine data from different source and present in a totally new way - Web 2.0 technologies used to provide better user experience 12/2/2015Service Oriented Cyberinfrastructure Lab,
A Web 2.0 Grid portal and reusable JavaScript CoG Kit 12/2/2015Service Oriented Cyberinfrastructure Lab, Multi-tier SOA based framework Grid services are exposed through JavaScript library in client side for those web based Grid application developers A generic purpose Grid portal built upon the JavaScript CoG Kit enable access to Teragrid through web browser
System architecture 12/2/2015Service Oriented Cyberinfrastructure Lab,
JavaScript Library enables Grid access 12/2/2015Service Oriented Cyberinfrastructure Lab, JavaScript library to consume Java based web services while providing a higher level abstraction for web based Grid application developers JavaDoc style documentation Subject to change since it is still under active development Reusable to construct Grid portal or other domain specific scientific gateways upon it
The Portal 12/2/2015Service Oriented Cyberinfrastructure Lab,
Teragrid Information Services 12/2/2015Service Oriented Cyberinfrastructure Lab,
Job Management 12/2/2015Service Oriented Cyberinfrastructure Lab,
File Transfer 12/2/2015Service Oriented Cyberinfrastructure Lab,
Cyberaide.org 12/2/2015Service Oriented Cyberinfrastructure Lab,
Conclusions and Discussion 12/2/2015Service Oriented Cyberinfrastructure Lab, Road to Grid - Abstraction and reuse - More user-friendly and lower barrier - Less user involved setup and configuration - Architecture gets more complicated - Hide more complexity behind the “cloud” Trends - Service Oriented Architecture (SOA) / Web services - Software As A Service (SAAS) - Web application / Rich Internet Application - Cloud Demo: Tuesday 1:30 Indiana, or call
12/2/2015Service Oriented Cyberinfrastructure Lab, Thanks! Any questions? Tue: Indiana Booth 1:30 or call (Gregor)
References 12/2/2015Service Oriented Cyberinfrastructure Lab, Java CoG Kit. Globus Toolkit. JSR 168: Portlet Specification. OASIS Web Services for Remote Portlets (WSRP). open.org/committees/tc_home.php?wg_abbrev=wsrphttp:// open.org/committees/tc_home.php?wg_abbrev=wsrp Myrit portal. Teragrid user portal. Gridsphere portal framework. The Open Grid Computing Environments Portal and Gateway Toolkit (OGCE Portal). D. Gannon, J. Alameda, O. Chipara, M. Christie, V. Dukle, L. Fang, M. Farrellee, G. Kandaswamy, D. Kodeboyina, S. Krishnan, C. Moad, M. Pierce, B. Plale, A. Rossi, Y. Simmhan, A. Sarangi, A. Slominski, S. Shirasuna, and T. Thomas, "Building grid portal applications from a web service component architecture," Proceedings of the IEEE, vol. 93, no. 3, pp , [Online]. Available:
References – cont’d 12/2/2015Service Oriented Cyberinfrastructure Lab, Thomas, M., Burruss, J., Cinquini, L., Fox, G., Gannon, D., Glilbert, I., von Laszewski, G., Jackson, K., Middleton, D., Moore, R., Pierce, M., Plale, B., Rajasekar, A., Regno, R., Roberts, E., Schissel, D., Seth, A., Schroeder, W.: Grid portal architectures for scientific applications. J. Phys. 16, 596–600 (2005) R. Barbera, A. Falzone, A. Rodolico: “The GENIUS Grid Portal”, Computing in High Energy and Nuclear Physics, March 2003, La Jolla, California Anand Natrajan, Anh Nguyen-Tuong, Marty A. Humphrey and Andrew S. Grimshaw, “The Legion Grid Portal”, Concurrency and Computation: Practice and Experience Vol. 14, Grid Computing environments Special Issue 13-14, G. Singh, E. Deelman, G. Mehta, K. Vahi, M. Su, B. Berriman, J. Good, J. Jacob, D. Katz, A. Lazzarini, K. Blackburn, S. Koranda, "The Pegasus Portal: Web Based Grid Computing", The 20th Annual ACM Symposium on Applied Computing, Santa Fe, NM, Mar , 2005.