2. Outline
Scenario
Use Case
Portlet Develop
Hostname porltlet
Catania Grid Engine API
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
3. Scenario
JSR 168/268
JSR 168/268
JSR 168/268
JSR 168/268
Catania Science Gateway Framework
GRID
CLOUD
Local
Riccardo Rotondo
Tutorial on
Cluster Science Gateways, Roma, 04.06.2013
4. Web enviroment
Application Server (Glassfish)
Web application working as Portlet Container
JSR 168/268
JSR 168/268
(Liferay)
JSR 168/268
JSR 168/268
Portlet (a custom application designed under
users needs)
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
5. What is an application server?
A software framework designed to host
applications running in a web environment
Most of them contains a service layer model
A set of API is available for the developers to
access the application server’s functionalities
As long as the management of the
environment is demanded to the application
server, developers can focus on the business
logic.
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
6. Most popular application servers
http://plumbr.eu/blog/most-popular-application-servers
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
7. What is a web application?
An application accessed over a network
Analogy with “common” applications
User interact with them through a web-browser
A web applications can offer thousands of
services: Liferay is a web-application
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
8. Liferay (www.liferay.com)
Highly-configurable, scalable, open source
portal framework;
Compatible with JSR 168/286 standards
and based on modern web 2.0
technologies;
Liferay services currently used:
Portal;
CMS & WCM;
Collaboration and “social” software
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
10. 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 Portlet can be deployed in any Porlet
Container in case they will use standard libray.
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
11. Generic Porlets Life Cycle
YES
NO
End of
Services?
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013
13. 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.
Riccardo Rotondo
Tutorial on Science Gateways, Roma, 04.06.2013