Developing an Application-Specific Portal with P-GRADE Portal 2.9 Author: Ákos Balaskó, Date : 03-06-2010.

Slides:



Advertisements
Similar presentations
PRAGMA BioSciences Portal Raj Chhabra Susumu Date Junya Seo Yohei Sawai.
Advertisements

Building Portals to access Grid Middleware National Technical University of Athens Konstantinos Dolkas, On behalf of Andreas Menychtas.
Legacy code support for commercial production Grids G.Terstyanszky, T. Kiss, T. Delaitre, S. Winter School of Informatics, University.
CGW 2009 Vine Toolkit A uniform access and portal solution to existing grid middleware services P.Dziubecki, T.Kuczynski, K.Kurowski, D.Szejnfeld, D.Tarnawczyk,
MTA SZTAKI Hungarian Academy of Sciences Grid Computing Course Porto, January Introduction to Grid portals Gergely Sipos
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS
UNIT-V The MVC architecture and Struts Framework.
EUROPEAN UNION Polish Infrastructure for Supporting Computational Science in the European Research Space Cracow Grid Workshop’10 Kraków, October 11-13,
11. Java-Based Web: JSP, JSF. 2 Motto: Rule 1: Our client is always right Rule 2: If you think our client is wrong, see Rule 1. - Anonymous.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
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.
1 portal.p-grade.hu Further information on P-GRADE Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
1 Developing domain specific gateways based on the WS- PGRADE/gUSE framework Peter Kacsuk MTA SZTAKI Start date: Duration:
07/06/11 New Features of WS-PGRADE (and gUSE) 2010 Q Q2 Miklós Kozlovszky MTA SZTAKI LPDS.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
1 Next steps with EGEE and P-GRADE Portal Gergely Sipos MTA SZTAKI EGEE Training and Induction.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
Introduction to WS-PGRADE and gUSE Tutorial Akos Balasko 04/17/
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Code Applications Tamas Kiss Centre for Parallel.
Application Specific Module Tutorial Akos Balasko 02/07/
Convert generic gUSE Portal into a science gateway Akos Balasko 02/07/
1 Grid Portal for VN-Grid Cu Nguyen Phuong Ha. 2 Outline Some words about portals in principle Overview of OGCE GridPortlets.
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.
© 2007 IBM Corporation SOA on your terms and our expertise Software WebSphere Process Server and Portal Integration Overview.
WALSAIP Portal Automated Composition of Signal Processing Operators Mariana Mendoza Botero.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Application Porting Support in EGEE Gergely Sipos MTA SZTAKI EGEE’08.
1 P-GRADE Portal: a workflow-oriented generic application development portal Peter Kacsuk MTA SZTAKI, Hungary Univ. of Westminster, UK.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Status report on Application porting at SZTAKI.
How to Read gUSE Documents Orange Docs Series for General Pruposes RELEASE ISSUE POLICY LICENSE HOW TO READ GUSE DOCUMENTS GUSE IN A NUTSHELL by Tibor.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Services for advanced workflow programming.
Easy Access to Grid infrastructures Dr. Harald Kornmayer (NEC Laboratories Europe) Dr. Mathias Stuempert (KIT-SCC, Karlsruhe) EGEE User Forum 2008 Clermont-Ferrand,
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Development of e-Science Application Portal on GAP WeiLong Ueng Academia Sinica Grid Computing
The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures contract no Workflow repository, user.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
Convert generic gUSE Portal into a science gateway Akos Balasko.
Grid portals Gergely Sipos
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.
1 Other features and next steps Gergely Sipos MTA SZTAKI Hungarian Academy of Sciences.
Application Specific Module Tutorial Zoltán Farkas, Ákos Balaskó 03/27/
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
1 Further information and next steps Further information and next steps Gergely Sipos MTA SZTAKI
1 WS-PGRADE/gUSE generic DCI gateway framework for EGI user communities Zoltan Farkas and Peter Kacsuk MTA SZTAKI SCI-BUS is supported.
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Science Gateways for Discrete Event Simulation based on P-GRADE Portal Gergely Sipos*,
Grid Execution Management for Legacy Code Architecture Exposing legacy applications as Grid services: the GEMLCA approach Centre.
Grid Execution Management for Legacy Code Applications Grid Enabling Legacy Applications.
Converting P-GRADE Grid Portal into E-Science Gateways A. Balasko, M. Kozlovszky, K. Varga, A. Schnautigel, K. Karóckai, I. Márton, T. Strodl, P. Kacsuk.
Convert generic gUSE Portal into a science gateway Akos Balasko.
Convert generic gUSE Portal into a science gateway Akos Balasko.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Application specific portlet other portal features and next steps Miklos Kozlovszky.
Tamas Kiss University Of Westminster
Data Bridge Solving diverse data access in scientific applications
Extend user interfaces with new portlets
Peter Kacsuk MTA SZTAKI
JavaServer Faces: The Fundamentals
Introduction to the SHIWA Simulation Platform EGI User Forum,
Presentation transcript:

Developing an Application-Specific Portal with P-GRADE Portal 2.9 Author: Ákos Balaskó, Date :

Content 1.Goal 1Assumptions 2Therminology 2.Basic Idea 3.Concept 1Representations 4.Core portlets 5.Detailed scenario 6.Requirements 7.Example 8.Conclusions

1. Goal A Grid Application Developer has developed a new application that must be offered for other people through a Web-based portal which is highly customised for the application and the user community. People being offered with this service do not know grids but they should be able to execute the grid application with their own custom inputs through the graphical interface of the Web portal. Application specific portal Grid application developer End users

1.1 Assumptions Grid Application Developer – would like to have a Portal customized for the application and end user community – knows how to develop a grid application in P- GRADE or how to port a legacy application to the grid with P-GRADE Grid Portal Developer – He knows the Java language and JSP (Java Server Pages) – He does not need to know the source code of P- GRADE – He and also the end users have user certificates to access the grid

1.2 Terminology Portal Administrator: installs P-GRADE Portal 2.9 Grid Application Developer develops a grid application with P-GRADE Portal 2.9 sends the application to the grid portal developer End Users executes the published application with custom input parameters by creating application instances using the published application as a template Grid Portal Developer Creates new role for the application develops a Gridsphere portlet that fits to the application I/O pattern and the end users’ needs and associate it with the role connects the GUI to P-GRADE Portal using the programming API of P-GRADE Application Specific Module using the Application Specific Module he publishes the grid application and its GUI for end users

2. Basic idea A new module called “Application specific module” has been developed for P-GRADE Portal that ease the creation of Application Specified Portlets – The module provides programming API to control P-GRADE portal applications – The module provides programming API to access P-GRADE Portal services Any kind of Graphical interface can be developed on top of this module – GUI written in JSP, JSTL (Java Servlet Tag Library ) and Java – GUI can be customized for the grid application – GUI can be customized for end users – GUI can benefit from all the P-GRADE Portal services

Application Specific Module 3. Concept Custom user interface (Written in Java, JSP, JSTL) Web browser EGEE and Globus Grid services (gLite WMS, LFC,…; Globus GRAM, …) Client P-GRADE Portal server Grid Services of P-GRADE Portal (workflow management, parameter study management, fault tolerance, …) Additional module for P-GRADE Core P-GRADE Portal You develop it Core ASM interfaces (Written in Java, JSP, JSTL)

3.1 Representations In Gridsphere's (or other portlet-framework's) point of view, the applications will be represented as “Roles”. Portlets that are developed for the end-users to use the applications, will be associated with these roles. One of the core, pre-developed ASM portlet can be used by the end-users to set their roles ( which application will be used) => After setting the roles, the portlets that are associated with the selected ones, will appear dynamically

4. Core Portlets of ASM : Publisher

4. Core Portlets of ASM : Role manager

P-GRADE PORTAL server Application Specific Module Services of P-GRADE Portal (workflow management, parameter study management, fault tolerance, …) 5. Detailed Scenario EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …) Portal Administrator installs the P-GRADE portal 2.9.*. Then installs Application Specific Module Portlet to publish applications Portlet to set Roles Inner services

P-GRADE PORTAL server Application Specific Module Services of P-GRADE Portal (workflow management, parameter study management, fault tolerance, …) 5. Detailed Scenario EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …) Grid Application Developer creates own Grid Application and publish it using the core ASM portlet. Portlet to publish applications Portlet to set Roles Inner services Grid Application

P-GRADE PORTAL server Application Specific Module Services of P-GRADE Portal (workflow management, parameter study management, fault tolerance, …) 5. Detailed Scenario EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …) Grid Portal Developer creates Portlet for the application (mainly one JSP and one eventhandler java class) Then associates it with the role using the core portlet of ASM Portlet to publish applications Portlet to set Roles Inner services Grid Application Portlet for the Application

P-GRADE PORTAL server Application Specific Module Services of P-GRADE Portal (workflow management, parameter study management, fault tolerance, …) 1.5 Detailed Scenario EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …) Finally the end-users creates own application from the published one, parameterizes and executes it using the developed portlet Portlet to publish applications Portlet to set Roles Inner services Grid Application Portlet for the Application Grid Application

6. Requirements for Portal Developer Requirements in general – Knowledge of JSP, JSTL, Java Requirements for developing: – P-GRADE Portal 2.9 source-code – Java Development Kit with a FrameWork (NetBeans or Eclipse)

The API Provides: Listing published applications Listing available instances New Instance creation Input data manipulation – FileUpload – Setting input text Managing instances' lifecycle – Create/Start/Check Status/Delete

7. Example Developed Interface for an Example Application (Sample Workflow)

7. Example

7. Example - JSP interface - overview

ArrayList arrayofinsts = this.app_spec_service.getAPP_SPECInstances(roleName,user.getUserID());

7. Example JSP interface – new instance private App_PublishService publish_service= App_PublishService.getInstance(); ArrayList publishedlist = publish_service.listPublishedWorkflows("Sample_root","Ap_Spec_Sample"); APP_SPECInstance newWork = new APP_SPECInstance(this.roleName,"Sample_root",projectName, projectDescription,base_wf); app_spec_service.addAPP_SPECInstance(this.roleName,user.getUserID(),newWork); this.app_spec_service.generateInstance(this.roleName,user.getUserID(),newWork.getName());

7. Example JSP interface - set input text ((APP_SPECInstance)this.app_spec_service.getAPP_SPECInstance(roleName, usr_id, WorkflowName)).setInputtext("Job0", "0", "input.txt", inputBean.getValue());;

7. Example JSP interface - set input text String WorkflowName = this.app_spec_service.getAPP_SPECInstance(roleName, usr_id, selected_instance).getAPP_SPECWorkflowName(); setInitWorkflow diset=new setInitWorkflow(user.getUserID(),WorkflowName); diset.deleteFiles(); this.app_spec_service.startInstance(user.getUserID(), this.app_spec_service.getAPP_SPECInstance(roleName, usr_id, WorkflowName)); this.app_spec_service.deleteAPP_SPECInstance(roleName,user.getUserID(), this.app_spec_service.getAPP_SPECInstance(roleName,user.getUserID(),instancename));

Conclusions Advantages: – Portal Developers can costumise/create portal interface faster – Provides high level API for P-Grade's services Further informationhttp://sourceforge.net/projects/pgp ortal/ ortal/ – This version has not released yet. – ASM for P-Grade Portal 2.7 can be downloaded at sourceforge

Enjoy it ! Thank you for your attention!