Sri Vatsav Konreddy CIS 764 FALL 2007

Slides:



Advertisements
Similar presentations
The Developer Perspective Michelle Osmond. Design – Requirements Gathering Sales & Research projects –Prototypes/Demos User group meetings Usability workshops.
Advertisements

MC365 Application Servers: Servlets. Today We Will Cover: What a servlet is The HTTPServlet and some of its more important methods How to configure the.
Wesley Budziwojski Senior Architect Sun ONE Portal Server Web Services for Remote Portlets, WSRP Jun/2003.
Indianapolis Java User Group JSR-168 Portal Presentation Introduction: Kurt Desserich.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Java Portlets (JSR-168) SSE USTC Qing Ding.
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.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Sakai Architecture Charles Severance / Glenn Golden University of Michigan.
11. Java-Based Web: JSP, JSF. 2 Motto: Rule 1: Our client is always right Rule 2: If you think our client is wrong, see Rule 1. - Anonymous.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Indianapolis Java User Group Portal Presentation - Part 2 Introduction: Kurt Desserich.
Presenter Name Facility Name Rob Allan Portal Tutorial 2 nd Generation Portals Second-generation Grid portals are being developed to overcome the limitations.
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.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Rendering Contexts and Components What is a uPortal3 context ? –Defines all aspects of a traditional portal instance Design, navigation, profiles Parameter.
Portlets in uPortal uPortal Domain Objects Portlet Application Deployment Portlet Deployment –Information from portlet.xml file Portlet Application Definition.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
CHEF II / Sakai Architecture. CHEF II Changes uPortal replaces Jetspeed –jsr 168 portlet, servlet compliant Spring replaces Turbine component framework.
1 ® Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 1 Building Portlets with ColdFusion Pete Freitag Foundeo, Inc.
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
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.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
@2008 Huynh Ngoc Tin Chapter #2 JAVA SERVLET PRGRAMMING.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) The EPIKH Project Riccardo Rotondo
Servlet Filters JAVA Enterprise Edition. Servlet Filters Servlet Filters are Java classes that can be used in Servlet Programming for the following purposes:
Java Enterprise Edition Programming Page 1 of 9Configuring Servlets Web Application Context Name  In multiple web applications, a “context name” is used.
UPortal and CHEF Charles Severance University of Michigan
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Portals: Architecture & Best Practices Greg Hinkle February 2005.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
The Jetspeed Portal Bluesunrise.com and The Apache Software Foundation January 28, 2002 From
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
EJB Enterprise Java Beans JAVA Enterprise Edition
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.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
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.
Speaker Name Speaker Title Speaker Title Oracle Corporation Olivier Le Diouris Principal Product Manager Oracle Corporation Building Servlet and JSP Applications.
Enterprise Java Beans. Contents  Understanding EJBs  Practice Section.
Introduction to portlet development Carla Carrubba INFN Dpt. Of Catania Giuseppina Inserra
Chapter 13 Web Application Infrastructure
Portlet specification
Portals: Background, Development & Conversion
(Exchange Programme to advance e-Infrastructure Know-How)
Overall Architecture and Component Model
Pre-assessment Questions
Knowledge Byte In this section, you will learn about:
uPortal: architecture and features
J2EE Application Development
Distributed System Using Java 2 Enterprise Edition (J2EE)
Understanding and Designing with EJB
Services-based Systems Architecture, Design and Implementation
Introduction to JBoss application server
More Model Elements.
Objectives In this lesson you will learn about: Need for servlets
How Do You Implement Them?
A technical look at new capabilities and features
J2EE Lecture 1:Servlet and JSP
Java Chapter 7 (Estifanos Tilahun Mihret--Tech with Estif)
Presentation transcript:

Sri Vatsav Konreddy CIS 764 FALL 2007 Portlets Sri Vatsav Konreddy CIS 764 FALL 2007

Contents What is a Portlet Comparison of Servlet and Portlet Portlet Architecture Portlet Lifecycle Portlet Features Portlet Modes Portlet Window States Portlet Container How to develop and deploy a Portlet

What is a Portlet Web component based on Java Technology. A small window on a portal page. Pluggable user interface Components.

Example

Elements of a portal page

Comparison: Servlet and Portlet Similarities: Both are Java technology based web components Life-cycle is managed by a specialized container Both generate dynamic content Both interact with web client via a request/response paradigm Request and Response are similar

Comparison (ctd..) Differences: Servlets can provide complete web pages, whereas Portlets only provide fragments. Portlets only generate markup fragments, not complete documents. Portlets are not directly bound to a URL Web clients interact with portlets through a portal system Multiple instances of a single portlet can be placed onto the same page

Comparison

Architecture

Portlet Life Cycle

Portlet Features Persistence User Profile Attributes Portal context Security Portlet URL

Portlet Modes View Help Edit

Portlet window states Normal Maximized Minimized

Portlet Container Portlets are deployed in a Portlet container. The container can: Provides runtime environment for Portlets Manage life cycle of Portlets Provide persistent storage for storing Portlet preferences Cache the Portlets Receive requests from the Portal to execute requests on the Portlet Not responsible for contents aggregation

Developing & Deploying Portlet Write a Portlet Implement Portlet Interface Implement important methods init(), processAction(), doView(), doEdit(), doHelp(),render(), destroy() Compile

Developing & Deploying Portlet (ctd..) Configure Portlet Application and add the Portlet(s) to it Deployment descriptor – portlet.xml Package the classes and deployment descriptor within a .war Portal servers: Pluto, Liferay, Jboss Portal, Exo (JSR 168)

References http://www.javaworld.com/javaworld/jw-08-2003/jw- 0801-portlet.html?page=1 Sun JSR 168 Portlet: http://developers.sun.com/portalserver/reference/tech art/jsr168/pb_whitepaper.pdf Sang Shin article: http://www.javapassion.com/j2eeadvanced/WSRP4.p df