Indianapolis Java User Group JSR-168 Portal Presentation Introduction: Kurt Desserich.

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Overview of The Java Platform Solution for E-Business Applications : JSP, Servlet and EJB.
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
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
Introduction to Servlet & JSP
Portals and portlets Sean C. Sullivan October 24, 2006 Portland Java Users Group.
Java Servlets. What Are Servlets? Basically, a java program that runs on the server Basically, a java program that runs on the server Creates dynamic.
COMS 6125 –Student Presentation Series Web PORTAL Enhanced Information Management Sabyasachi Patjoshi sp2705atColumbiadotEdu
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Creation of hybrid portlet application for file download using IBM Worklight and IBM Rational Application Developer v9 Gaurav Bhattacharjee Lakshmi Priya.
UNIT-V The MVC architecture and Struts Framework.
1 CHAPTER 1 OVERVIEW of JDEVELOPER. 2 Overview of JDeveloper Oracle’s JDeveloper 10g (JDeveloper) is an integrated development environment for Java programming.
IBM WebSphere Architectural Overview. Content Management ● Controlled by Java – Servlet – Enterprise Java Beans (EJB) – Java Server Pages (JSP) ● Base.
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.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to Oracle Forms Developer and Oracle Forms Services.
Jaeki Song ISQS6337 JAVA Lecture 16 Other Issues in Java.
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:
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
第十四章 J2EE 入门 Introduction What is J2EE ?
Portal & Interoperability -share ESG Portlets to support EIE through JSR 1/268 & WSRP Chaowei Yang, Zhenlong Li, Wenwen Li Joint Center for Intelligent.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
23:48:11Service Oriented Cyberinfrastructure Lab, Grid Portals Fugang Wang April 29
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.
Webcommerce Computer Networks Webcommerce by Linnea Reppa Douglas Martindale Lev Shalevich.
Peter Laird. | 1 Building Dynamic Google Gadgets in Java Peter Laird Managing Architect WebLogic Portal BEA Systems.
ISMT E-200: Trends in Enterprise Information Systems Project: GLOCO – Integrated Corporate Portal Part 2 Technical Specification Team Members: Joyce Torres.
Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
Application Specific Module Tutorial Akos Balasko 02/07/
ISMT E-200: Trends in Enterprise Information Systems Project: GLOCO – Integrated Corporate Portal Part 2 Technical Specification Team Members: Joyce Torres.
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
Markus Hjort Reaktor Innovations Java Web Development T WWW-palvelun HUT
1 Introduction to Servlets. Topics Web Applications and the Java Server. HTTP protocol. Servlets 2.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
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.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
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.
® IBM Software Group © 2003 IBM Corporation IBM WebSphere Studio V5.1.2: Making Java Development Easier May 2004.
Apache Struts Technology A MVC Framework for Java 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.
Business Applications– Using Java _____ Presented by Priya Saha.
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.
Speaker Name Speaker Title Speaker Title Oracle Corporation Olivier Le Diouris Principal Product Manager Oracle Corporation Building Servlet and JSP Applications.
Introduction to portlet development Carla Carrubba INFN Dpt. Of Catania Giuseppina Inserra
Introduction to Oracle Forms Developer and Oracle Forms Services
Portals: Background, Development & Conversion
(Exchange Programme to advance e-Infrastructure Know-How)
Sri Vatsav Konreddy CIS 764 FALL 2007
Building an Integrable XBRL Portal Daniel Hamm German Central Bank
Distributed System Using Java 2 Enterprise Edition (J2EE)
Objectives In this lesson you will learn about: Need for servlets
JavaServer Faces: The Fundamentals
How Do You Implement Them?
J2EE Lecture 1:Servlet and JSP
Presentation transcript:

Indianapolis Java User Group JSR-168 Portal Presentation Introduction: Kurt Desserich

Agenda 1. Portal & Portlets Defined – Business Case – Basic Portal Page and Creation 2. JSR-168 – Portlet Container – Portlet Servlet Comparison – Implementations 3. Liferay Portal Overview – LifeRay Intro – LifeRay Design 4. Portlets – Sample Code – Demo

1. Portal Definition A portal is a Web-based application that provides personalization, single sign-on, and content aggregation from different sources, and hosts the presentation layer of information systems. Aggregation is the process of integrating content from different sources within a Webpage. A portal may have sophisticated personalization features to provide custom content to users. Portal pages may have different sets of portlets creating different content for users. – portlet.html portlet.html

1.1 Then what is a Portlet? Portlets are Java-based Web components, managed by a portlet container, that process requests and generate dynamic content. Portals use portlets as pluggable user interface components that provide a presentation layer to information systems. – portlet.html portlet.html

1.2 Why Create A Portal Solution? To solve specific business need usually associated with content aggregation. – I.E. Establish customized portals for different audiences associated to a business or business need (employees, CMR, investors, business partners, and customers ) Resulting in: – Revenue benefits – Operational cost reductions – Increased employee productivity – Unification of applications

1.3 Portal Page and Creation Client Device Portal Page Portlet Window Portlet Fragment Portlet Modes & Controls Portal Server Portlet A Portlet B Portlet C Portlet Container Portlet D

2. JSR-168 Basic Goals: Define the runtime environment, or the portlet container, for portlets Define the API between portlet container and portlets Provide mechanisms to store transient and persistent data for portlets Provide a mechanism that allows portlets to include servlets and JSP (JavaServer Pages) Define a packaging of portlets to allow easy deployment Run JSR 168 portlets as remote portlets using the Web Services for Remote Portlets (WSRP) protocol ENABLE INTEROPERABILITY AMONG PORTLETS AND PORTALS

2.1 Portlet Container A portlet container provides a runtime environment for portlets implemented according to the JSR 168 Portlet API. The portlet container is not a stand-alone container like the servlet container; instead it is implemented as a thin layer on top of the servlet container and reuses the functionality provided by the servlet container.

2.2 Portal Engine/Server Allows portlets to be integrated in the portal

Portal Server 2.3 Portlets Within Portlet Container Client Web Server Portlet/Servlet Container Portal Engine Portlet 1 Portlet 2 Portlet n Portal API Applications Information Feeds Structured & Unstructured Data

2.4 Portlet -- Servlet Both… – Are java components and end in “let” – Have container managed life-cycles – Generate dynamic content Only Portlet – Generate HTML fragments – Have container managed Window states and modes: Normal/Maximized/Minimized States, View/Edit/Help Modes – Are not bound to a URL And Only Servlets – Have access to the URL of the client requests

2.5 Reference Implementation Pluto offers developers a working example platform from which they can test their portlets, however, Pluto’s simple portal component is built only on the portlet container and only provides a minimum Portal implementation.

2.6 Sophisticated/Commercial Implementations Enterprise Information Portals (EIPs) concentrate on the portal itself more than just the portlet container, and considers requirements from other groups and areas:

3. Liferay Overview LifeRay is an open-source enterprise portal J2EE solution which relies on patterns and EJBs built on the Struts platform for an underlying framework. LifeRay has support for:Struts – All of the major databases – The main J2EE application servers (JBoss/Jetty, JBoss/TomCat, Oracle AS, Pramati, WebLogic, Orion, etc.) – Single sign-on capabilities – Multiple languages – Searching via Apache LuceneLucene

3.1 LifeRay Architecture Overview Users can access the portal from traditional and wireless devices. Developers can access the portal from the exposed APIs via SOAP, RMI, and our custom tunneling classes.

3.2 LifeRay & Struts

4.0 Portlet Interface and LifeCycle Creation of Portlet – Loading of the classes – Invocation of the constructor – init() Processing Requests – render(RenderRequest, RenderResponse) – processAction(ActionRequest, ActionResponse) Death of the Portlet – destroy() > ActionRequest > RenderRequest > PortletRequest > ActionResponse > RenderResponse > PortletResponse

4.1 Know Your GenericPortlet Base class for Portlet Specification Implements Portlet and PortletConfig interfaces of the portlet API Key Methods: – doDispatch() – doView() – doHelp() – doEdit()

4.2 Writing Content via RenderResponse Portlets can produce content using the RenderResponse writer or it may delegate content generation to a servlet or jsp – setContentType(String type) – getResponseContentType() – getResponseContentTypes()

4.3 HelloWorldPortlet package com.liferay.portlet.helloworld; import java.io.IOException; import javax.portlet.*; public class HelloWorldPortlet extends GenericPortlet { public void doView(RenderRequest req, RenderResponse res) throws IOException, PortletException { res.setContentType(“text/html”); res.getWriter().print("Hello World, I am a Portlet in a Portal Framework!"); } public void processAction(ActionRequest req, ActionResponse res) throws IOException, PortletException { }

4.5 Demo Introduction LifeRay – Portal – Site Explanation – Development

Thank you! More Information: JavaBoutique Review Of Jetspeed, jPorta, Liferay and RedHat CCM (formerly ArsDigita) – JavaWorld Introducing the Portlet Specification – / / Sean Goggins presents Liferay to the St. Louis JUG. –