Presentation is loading. Please wait.

Presentation is loading. Please wait.

Grid Initiatives for e-Science virtual communities in Europe and Latin America Riccardo Rotondo

Similar presentations


Presentation on theme: "Grid Initiatives for e-Science virtual communities in Europe and Latin America Riccardo Rotondo"— Presentation transcript:

1 www.gisela-grid.eu Grid Initiatives for e-Science virtual communities in Europe and Latin America Riccardo Rotondo (riccardo.rotondo@garr.it)riccardo.rotondo@garr.it Consortium GARR Joint School for Application Porting to Science Gateways Bogotá, 05.06.2012 Portlet Develop Introduction Beijing, Asia 4, 12.04.2012 1

2 www.gisela-grid.eu Outline Portlet Introduction; Porlet Life Cycle; Porlet Method Interface; Action Request Render Request Beijing, Asia 4, 12.04.2012 2

3 www.gisela-grid.eu What is Porltet ? Defined in the Java Specification Request (JSR 168/286) A porlet is a web component able to set a frame portion of a web page. Differently from Servlet it needs a Porltlet Container to allow the user to interact with it. Standard Porltet can be deployed in any Porlet Container in case they will use standard libray. Beijing, Asia 4, 12.04.2012 3

4 www.gisela-grid.eu Porlet Life Cycle Beijing, Asia 4, 12.04.2012 4 End of Services? NOYES

5 www.gisela-grid.eu Porltlet Interface Method Class GenericPortlets { init (PortletConfig); processAction (ActionRequest, ActionResponse); render (RenderRequest, RenderResponse); destroy(); doView (Request, Response); doEdit (Reuqest, Response); doHelp (Request, Response); } Beijing, Asia 4, 12.04.2012 5

6 www.gisela-grid.eu Portlet Mode A porltet works in three different states. View Mode: generate a markup ( a portion of a web page); Edit Mode: allow portlet customisation and setting preferences. Help Mode: explains portlet functionalities. Beijing, Asia 4, 12.04.2012 6

7 www.gisela-grid.eu doEdit() Action Request Beijing, Asia 4, 12.04.2012 7 Action Request processAction() Render Request view.jsp doView() edit.jsp Action Request processAction() Render Request edit.jsp view.jsp

8 www.gisela-grid.eu Render Request Beijing, Asia 4, 12.04.2012 8 Render Request view.jsp doView() view2.jsp


Download ppt "Grid Initiatives for e-Science virtual communities in Europe and Latin America Riccardo Rotondo"

Similar presentations


Ads by Google