Portals, Portlets & Liferay Platform



Similar documents
JEE Web Applications Jeff Zhuk

Web Container Components Servlet JSP Tag Libraries

JAVA/J2EE DEVELOPER RESUME

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Customer Bank Account Management System Technical Specification Document

Web Development with the Eclipse Platform

SAP NetWeaver Opens SAP ERP world. Amedeo Prodi SAP Italia

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

HPC Portal Development Platform with E-Business and HPC Portlets

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

MVC pattern in java web programming

Framework Adoption for Java Enterprise Application Development

Glassfish, JAVA EE, Servlets, JSP, EJB

An introduction to creating JSF applications in Rational Application Developer Version 8.0

<Insert Picture Here> Betting Big on JavaServer Faces: Components, Tools, and Tricks

CrownPeak Java Web Hosting. Version 0.20

CloudCERT (Testbed framework to exercise critical infrastructure protection)

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

Developing Web Services with Eclipse

IBM Rational Web Developer for WebSphere Software Version 6.0

In this chapter, we lay the foundation for all our further discussions. We start

Web and Enterprise Applications Developer Track

Tutorial: Building a Web Application with Struts

<Insert Picture Here> Oracle Mobile Enterprise Application Platform Overview

HPC PORTAL DEVELOPMENT PLATFORM

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

The Oracle Fusion Development Platform

GRAD Analytics Advanced price and promotional analysis interface. Reactive UI providing dimensional visibility to marketing analysis.

JBoss Enterprise Middleware. The foundation of your open source middleware reference architecture

Rapid Application Development. and Application Generation Tools. Walter Knesel

Detailed Table of Contents

Java (J2SE & J2EE) and Web Development Training Catalog

Beyond the SOA/BPM frontiers Towards a complete open cooperative environment

<Insert Picture Here> Building a Complex Web Application Using ADF and Siebel

What means extensibility?

Preface. Motivation for this Book

Programma corso di formazione J2EE

Proposal for DSpace Web MVC

How To Develop An Application Developer For An Ubio Websphere Studio 5.1.1

How to make a good Software Requirement Specification(SRS)

EBA Procurement Procedure for the Supply of Website Services 2016: Annex 1 System Architecture Document SYSTEM ARCHITECTURE DOCUMENT

Windows 2000 / NT 4.0 / 95 / 98, MS-DOS, Suse Operating Systems

Web Application Development

Resume of Victor Kachan (Web developer, Java developer)

Japan Communication India Skill Development Center

Web Development Frameworks

Apache Jakarta Tomcat

Executive Summary. Within IT Services, Cosmic Creation spotlights on the following:-

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

Design Approaches of Web Application with Efficient Performance in JAVA

OXAGILE RESUMES SUMMARY OF QUALIFICATIONS TECHNICAL SKILLS SENIOR JAVA SOFTWARE ENGINEER

WebSphere Application Server - Introduction, Monitoring Tools, & Administration

Web Cloud Architecture

Enterprise Application Development In Java with AJAX and ORM

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

IBM WebSphere Server Administration

Introduction to Apache Roller. Matt Raible Apache Roller Committer June 2007

Mastering Tomcat Development

Server-Side Scripting and Web Development. By Susan L. Miertschin

JBoss Enterprise Middleware

Beginning POJOs. From Novice to Professional. Brian Sam-Bodden

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

EDUCATION: Bachelor s degree in Engineering, Jawaharlal Nehru Technology University, India.

BEAWebLogic. Portal. Portlet Development Guide

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

Building Web Applications, Servlets, JSP and JDBC

Managing Complexity in Mobile Application Deployment Using the OSGi Service Platform

WebSphere Portal Server and Web Services Whitepaper

ORM IN WEB PROGRAMMING. Course project report for 6WW Erik Wang

DTS Web Developers Guide

Metalogic Systems: Corporate

Core Java+ J2EE+Struts+Hibernate+Spring

applications. JBoss Enterprise Application Platform

How To Build A Web App

DTWMS Required Software Engineers. 1. Senior Java Programmer (3 Positions) Responsibilities:

Net-WMS FP Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT. Networked Businesses. D.8.1 Networked architecture J2EE compliant

UBS Training Course Catalog

User and Developer Guide

Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat

Is Liferay Right for Your Organization? Seven Things to Consider When Choosing a Portal Platform

Oracle Identity Analytics Architecture. An Oracle White Paper July 2010

WebSphere Server Administration Course

Client-server 3-tier N-tier

NetBeans IDE Field Guide

Architecture Guide Jahia EE v6.1

Why IBM WebSphere Application Server V8.0?

Course Number: IAC-SOFT-WDAD Web Design and Application Development

Web Frameworks. web development done right. Course of Web Technologies A.A. 2010/2011 Valerio Maggio, PhD Student Prof.

Developing XML Solutions with JavaServer Pages Technology

Transcription:

Portals, Portlets & Liferay Platform Repetition: Web Applications and Model View Controller (MVC) Design Pattern Web Applications Frameworks in J2EE world Struts Spring Hibernate Data Service Java Server Pages (JSF) and AJAX further reduce code and improve interaction Starting Liferay Theory and Practice: Liferay SOA Platform Plugins SDK and Extension Environment Portal and Portlets, JSR 168 & 286, Portlet Life Cycle

Current Enterprise Web Applications with Struts and other Frameworks Client Request: App Server Service= mail ASCX or Servlet Controller Action= get ASP/JSP View Multiple Layers: wml html vxml etc. Type= wml Model Components: Service Beans or Actions AJAX EJBs EJBs DataService Frameworks EJBs MVC Design Pattern (J2EE/ASP.Net) Multiple Presentation Factories (HTML/WML/etc.) Struts Spring Hibernate Persistent Data

Knowledge Engine SRS Enterprise Services and Presentation Layers WAP I-mode Integration with other HTML/WML/cHTML/XML Clients systems VoiceXML/SALT/SRS Clients WinCE/TabletPC/J2SE/J2ME/Applets/Apps/JWS Wireless or PDA Clients: 802.11; Bluetooth;WiFi; etc Services Data and Service Valuation Facility management with Geo Info System Instant Share Voice and Video Service Distributed Knowledge Framework Partner Integration Framework Document Handling Services Business Data Integrator Remote Control Service XML Rules Descriptor Natural Language Interpreter Knowledge Engine Service Registry Centers

Common Gateway Interface (CGI) A Mix of Presentation and Business Logics With Generous Use of Resources On the server side Client(s) Submit Form Request Web Browser Http Post/Get VB/Perl/Java/exe Display Page Web Server IIS Apache Print <html> Program that performs business logics, works with data, and generates HTML Response Etc. Database Each client request fires up a program (process) on the server side that performs business logic and sends a dynamic HTML page back to the client

MVC Model 1 Page-Centric Architecture <html> Web Tier Client(s) Submit Form Request Web Browser Http Post/Get Display Page <% a= b + c %> JSPs / ASPs with Embedded Java Beans Other Enterprise Applications to execute Response business logic and provide data access Database Interrelated JSP pages provide presentation, control, and business processing with scriplets and embedded Java beans encouraging spaghetti code in JSP.

MVC Model 2 - Better Separation of Business and Presentation Layers with Struts Action Web Tier Servlet Client(s) Submit Form Controller Other Enterprise Applications Request Web Browser Http Post/Get Display Page Web Tier Model Response JSPs are Struts Action forming The View Service Layer Database Servlet and JSP work together. Servlet and related classes, like Struts Action, control application logic and interact with services while JSP forms the presentation

Struts Frameworks Extends Servlet-Controller in a function-specific Action Uses struts-config.xml file to define all function-actions Collects the data from the web forms into specific ActionForm classes that keep data state between requests Maps each Action to its ActionForm in the strutsconfig.xml Introduces a powerful set of tag libraries Adds processing layers and reduces coding

Struts/Portal DataService Struts MVC Action ActionForm Custom Tags DataService DataAction extends StrutsAction PortletDataAction extends StrutsPortlet Takes care of connections, and data types Portal/Portlets No ORM, You master SQL and store statements in files in the WEB-INF/sql - folder JSR 168 Persistence Layer JSR 286 Easy, no configuration files Render Self-Testing & Diagnostics Layer ProcessAction Service descriptions, rules & scenarios DB

Web Applications with Data Service Frameworks App Sever Struts-config.xml Action-JSP map Web Tier Data Action or PortletDataAction Submit Extract Form business data Client(s) Web Browser Receive the Forward value and map to a JSP Http Display Web Tier Post/Get Page JSPs (Forms) A set of Specific Actions use DataService to execute dynamic queries PooledConnection Create Select Update Insert Delete Database Read SQL and replace variables with field values from a form SQL and provide object processing Statement Resources Data Service Frameworks as complementary for Struts and Portlets: Struts: DataAction extends StrutsAction Portlets: PortletDataAction extends StrutsPortlet Along with DataService provide data access, diagnostics and common semantics

Java Server Faces (JSF): a New Standard for Java-based Web Applications 1. Java APIs to represent UI components, manage state, handle events, and validate input (3 types of actions) 2. Two JSP custom tag libraries: - For (UI) components within a JSP page, and - For wiring components to server-side objects.

JSF is an Official Standard in Java-based Web Applications A single, standard, and productive way to use Java to build HTML-based Web applications Designed not just for coding gurus, but also for other roles: - Web page authors, - Application developers, - Component writers, and tools vendors Examples of vendor offerings: JBoss Portal with JSF and AJAX (free) LifeRay Portal with JSF and AJAX (free) WebLogic Portal with JSF and AJAX (~ $50k per server) IBM Sphere Portal with JSF and AJAX (~ $50k per server)

Liferay Portal SOA platform Service Descriptions Rules Repository Data Access & Reconsiliation Complementary Semantics (DataService) Frameworks: Data, Services, Rules & Scenarios

Basic Components Liferay Platform Source & Library Tomcat 6 Application Server Development Environment: Eclipse & Ant MySQL DB

Plugins SDK and Extension Environment Plugins SDK EXT Environment

Plugins SDK

EXT Environment

Portal and Portlets JSR 286 (Java Specification Request) A Portlet is an application that presents a fragment of a portal page A Portlet Container assembles the portlets into a portal page

Portlet Life-Cycle

Portlet Life Details

Summary/Repetition Web Application Frameworks 1 No MVC = CGI 2? 3? 4? 5?

Summary/Repetition Web Application Frameworks 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3? 4? 5?

Summary/Repetition Web Application Frameworks 1 No MVC = CGI 2 MVC Model 1 Page-Centric Architecture 3 MVC Model 2 - Better Separation of Business and Presentation Layers 4? 5?

Portals, Portlets & Liferay Platform Summary The main Features of the Liferay SOA Platform? What is the difference between Plugins SDK and Extension Environment What is JSR? Portal and Portlets The commonalities and the difference between Portlet and Servlet Portlet Life Cycle