GateIn Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • All you need to develop and manage a GateIn portal and all available portlets
  • Thorough detail on the internal architecture needed to use the components
  • Manage portal resources on a command line; choose the authentication system, configure users and groups and migrate portlets from other portals

Book Details

Language : English
Paperback : 392 pages [ 235mm x 191mm ]
Release Date : November 2012
ISBN : 1849518629
ISBN 13 : 9781849518628
Author(s) : Ken Finnigan, Luca Stancapiano, Piergiorgio Lucidi
Topics and Technologies : All Books, Web Development, Cookbooks, JBoss, Open Source

Table of Contents

Chapter 1: Getting Started
Chapter 2: Managing Portal Contents Using the GUI
Chapter 3: Managing Portal Contents Using XML
Chapter 4: Managing Portal Users
Chapter 5: Securing Portal Contents
Chapter 6: Developing Portlets
Chapter 7: Developing Using Components API
Chapter 8: Migrating from Existing Portals
Chapter 9: Managing Gadgets
Chapter 10: Frameworks in a Portal
Chapter 11: Managing Portal Resources with the Management Component
Chapter 12: Managing Documents Using External ECM Systems
  • Chapter 1: Getting Started
    • Introduction
    • Installing GateIn from a binary package
    • Building and installing GateIn from the source code
    • Configuring the content storage
    • Configuring GateIn to send e-mails
    • Running GateIn on your machine
    • Setting up the development environment
      • Chapter 3: Managing Portal Contents Using XML
        • Introduction
        • Managing portals using XML
        • Managing portal pages using XML
        • Managing registered portlets using XML
        • Managing the navigation tree using XML
        • Wrapping it all up in a separate EAR
        • Chapter 4: Managing Portal Users
          • Introduction
          • Managing users
          • Managing groups
          • Assigning users to groups
          • Integrating with an existing LDAP store
          • Setting an automatic membership after user creation
          • Adding a custom field in the user profile
          • Integrating with Web SSO
          • Integrating with SPNEGO for Desktop SSO
          • Chapter 5: Securing Portal Contents
            • Introduction
            • Securing portals
            • Securing with JBoss AS
            • Securing with Tomcat
            • Choosing the JAAS modules
            • Creating a login page
            • Synchronizing users
            • Securing pages
            • Securing categories
            • Securing applications
            • Securing portlets
            • Chapter 6: Developing Portlets
              • Introduction
              • Creating a portlet with the Portlet 2.0 Specification
              • Using an action to pass form parameters
              • Using the user locale to localize portlet content
              • Communicating between portlets using Public Render Parameters
              • Communicating between portlets using events
              • Chapter 7: Developing Using Components API
                • Introduction
                • Getting started with WebUI
                • Creating views
                • Handling different skins in a portlet
                • Adding the JavaScript resources to the portlet
                • Handling different locales in a portlet
                  • Chapter 9: Managing Gadgets
                    • Introduction
                    • Importing existing gadgets
                    • Removing gadgets
                    • Creating gadgets
                    • Changing the category of a gadget
                    • Resizing gadgets
                    • Making the gadget a portlet
                    • Setting user preferences

                          Ken Finnigan

                          Ken Finnigan is a Senior Software Engineer at Red Hat, technical lead of the JBoss Portlet Bridge project, a member of the GateIn development team, and the founder of the Arquillian Portal Extension. As a consultant and engineer he has over 15 years development experience with enterprises throughout the world using technologies that include Java EE frameworks (JSF, CDI, EJB3, Hibernate, and Seam), Java testing frameworks (Arquillian, JUnit, and TestNG), Maven, Ant, and a variety of others. In his spare time, he is a committer for Apache DeltaSpike, ShrinkWrap, and Arquillian. He is also the author of GateIn Cookbook, Packt Publishing.

                          Luca Stancapiano

                          Luca Stancapiano is a Consultant Expert in Java EE technologies since 2000. He started contributing to the JBoss Community at an early stage in his career. He contributed initially to Hibernate, JBoss AS, JBoss Portal, and JBoss Cache, and more recently to projects such as Seam, GateIn, ExoJCR, ModeShape, and Infinispan. In 2005 he became a JBoss Advanced Consultant, and in 2006 he became the Project Leader of JBoss Forums. In the Apache Community, he has contributed to Lucene and ManifoldCF, improving his knowledge on the search engines as a result. He has also contributed for the OSGi Alliance, making products compliant with OSGi. He collaborates with Sourcesense as an open source ECM consultant and trainer.

                          Piergiorgio Lucidi

                          Piergiorgio Lucidi is an open source ECM Specialist at Sourcesense. Sourcesense is a European open source systems integrator providing consultancy, support, and services around key open source technologies. He works as Software Engineer, and he has 8 years of experience in the areas of Enterprise Content Management (ECM), system integrations, web, and mobile applications. He is an expert in integrating ECM solutions in web and portal applications. He contributes as PMC member, Project Leader, and Committer at the Apache Software Foundation for the project Apache ManifoldCF; he also contributes on ECM connectors such as CMIS, Alfresco, and ElasticSearch. He is a Project Leader and Committer of the JBoss Community, and he contributes to some of the projects of the JBoss Portal platform. He is a Speaker at conferences dedicated to ECM, Java, Spring Framework, and open source products and technologies. He is an Author, Technical Reviewer, and Affiliate Partner at Packt Publishing, for whom he wrote the technical book Alfresco 3 Web Services. As Technical Reviewer, he contributed to both Alfresco 3 Cookbook and Alfresco Share. As Affiliate Partner, he writes and publishes book reviews on his website Open4Dev (
                          Sorry, we don't have any reviews for this title yet.

                          Code Downloads

                          Download the code and support files for this book.

                          Submit Errata

                          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                          - 1 submitted: last submission 29 Jan 2013

                          Errata type: Technical | Page number: 356

                          Towards the bottom of the page, in the Getting Ready section of the Creating a portlet to integrate Apache JackRabbit recipe
                          Jack Rabbit 2.4.1
                          should be:
                          Jack Rabbit 2.4.3


                          Sample chapters

                          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                          Frequently bought together

                          GateIn Cookbook +    Citrix XenServer 6.0 Administration Essential Guide =
                          50% Off
                          the second eBook
                          Price for both: $48.15

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • Learn the installation and configuration of GateIn with various application servers
                          • Manage the contents, themes, navigation, pages and all documents on the portal through the UI or XML files
                          • Integrate your existing user management, such as LDAP, into the portal for authentication and authorization
                          • Discover how the localization of portlets works in GateIn
                          • Pass events and messages between portlets in the portal, irrespective of how they are deployed
                          • Modify page names and portal structure through the Management Component command line
                          • Integrate and manage the Google gadgets in your portal

                          In Detail

                          Enterprises have websites constructed in different web frameworks and the need for them to work together cohesively. GateIn will provide the solution to effectively integrate them into a single website. GateIn is an open source website framework that does more than a web framework by letting you use your preferred one.

                          This GateIn Cookbook provides solutions whether you're planning to develop a new GateIn portal, migrate a portal, or only need to answer a specific query. It is filled with bite-sized recipes for quick and easy problem resolution. From the beginning to the end it will guide you through the process of configuring and securing a portal, managing content and resources, and developing applications as you go.

                          Beginning with installation and configuration, the book swiftly moves on to discussing content, users, and security. The second half covers all aspects of developing on a portal, such as portlets, gadgets, migration, and integration.

                          The goal of the book is to show GateIn as an open source website framework piece by piece. Starting with simple recipes, you will see each step analyzed with code examples and images, before progressing to more advanced recipes.

                          This GateIn Cookbook will help you with a quick approach to building portals.


                          The cookbook style is a series of practical recipes which represent solutions to problems and popular activities in a concise but detailed manner.

                          Who this book is for

                          Portal Developers will need an introductory understanding of portals and portlets, and how they work together to create pages of cohesive content as ECMs, to make the most of this book. Some Java experience is assumed.

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software