Dynamic Data List | Lists
Total Page:16
File Type:pdf, Size:1020Kb
[ 1 ] www.allitebooks.com Liferay Portal 6.2 Enterprise Intranets A practical guide to adopting portal development best practices in an enterprise world Navin Agarwal BIRMINGHAM - MUMBAI www.allitebooks.com Liferay Portal 6.2 Enterprise Intranets Copyright © 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: April 2008 Second edition: May 2010 Third edition: August 2015 Production reference: 1240815 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78216-284-1 www.packtpub.com www.allitebooks.com Credits Author Project Coordinator Navin Agarwal Harshal Ved Reviewers Proofreader Chandan Sharma Safis Editing Kartikeya Sharma Shuyang Zhou Indexer Mariammal Chettiyar Acquisition Editor Kevin Colaco Graphics Abhinash Sahu Content Development Editor Athira Laji Production Coordinator Arvindkumar Gupta Technical Editor Humera Shaikh Cover Work Arvindkumar Gupta Copy Editors Sarang Chari Sonia Mathur www.allitebooks.com About the Author Navin Agarwal has been working extensively with Liferay for more than 5 years. This includes work on Java and J2EE technologies. He has executed projects using Liferay in various domains (including retail, insurance, networking, and medical), providing solutions for collaboration, document management, and web content management systems. He also has extensive experience in integrating Liferay with Alfresco and various third-party tools. He started his career as an intern in portal technology with Sun Microsystems, India. Currently, he is working for IEEE as a senior programmer analyst. He is also an expert in Liferay integration with Ad Server OpenX, different search engines, enterprise content (including video, audio, images, documents, and web content), and other technologies such as Activiti, BPM Intalio, business intelligence, LDAP, and SSO. Besides development and consulting, he has also delivered training programs on Liferay and Alfresco. He has experience in various software development life cycle (SDLC) models and different technologies, including MongoDB and Pentaho BI, and has worked with numerous frameworks, including Spring, Struts, Hibernate, Apache PDFBox, and ICEfaces. In his free time, he enjoys writing blogs and reading technical articles. You can send your queries, if any, directly to his e-mail ID at [email protected]. You can even go through his blog at https://navinagarwalmca.wordpress.com/ to learn more about Liferay Portal. www.allitebooks.com Acknowledgments I would like to thank all my friends and the team members who work with me. I would also like to thank Rajeeva Lochana, Abhishek Saxena, James Falkner, Jorge Ferrer, Juan Fernández, and Ganesh Samarthyam for their valuable support and guidance. A special thanks to my parents and family members for their encouragement and support during the writing of this book. I would also like to thank my lovely wife, Neha Agarwal, for supporting and encouraging me during the entire book-writing process and for her contribution in proofreading the chapters. My sincere thanks and appreciation to the acquisition editor, Kevin Colaco; technical editor, Humera Salim Shaikh; and content development editor, Athira Laji, at Packt Publishing for their valuable support, help, and guidance. My heartfelt thanks to them for filling the communication, visualization, and technical gaps in the book. A very special thanks again to Athira Laji—without her, this book wouldn't have reached the production stage; it was really a joy to work with her. www.allitebooks.com About the Reviewers Chandan Sharma is currently a software programmer analyst at Mroads, a company building a next-generation workforce that leverages technology and awareness, located in the U.S. At Mroads, his primary responsibility is designing and implementing solutions that use Liferay, Spring Framework, and Hibernate for portals and RESTful/SOAP web services. Previously, he worked as a senior consultant for CIGNEX Datamatics and TransIT mPower Labs. He also likes to coach people. Throughout his career, he has had hands-on experience in Liferay with Spring Framework, Hibernate, and Liferay integration with other applications, the cloud, and so on. He runs his own technical blog at http://codingloading.com. I would like to thank Packt Publishing for the opportunity to be a technical reviewer for this book. I would also like to thank Gaurav Vaish (the author of Getting Started with NoSQL), who inspired me to get into reviewing books. And I would like to thank Meenu Gupta, who is like a sister to me, for her support and encouragement in reviewing this book. I would also like to thank my friends ☺ group (Monalisa Sahu, Manoj Patro, and Debasis Padhi) for their encouragement and support when I do new things in my life. Special thanks to my best friend for helping me in reviewing this book. www.allitebooks.com Kartikeya Sharma (Kartik) has over 10 years of experience in application architecture, design, development, implementation, and maintenance and the administration of portals and content management systems. He is currently working as a technical architect at Datamatics. His areas of expertise include Java/J2EE, Spring, SOAP, REST, Pega, and various content management and portal technologies, such as Liferay, WebLogic, WebCenter, Vignette, Documentum, SharePoint, and Alfresco. He can be reached via LinkedIn at https://www.linkedin.com/in/kartiksharma84. You can find his blog about various ECM and Portal technologies at http://www.ecmpexperts.com. I would like to thank my wife, Punima Sharma, for her support, understanding, and patience during the long hours of work. I would also like to thank my parents and my manager, Aashish Thakur, for their constant encouragement. Shuyang Zhou is a software architect focused on performance optimization and infrastructure development. Since joining Liferay in 2009, he has significantly improved Liferay Portal's performance and developed a high-performance benchmark toolset for performance tuning and monitoring. He has developed Liferay Portal's AOP, caching, and cluster infrastructure. He has also developed a set of low-level, high-performance concurrency tools and IO utilities, portlet container separation, and the portal resiliency feature that allows portlets to be executed from separate JVMs to achieve physical process isolation for better stability and better hardware resource utilization on high-end servers. Recently, he has focused on Liferay Portal Continuous Integration testing automation on machines on a large scale. Shuyang holds a bachelor's degree in electronic and information engineering and a master's degree in communications and information systems from Dalian University of Technology. www.allitebooks.com www.PacktPub.com Support files, eBooks, discount offers, and more For support files and downloads related to your book, please visit www.PacktPub.com. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. TM https://www2.packtpub.com/books/subscription/packtlib Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books. Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print, and bookmark content • On demand and accessible via a web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access. www.allitebooks.com Table of Contents Preface xv Chapter 1: Introducing Liferay for Your Intranet 1 Liferay Portal makes life easy 1 Hosted discussions 1 Collaborative documents using wikis 2 Team and individual blogs 2 Shared calendars 3 Document management – CMS 3 Web content management – WCM 3 Personalization and internalization 4 Workflow, staging, scheduling, and publishing 4 Social networks and Social Office 5 Liferay Sync and Marketplace 5 More features 6 Everything in one place 6 Introducing Palm Tree Publications 7 Introducing Liferay Portal's architecture and framework 9 Service-oriented architecture 10 Understanding Enterprise Service Bus 10 Understanding