Liferay 6 and vaadin portlets

Post on 12-Nov-2014

14,370 views 2 download

description

Liferay 6 и портлеты Vaadin. Введение и демонстрация Liferay IDE и портлеты на базе Vaadin.Sami Ekblad, VaadinVaadin Developer Meetup, Санкт-Петербург, 24 января 2011 года

transcript

vaadin.com / sami

Liferay 6 and Vaadin

Liferay 6 Portal

Liferay 6 Introduction

CE: Community Edition (LGPL 2.1)EE: Enterprise Edition (Commercial OS)

Runs on Java EE server: Tomcat, JBoss, ...

A Java Portal(JSR 286 Portlet Specification 2.0)

vaadin portlet

add new ones

web content

Application Platform

Vaadin Apps in Liferay

Easiest way to develop rich portlets

Looks like Liferay(theme since Vaadin 6.4.6)

Vaadin is part of Liferay 6 distribution

Getting started

What you need

Liferay Plugin SDK and Liferay IDE

Eclipse IDE (Helios)

Liferay 6 Portal installation(Using Tomcat bundle)

Liferay IDE

Server control

Project Templates

Dependency Management

Liferay IDE

http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+IDE

Relies on Liferay Plugin SDK(command-line tools)

Plugin for Eclipse (Ganymede, Helios)

EclipseDevelopment Setup

Configure Server

Liferay Plugin SDK

Create a project(currently with Liferay IDE 1.1)

New Portlet Plugin Project

Vaadin Dependencies

<portlet-class>com.vaadin.terminal.gwt.server.ApplicationPortlet2</portlet-class>

<init-param><name>application</name><value>org.vaadin.sample.MyLiferayTestApp</value>

</init-param>

portlet.xml

Create a project(the upcoming Liferay IDE 1.5)

Integrated Vaadin Wizards

Vaadin Control Panel

Vaadin Widgetset Management

Must be compiled when installing new add-ons

Contains all the precompiled widgets(can be split for lazy loading)

Widgetset is the client-part of Vaadin (using Google Web Toolkit (GWT))

Add-ons

Installation

Widgetsetcompilation

Demo:Liferay IDE and Vaadin

What you need

Liferay Plugin SDK and Liferay IDE

Eclipse IDE (Helios)

Liferay 6 Portal installation(Using Tomcat bundle)

...

Summary

Liferay IDE 1.5 makes it easier

Java coding only, Optimize the development cycle

Rich portlets for Liferay (and other portals)

Vaadin Mail Portlet

Vaadin Mail Portlet

Part of Liferay 6 CE / EE distribution

UI based on Vaadin(open source as usual)

Full featured mail application for Liferay

Roadmap

Vaadin and Liferay

Liferay UI Development Refcard

New features for Vaadin Control Panel and Liferay IDE 1.5 (Jan 2011)

The latest Liferay 6 includes the latest Vaadin library and themes

Where to continue?

vaadin.com/sami/liferay

(or just google it)

Free a

s

PDF

Book ofVaadin

Chapter 11.8. Portal Integration

Free a

s

PDF

Vaadin 6.4 Edition

US $24.95

Vaadin is an open source Java framework for building modern web applications that look great, perform well and make you and

your users happy. http://vaadin.com/

2675387895299

ISBN 978-952-92-6753-890000