Liferay and soa platform

20
Liferay Portal and Red Hat SOA Platform working together Henri Sora; Director, Technology & S Jouko Pirinen; Senior Software Deve 24.4.2012

description

 

Transcript of Liferay and soa platform

Page 1: Liferay and soa platform

Liferay Portaland

Red Hat SOA Platform working together

Henri Sora; Director, Technology & ServicesJouko Pirinen; Senior Software Developer24.4.2012

Page 2: Liferay and soa platform

Two extranets

Project one- One integrated dashboard to use a ERP and multiple CRM systems together- A business critical tool for day to day operations of the client organizations

Project two- One large extranet

- Offer calculation - Project information - Construction material acquisition

- Interfaces two external applications - Two-way SMS and e-mail applications

Page 3: Liferay and soa platform

Business Problems & Project ScopeProject one- Ambientia replaced an older system that did not perform well (no knowhow, no maintenance, aged architecture) -The client organisations needed to integrate 1) order and 2) problem tickets

Project two- Ambientia replaced manual work but the actual project was green field development - The client wanted to 1) boost sales and to 2) guide product selection of its sales force

Page 4: Liferay and soa platform

Technology Liferay Portal • Three-tier application using

Liferay as infrastructure

JBoss SOA Platform • Integration interfaces • Asynchronous queues

Red Hat Enterprise Linux • MySQL • Linux platform in overall

Vmware VSphere • Virtual Infrastructure

Page 5: Liferay and soa platform

Application Architecture

Liferay & portlets - Full MVC architecture of the actual application

- Model: Service Builder - View: JSP & Alloy UI - Controller: Spring controller

- Liferay’s organization features Red Hat SOA Platform - Integration to external systems- Client specific API’s for certain integrations- Handles synchronous and asynchronous queues -

Page 6: Liferay and soa platform

Project 1, Architecture

Page 7: Liferay and soa platform

Service Architecture 1

https://super.ambientia.fi/display/FNE/Palvelun+arkkitehtuuri

Page 8: Liferay and soa platform

Service Architecture 1

https://super.ambientia.fi/display/FNE/Palvelun+arkkitehtuuri

Actual application logic

Page 9: Liferay and soa platform

Service Architecture 1

https://super.ambientia.fi/display/FNE/Palvelun+arkkitehtuuri

Synchronous Call

Asynchronous off-loading

Page 10: Liferay and soa platform

Service Architecture 1

https://super.ambientia.fi/display/FNE/Palvelun+arkkitehtuuri

W

as S

OAP b

ut th

e

prot

ocol

cou

ld b

e al

mos

t

anyt

ing

Page 11: Liferay and soa platform

Project 2, Architecture

Page 12: Liferay and soa platform

Service two

Uses similar architecture as previous project also

- queues - SOAP - SMTP- IMAP

Integration targets

- SMS - E-mail - ERP - CRM

Page 13: Liferay and soa platform

JBoss SOA Platform tools used

- JBoss Developer Studio - Content Based Routing- JBoss messaging

- JMS- Asynchronous and Synchronous model

- Smooks Transformations - JBoss Web Service API- Some custom made actions

Page 14: Liferay and soa platform

Liferay & Spring tools used

Liferay- Liferay 6.0- Portlets- JSP & Alloy UI & Velocity- Service builder

- Domain + service layer

- Liferay permission checking utilities (users, roles, inheritance) - Organization methods

Spring - Spring Portlet MVC- Injections - Controllers- Multipart (file

upload) support- Handler mappings- Parameter Handler

Mapping- Dependency

Injections

Page 15: Liferay and soa platform

The Combination

Page 16: Liferay and soa platform

Benefits of the combination

1. Loose coupling with the app and the ESB lead to larger development team, and therefore, faster development

2. No loss of information while having downtime

3. Client specific interfaces that are unified at ESB

4. New interfaces and protocols are almost trivial

5. Asynchronous queues and handle peaks

Page 17: Liferay and soa platform

Problems during the projects

Project Management - Change management - UI models compared to IKIWISI - Interfacing systems that were not ready at

the time… Technology- UI – not the technologies itself - JavaScript and browser compatibility - Complex queries with Service Builder

smaller chucks combined to end results

Page 18: Liferay and soa platform

Conclusion

- Both clients are still active. - Both systems can be quite easily

maintained and changed because of the architecture

- The systems can handle variant load without performance problems

- JBoss SOA Platform and Liferay prevented us to write infrastructure code

- We are positive about the tools and eager to work with them in the future also.

Page 19: Liferay and soa platform

Questions? Twitter: @henrisora

Page 20: Liferay and soa platform

ThanksTwitter: @henrisora