SlideShare une entreprise Scribd logo
1  sur  21
Portal Development with Liferay

   Presented by Ayan Dave @ COJUG
             on 01/13/2009
What is Liferay Portal?
• Liferay Portal is world’s leading open
  source enterprise portal application
• It is built on top of Java 1.5, Open Source
  and Web 2.0 technologies
• Latest stable release is 5.1.2
• JSR-286 compliant – Liferay is in the expert
  group of the jsr


                                             2
What technical features does it
                     provide?
Technologies supported and
used                              Standards
•   AJAX
•   Apache ServiceMix             • AJAX
•   ehcache
•   Groovy                        • iCalendar & Microformat
•   Hibernate
•
•
    ICEfaces
    Java J2EE/JEE
                                  • JSR-168 (Portlets 1.0)
•   jBPM
•   JGroups
                                  • JSR-127 (JSF 1.0)
•   jQuery JavaScript Framework
•   Lucene                        • JSR-170 (Content Rep)
•   MuleSource ESB
•   PHP                           • JSR-286 (Portlet 2.0)*
•   Ruby
•   Seam                          • JSF-314 (JSF 2.0)
•   Spring & AOP
•
•
    Struts & Tiles
    Tapestry
                                  • OpenSearch
•   Velocity


                                                              3
What application features does it
             provide?
• Out of box tools – including wiki, blogs,
  cms, document management
• Communities and Organization Structure
• Customized personal user pages
• SOA Framework
• Easy one click configuration



                                              4
Why use Liferay?
• Need a portal based application
• Need rapid development and / or
  prototyping (Well, most projects do !)
• Need collaboration, e-commerce,
  internationalization




                                           5
“Hmm, Interesting. I need to see
   the application now ….”
“Wow, this has some good features.
So how do I get my hands dirty with
             code …”
Using the plugins sdk
• Plugins sdk can be used to create portlets and
  themes and deploy them to the Liferay portal
• Easiest and fastest way to start building the
  enterprise portal application
• Plugins are hot deployed to tomcat
• Plugins are fully JSR compliant and plugins
  developed outside sdk can also be used
•   ant -Dportlet.name="hello-world" -Dportlet.display.name="Hello World" create
•   ant -Dtheme.name="sample-theme" -Dtheme.display.name="Sample Theme" create
•   ant deploy




                                                                                   8
Creating an extension environment
• An extension environment can be created from
  Liferay portal source
• The ext environment gives us complete control over
  the way the system behaves with ways to
  reconfigure default Liferay behavior
• release.adave.properties
• app.server.adave.properties
• ant clean start build-ext (takes 7-8 mins)
• ant clean deploy (takes 1-2 mins)
• Configure root.xml on tomcat to connect to database
• Run the app …

                                                    9
Service Builder
• Liferay has very good service builder
  utility. We can specify our domain model in
  a service.xml file and run an ant task. The
  utility will create Java files, Hibernate files,
  and service classes
• Service Builder is a RAD tool, we may
  choose to use our own service framework
  and layer instead

                                                 10
“Ahaa, this looks good. So who
         has used it?”
Examples
• http://www.webjunction.org/
• http://www.worldvision.org/
• http://www.liferay.com/web/guest/products/
  portal/stories




                                           12
“What about security and
    performance?”
Security
• Liferay Portal uses industry standard, government-
  grade encryption technologies including advanced
  algorithms such as DES, MD5 and RSA. Liferay
  was benchmarked as among the most secure portal
  platforms using LogicLibrary's Logiscan suite.
• Pluggable Authentication
• Email Verification
• Granular Permissioning
• LDAP Authentication
• Session Management

                                                       14
Performance
• Multi-tier clustering at any combination of multiple tiers
  (presentation, service, business logic, and database)
• Advanced Caching
• Page Caching
• Load Balancing
• Session Replication
• Distributed Cache
• Static Content Export
• *Liferay Portal has been deployed to Amazon EC2
  which uses virtualization and cloud computing
  technologies to scale dynamically to geographically
  specific areas of demand.

                                                          15
“I went to codemash last week and
learned these cool new technologies.
  Is Liferay cool enough? (Gotcha
                !!!)”
Liferay supports Web Services
•   JSON
•   Hessian
•   Burlap
•   REST
•   RMI
•   Spring HTTP
•   WSRP
•   WebDAV
                                    17
Liferay with Groovy, Ruby, PHP
• We can create Groovy, Ruby or PHP
  portlets and use them with Liferay
• Liferay plugins repository has several
  examples of these




                                           18
In the news …
• In 2008 Sun Microsystems and Liferay
  teamed up to develop a common web
  presentation technology




                                         19
Shortcomings
• The ext-impl and ext-service structure – I
  would like to use a web – app – domain
  project structure
• Need more integration with other enterprise
  systems




                                            20
Q&A
Contact: daveayan@gmail.com

Contenu connexe

Tendances

Benefits of using liferay
Benefits of using liferay Benefits of using liferay
Benefits of using liferay
SKALI Group
 

Tendances (20)

Creating Better Customer and Employee Experiences with Liferay Portal and Cra...
Creating Better Customer and Employee Experiences with Liferay Portal and Cra...Creating Better Customer and Employee Experiences with Liferay Portal and Cra...
Creating Better Customer and Employee Experiences with Liferay Portal and Cra...
 
Liferay Configuration and Customization
Liferay Configuration and CustomizationLiferay Configuration and Customization
Liferay Configuration and Customization
 
Liferay on docker
Liferay on dockerLiferay on docker
Liferay on docker
 
Introduction to Portlets Using Liferay Portal
Introduction to Portlets Using Liferay PortalIntroduction to Portlets Using Liferay Portal
Introduction to Portlets Using Liferay Portal
 
Liferay portal – moving beyond content management
Liferay portal – moving beyond content managementLiferay portal – moving beyond content management
Liferay portal – moving beyond content management
 
Liferay portal advantages
Liferay portal advantagesLiferay portal advantages
Liferay portal advantages
 
Liferay v. Drupal: Pound for Pound @ Liferay Symposium 2014 - Findings from t...
Liferay v. Drupal: Pound for Pound @ Liferay Symposium 2014 - Findings from t...Liferay v. Drupal: Pound for Pound @ Liferay Symposium 2014 - Findings from t...
Liferay v. Drupal: Pound for Pound @ Liferay Symposium 2014 - Findings from t...
 
Liferay architecture By Navin Agarwal
Liferay architecture By Navin AgarwalLiferay architecture By Navin Agarwal
Liferay architecture By Navin Agarwal
 
Liferay
LiferayLiferay
Liferay
 
Liferay Portal Customizing to Business Needs
Liferay Portal Customizing to Business NeedsLiferay Portal Customizing to Business Needs
Liferay Portal Customizing to Business Needs
 
[DevDay2018] Liferay DXP – A powerful Enterprise Solution - By Vy Bui, Develo...
[DevDay2018] Liferay DXP – A powerful Enterprise Solution - By Vy Bui, Develo...[DevDay2018] Liferay DXP – A powerful Enterprise Solution - By Vy Bui, Develo...
[DevDay2018] Liferay DXP – A powerful Enterprise Solution - By Vy Bui, Develo...
 
Benefits of using liferay
Benefits of using liferay Benefits of using liferay
Benefits of using liferay
 
Overview of Liferay 7 Technology
Overview of Liferay 7 TechnologyOverview of Liferay 7 Technology
Overview of Liferay 7 Technology
 
Liferay as solution for legacy applications
Liferay as solution for legacy applicationsLiferay as solution for legacy applications
Liferay as solution for legacy applications
 
Portlet Framework: the Liferay way
Portlet Framework: the Liferay wayPortlet Framework: the Liferay way
Portlet Framework: the Liferay way
 
2014 Liferay Roadshow Ambientia Finland
2014  Liferay Roadshow Ambientia Finland2014  Liferay Roadshow Ambientia Finland
2014 Liferay Roadshow Ambientia Finland
 
Liferay Developer Best Practices for a Successful Deployment
Liferay Developer Best Practices for a Successful DeploymentLiferay Developer Best Practices for a Successful Deployment
Liferay Developer Best Practices for a Successful Deployment
 
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
Moved to https://slidr.io/azzazzel/leveraging-osgi-to-create-extensible-plugi...
 
Liferay Italy Symposium 2015 Liferay Mobile SDK and Liferay Screens
Liferay Italy Symposium 2015 Liferay Mobile SDK and Liferay ScreensLiferay Italy Symposium 2015 Liferay Mobile SDK and Liferay Screens
Liferay Italy Symposium 2015 Liferay Mobile SDK and Liferay Screens
 
Introduction to Portlets using Liferay Portal (Part 2)
Introduction to Portlets using Liferay Portal (Part 2)Introduction to Portlets using Liferay Portal (Part 2)
Introduction to Portlets using Liferay Portal (Part 2)
 

En vedette (6)

O que é o Liferay? Porque usar?
O que é o Liferay? Porque usar?O que é o Liferay? Porque usar?
O que é o Liferay? Porque usar?
 
Liferay
Liferay Liferay
Liferay
 
mimacom & Liferay Roadshow : Introduction to Liferay platform
mimacom & Liferay Roadshow : Introduction to Liferay platformmimacom & Liferay Roadshow : Introduction to Liferay platform
mimacom & Liferay Roadshow : Introduction to Liferay platform
 
Arquitectura y Funcionalidades Liferay Portal
Arquitectura y Funcionalidades Liferay PortalArquitectura y Funcionalidades Liferay Portal
Arquitectura y Funcionalidades Liferay Portal
 
Liferay portals in real projects
Liferay portals  in real projectsLiferay portals  in real projects
Liferay portals in real projects
 
Why choose-liferay
Why choose-liferayWhy choose-liferay
Why choose-liferay
 

Similaire à 01/2009 - Portral development with liferay

Benefits of an Open environment with Wakanda
Benefits of an Open environment with WakandaBenefits of an Open environment with Wakanda
Benefits of an Open environment with Wakanda
Alexandre Morgaut
 
Josin Wang Resume
Josin Wang ResumeJosin Wang Resume
Josin Wang Resume
Josin Wang
 
End to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) EuropeEnd to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) Europe
Alexandre Morgaut
 

Similaire à 01/2009 - Portral development with liferay (20)

Apereo OAE - Bootcamp
Apereo OAE - BootcampApereo OAE - Bootcamp
Apereo OAE - Bootcamp
 
Be faster then rabbits
Be faster then rabbitsBe faster then rabbits
Be faster then rabbits
 
Modern Web Framework : Play framework
Modern Web Framework : Play frameworkModern Web Framework : Play framework
Modern Web Framework : Play framework
 
A Platform Approach to Enterprise Content Management with Eclipse Apricot, CM...
A Platform Approach to Enterprise Content Management with Eclipse Apricot, CM...A Platform Approach to Enterprise Content Management with Eclipse Apricot, CM...
A Platform Approach to Enterprise Content Management with Eclipse Apricot, CM...
 
Modern web application development with java ee 7
Modern web application development with java ee 7Modern web application development with java ee 7
Modern web application development with java ee 7
 
Benefits of an Open environment with Wakanda
Benefits of an Open environment with WakandaBenefits of an Open environment with Wakanda
Benefits of an Open environment with Wakanda
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Introducing Apricot, The Eclipse Content Management Platform
Introducing Apricot, The Eclipse Content Management PlatformIntroducing Apricot, The Eclipse Content Management Platform
Introducing Apricot, The Eclipse Content Management Platform
 
UI Dev in Big data world using open source
UI Dev in Big data world using open sourceUI Dev in Big data world using open source
UI Dev in Big data world using open source
 
Restful风格ž„web服务架构
Restful风格ž„web服务架构Restful风格ž„web服务架构
Restful风格ž„web服务架构
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
 
Eclipse Apricot
Eclipse ApricotEclipse Apricot
Eclipse Apricot
 
Lessons Learned from Real-World Deployments of Java EE 7 at JavaOne 2014
Lessons Learned from Real-World Deployments of Java EE 7 at JavaOne 2014Lessons Learned from Real-World Deployments of Java EE 7 at JavaOne 2014
Lessons Learned from Real-World Deployments of Java EE 7 at JavaOne 2014
 
GateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web AppsGateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web Apps
 
Composable Software Architecture with Spring
Composable Software Architecture with SpringComposable Software Architecture with Spring
Composable Software Architecture with Spring
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
 
Modern application development with oracle cloud sangam17
Modern application development with oracle cloud sangam17Modern application development with oracle cloud sangam17
Modern application development with oracle cloud sangam17
 
Josin Wang Resume
Josin Wang ResumeJosin Wang Resume
Josin Wang Resume
 
End to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) EuropeEnd to-end W3C - JS.everywhere(2012) Europe
End to-end W3C - JS.everywhere(2012) Europe
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

01/2009 - Portral development with liferay

  • 1. Portal Development with Liferay Presented by Ayan Dave @ COJUG on 01/13/2009
  • 2. What is Liferay Portal? • Liferay Portal is world’s leading open source enterprise portal application • It is built on top of Java 1.5, Open Source and Web 2.0 technologies • Latest stable release is 5.1.2 • JSR-286 compliant – Liferay is in the expert group of the jsr 2
  • 3. What technical features does it provide? Technologies supported and used Standards • AJAX • Apache ServiceMix • AJAX • ehcache • Groovy • iCalendar & Microformat • Hibernate • • ICEfaces Java J2EE/JEE • JSR-168 (Portlets 1.0) • jBPM • JGroups • JSR-127 (JSF 1.0) • jQuery JavaScript Framework • Lucene • JSR-170 (Content Rep) • MuleSource ESB • PHP • JSR-286 (Portlet 2.0)* • Ruby • Seam • JSF-314 (JSF 2.0) • Spring & AOP • • Struts & Tiles Tapestry • OpenSearch • Velocity 3
  • 4. What application features does it provide? • Out of box tools – including wiki, blogs, cms, document management • Communities and Organization Structure • Customized personal user pages • SOA Framework • Easy one click configuration 4
  • 5. Why use Liferay? • Need a portal based application • Need rapid development and / or prototyping (Well, most projects do !) • Need collaboration, e-commerce, internationalization 5
  • 6. “Hmm, Interesting. I need to see the application now ….”
  • 7. “Wow, this has some good features. So how do I get my hands dirty with code …”
  • 8. Using the plugins sdk • Plugins sdk can be used to create portlets and themes and deploy them to the Liferay portal • Easiest and fastest way to start building the enterprise portal application • Plugins are hot deployed to tomcat • Plugins are fully JSR compliant and plugins developed outside sdk can also be used • ant -Dportlet.name="hello-world" -Dportlet.display.name="Hello World" create • ant -Dtheme.name="sample-theme" -Dtheme.display.name="Sample Theme" create • ant deploy 8
  • 9. Creating an extension environment • An extension environment can be created from Liferay portal source • The ext environment gives us complete control over the way the system behaves with ways to reconfigure default Liferay behavior • release.adave.properties • app.server.adave.properties • ant clean start build-ext (takes 7-8 mins) • ant clean deploy (takes 1-2 mins) • Configure root.xml on tomcat to connect to database • Run the app … 9
  • 10. Service Builder • Liferay has very good service builder utility. We can specify our domain model in a service.xml file and run an ant task. The utility will create Java files, Hibernate files, and service classes • Service Builder is a RAD tool, we may choose to use our own service framework and layer instead 10
  • 11. “Ahaa, this looks good. So who has used it?”
  • 12. Examples • http://www.webjunction.org/ • http://www.worldvision.org/ • http://www.liferay.com/web/guest/products/ portal/stories 12
  • 13. “What about security and performance?”
  • 14. Security • Liferay Portal uses industry standard, government- grade encryption technologies including advanced algorithms such as DES, MD5 and RSA. Liferay was benchmarked as among the most secure portal platforms using LogicLibrary's Logiscan suite. • Pluggable Authentication • Email Verification • Granular Permissioning • LDAP Authentication • Session Management 14
  • 15. Performance • Multi-tier clustering at any combination of multiple tiers (presentation, service, business logic, and database) • Advanced Caching • Page Caching • Load Balancing • Session Replication • Distributed Cache • Static Content Export • *Liferay Portal has been deployed to Amazon EC2 which uses virtualization and cloud computing technologies to scale dynamically to geographically specific areas of demand. 15
  • 16. “I went to codemash last week and learned these cool new technologies. Is Liferay cool enough? (Gotcha !!!)”
  • 17. Liferay supports Web Services • JSON • Hessian • Burlap • REST • RMI • Spring HTTP • WSRP • WebDAV 17
  • 18. Liferay with Groovy, Ruby, PHP • We can create Groovy, Ruby or PHP portlets and use them with Liferay • Liferay plugins repository has several examples of these 18
  • 19. In the news … • In 2008 Sun Microsystems and Liferay teamed up to develop a common web presentation technology 19
  • 20. Shortcomings • The ext-impl and ext-service structure – I would like to use a web – app – domain project structure • Need more integration with other enterprise systems 20