Presentation is loading. Please wait.

Presentation is loading. Please wait.

(Exchange Programme to advance e-Infrastructure Know-How)

Similar presentations


Presentation on theme: "(Exchange Programme to advance e-Infrastructure Know-How)"— Presentation transcript:

1 (Exchange Programme to advance e-Infrastructure Know-How)
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Portlet Develop Riccardo Rotondo Consortium GARR Joint CHAIN/EUMEDGRID-Support/EPIKH School to Science Gateways Amman, Jordan

2 Outline Portlet Introduction; Porlet Life Cycle;
Porlet Method Interface; Action Request Render Request

3 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.

4 Porlet Life Cycle YES NO End of Services?

5 Porltlet Interface Method
Class GenericPortlets { init (PortletConfig); processAction (ActionRequest, ActionResponse); render (RenderRequest, RenderResponse); destroy(); doView (Request, Response); doEdit (Reuqest, Response); doHelp (Request, Response); }

6 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.

7 Action Request Action Request Render Request view.jsp edit.jsp
processAction() doView() Action Request Render Request edit.jsp doEdit() view.jsp processAction()

8 Render Request Render Request view.jsp view2.jsp doView()


Download ppt "(Exchange Programme to advance e-Infrastructure Know-How)"

Similar presentations


Ads by Google