Download presentation
Presentation is loading. Please wait.
Published byMaude Morgan Modified over 6 years ago
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()
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.