Free Sample
+ Collection

GateIn Cookbook

Ken Finnigan, Luca Stancapiano, Piergiorgio Lucidi

Over 60 recipes for building portals with GateIn including user security, gadgets, and applications with frameworks with this book and ebook.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849518628
Paperback392 pages

About This Book

  • 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

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.

Table of Contents

Chapter 1: Getting Started
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 2: Managing Portal Contents Using the GUI
Managing portals
Managing portal pages
Managing registered portlets
Managing the navigation tree
Managing the dashboard
Chapter 3: Managing Portal Contents Using XML
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
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
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
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
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 8: Migrating from Existing Portals
Migrating a transactional portlet
Migrating an authenticated portlet
Migrating a portlet that uses JCR
Importing a skin from an existing website
Chapter 9: Managing Gadgets
Importing existing gadgets
Removing gadgets
Creating gadgets
Changing the category of a gadget
Resizing gadgets
Making the gadget a portlet
Setting user preferences
Chapter 10: Frameworks in a Portal
Creating a JSF 2 portlet
Using jQuery in a portlet
Using portlet events in JSF 2
Creating a RichFaces 4 portlet
Chapter 11: Managing Portal Resources with the Management Component
Deploying the CLI to GateIn
Retrieving a managed resource with RESTful Interface
Exporting a portal page with the CLI
Removing a portal page from the navigation
Using the default portal as the foundation for a new portal site
Chapter 12: Managing Documents Using External ECM Systems
Creating a portlet to integrate a CMIS repository
Creating a portlet to integrate JBoss ModeShape
Creating a portlet to integrate Apache JackRabbit
Creating a portlet to integrate Alfresco using Spring WebScripts

What You Will Learn

  • 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.


Read More