Introduction to portlet development Carla Carrubba INFN Dpt. Of Catania Giuseppina Inserra

Slides:



Advertisements
Similar presentations
Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Advertisements

Struts Portlet Adding an Action Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Short Portlet Programming Guide in P-Grade (Gridsphere) environment G. Hermann.
Developing Grid User Interface Components Portlets, gadgets, etc.
The Developer Perspective Michelle Osmond. Design – Requirements Gathering Sales & Research projects –Prototypes/Demos User group meetings Usability workshops.
IBM WebSphere Portal © 2008 IBM Corporation 1 Deliver an Irresistible User Experience  Provides an interactive user experience  No programming needed,
GridSphere: A Portal Framework Jason Novotny Michael Russell Oliver Wehrens Albert Einstein Institute.
Indianapolis Java User Group JSR-168 Portal Presentation Introduction: Kurt Desserich.
Java Portlets (JSR-168) SSE USTC Qing Ding.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
JSR-168 Portlets and uPortal Matt Young
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Portals and portlets Sean C. Sullivan October 24, 2006 Portland Java Users Group.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
COMS 6125 –Student Presentation Series Web PORTAL Enhanced Information Management Sabyasachi Patjoshi sp2705atColumbiadotEdu
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Hostname-portlet Template Riccardo Rotondo
Indianapolis Java User Group Portal Presentation - Part 2 Introduction: Kurt Desserich.
Portlet Framework: the Liferay way Liferay Service Builder, Portlet MVC Catania, 10/06/2014Riccardo Rotondo.
INDIVIDUAL ACHIEVEMENT. EDUCATIONAL EXCELLENCE. ADMINISTRATIVE INNOVATION. INSTITUTIONAL PERFORMANCE. 1 Develop and Deploy JSR-168 Portlets Presented by:
Introduction to J2EE Architecture Portions by Kunal Mehta.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
1 ® Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 1 Building Portlets with ColdFusion Pete Freitag Foundeo, Inc.
Development of Dynamic SLD and Understanding WCS Using Geo-server Supervisor Prof N.L Sarda Dept. of Computer Science & Engg. IIT-Bombay Bharti M.Tech.
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
Application Specific Module Tutorial Akos Balasko 02/07/
GLOCO – Integrated Corporate Portal Part 2 - Technical Specification Presented by Team 3 1 Team 3 Members: Joyce Torres Kenneth Kittredge Pamela Fisher.
JSR 168 Overview Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Portlets 1.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) The EPIKH Project Riccardo Rotondo
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Expense Tracking System Developed by: Ardhita Maharindra Muskan Regmi Nir Gurung Sudeep Karki Tikaprem Gurung Date: December 05 th, 2008.
By Jonathan Smith. Road Map Introduction Company Information Project Overview Java Web Design and Development Summary Relation to IUP Acknowledgments.
Topics to be covered (ni) Client side validation JSF (free tools as well) Webservices Tell Resources e.g. sites Packaging and deploying web applications.
Grid Initiatives for e-Science virtual communities in Europe and Latin America Riccardo Rotondo
The EPIKH Project Portlet Develop Introduction Riccardo Rotondo Consortium GARR Tutorial per l’integrazione.
The Developing Environment Mr. Riccardo Rotondo Consortium GARR, Rome, Italy
Installation check for the Catania Science Gateway Framework development environment Riccardo Bruno INFN Dpt. Of
Grid Initiatives for e-Science virtual communities in Europe and Latin America Elisa Ingrà
Convert generic gUSE Portal into a science gateway Akos Balasko.
Tutorial on Science Gateways, Roma, Riccardo Rotondo Portlet Framework: the Liferay way Liferay Service Builder, Portlet MVC.
Tutorial on Science Gateways, Roma, Riccardo Rotondo Web Application Development Introduction to application servers, web applications and portlets.
Portlet Development Konrad Rokicki (SAIC) Manav Kher (SemanticBits) Joshua Phillips (SemanticBits) Arch/VCDE F2F November 28, 2008.
(Exchange Programme to advance e-Infrastructure Know-How)
INVESTIGATING A SCIENCE GATEWAY FOR AN AGENT-BASED
Department of Computer Science
Google Web Toolkit Tutorial
Extend user interfaces with new portlets
Sri Vatsav Konreddy CIS 764 FALL 2007
Riccardo Rotondo INFN Catania – Italy
Unit 6-Chapter 2 Struts.
30 Java Applets.
Introduction to Struts
J2EE Application Development
EPIC INFOTECH CONSULTING GROUP
Modern web applications
Understanding and Designing with EJB
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Create a Portlet Project in RAD
Objectives In this lesson you will learn about: Need for servlets
Modern web applications
Secure Web Programming
A technical look at new capabilities and features
CS3220 Web and Internet Programming Introduction to Java Servlets
Presentation transcript:

Introduction to portlet development Carla Carrubba INFN Dpt. Of Catania Giuseppina Inserra INFN Dpt. Of Web course on the development of applications for Catania Science Gateways, 16 July 2013

Outline  Introduction  Portlet  Life cycle  Modes  Files  Integrated Development Enviroment  MyFirst Portlet

Introduction  What is a portlet?  Portlet is pluggable user interface software component that is managed and displayed in a web portal.  Portlet applications, have become a Java standard: the JSR-168 standard defines the Portlet 1.0 specification, and the JSR-286 standard defines the Portlet 2.0 specification.  JSR-168/286 standard portlets should be deployable on any portlet container.

Introduction  Where use a portlet?  In a portlet container. We have chosen the award winning Liferay portal framework which offers a rich, easy-to- use "web 2.0" interface using AJAX and other presentation layer technologies.  Liferay ( is a portal framework designed to be a single web-based environment from which all of a user’s applications can run, and these applications are integrated together in a consistent and systematic way.

Introduction  Why use a portlet? Sc. Gtwy E Sc. Gtwy DSc. Gtwy CSc. Gtwy B Sc. Gtwy A Portlet Portlets

Portlet: Life Cycle

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

Portlet Modes  A portlet works in three different states: View Mode: generates a markup ( a portion of a web page) Edit Mode: allows portlet customisation and setting preferences Help Mode: explains portlet functionalities

Action Request Action Request processAction() Render Request view.jsp doView() edit.jsp doEdit() doHelp() help.jsp view2.jsp

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

Portlet: Data exchange  Interaction between jsp pages and java code JSP page Java code Application Server (Glassfish) <jsp:useBean <jsp:useBean Class Extends GenericPortlet … Class Extends GenericPortlet … JSP uses <form… statements to send parameters to Java code Java code extends class GenericPortlet overriding methods: Init, doView, doHelp, doEdit, processAction Java code uses 2 Classes to exchange data from/to JSPs

Portlet Files (root) Used by ‘ ant ’ to compile and deploy the portlet Define here JSP’s styles JSP image files JavaScript files Portlet JSP pages

Portlet files(WEB-INF) Used to define database and other resources settings Portlet configuration files Portlet configuration files Jar Library directory (local scope) Java source files Tag library descriptors for XML file

Integrated Development Enviroment

Thank you Question?

MyFirst-Portlet Hands on!! Wiki on myFirstPortlet  Download and Deploy myFirst-portlet  View myFirst-portlet on your Liferay bundle  Customize myFirst-portlet in your personal portlet  Test your personal portlet