0%

Book Description

Over 60 recipes for building portals with GateIn including user security, gadgets, and applications with frameworks.

  • 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

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.

Book Description

Over 60 recipes for building portals with GateIn including user security, gadgets, and applications with frameworks.

  • 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

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.

Table of Contents

  1. GateIn Cookbook
    1. GateIn Cookbook
    2. Credits
    3. About the Authors
    4. About the Reviewers
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Getting Started
      1. Introduction
      2. Installing GateIn from a binary package
        1. Getting ready
        2. How to do it...
        3. How it works
        4. There's more...
        5. See also
      3. Building and installing GateIn from the source code
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Configuring the content storage
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. MySQL example configuration
        5. See also
      5. Configuring GateIn to send e-mails
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Running GateIn on your machine
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
          1. Starting GateIn with JBoss AS 6 instance
          2. Starting GateIn with JBoss AS 7 instance
        5. See also
      7. Setting up the development environment
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    8. 2. Managing Portal Contents Using the GUI
      1. Introduction
      2. Managing portals
        1. Getting ready
        2. How to do it…
        3. How it works...
        4. There's more...
          1. Removing a portal
          2. Setting public access to the portal
          3. Changing the layout of the portal
        5. See also
      3. Managing portal pages
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Removing a page
        5. See also
      4. Managing registered portlets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Managing portlet settings
        5. See also
      5. Managing the navigation tree
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Managing the dashboard
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more…
        5. See also
    9. 3. Managing Portal Contents Using XML
      1. Introduction
      2. Managing portals using XML
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
        5. See also
      3. Managing portal pages using XML
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Managing registered portlets using XML
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Defining the categories configuration for a portal
        5. See also
      5. Managing the navigation tree using XML
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Wrapping it all up in a separate EAR
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    10. 4. Managing Portal Users
      1. Introduction
      2. Managing users
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
          1. Creating users
          2. Removing users
          3. Removing memberships
        5. See also
      3. Managing groups
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
          1. Removing groups
          2. Updating groups
        5. See also
      4. Assigning users to groups
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. There's more...
          1. Configuring the Organization Service
        5. See also
      5. Integrating with an existing LDAP store
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      6. Setting an automatic membership after user creation
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      7. Adding a custom field in the user profile
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      8. Integrating with Web SSO
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. See also
      9. Integrating with SPNEGO for Desktop SSO
        1. Getting ready
        2. How to do it...
        3. How it works…
        4. See also
    11. 5. Securing Portal Contents
      1. Introduction
      2. Securing portals
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more...
          1. Configuring GateIn with JAAS
        5. See also
      3. Securing with JBoss AS
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      4. Securing with Tomcat
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. See also
      5. Choosing the JAAS modules
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more…
        5. See also
      6. Creating a login page
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more...
      7. Synchronizing users
        1. Getting ready
        2. How to do it…
        3. How it works…
      8. Securing pages
        1. Getting ready
        2. How to do it…
        3. How it works…
      9. Securing categories
        1. Getting ready
        2. How to do it…
        3. How it works…
      10. Securing applications
        1. Getting ready
        2. How to do it…
        3. How it works…
      11. Securing portlets
        1. Getting ready
        2. How to do it…
        3. How it works…
        4. There's more...
    12. 6. Developing Portlets
      1. Introduction
      2. Creating a portlet with the Portlet 2.0 Specification
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Using a PrintWriter within the portlet class
          2. Overriding doView method from GenericPortlet
          3. Implementing Portlet interface
        5. See also
      3. Using an action to pass form parameters
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Passing parameters instead of rendering via an Action URL
          2. Adding a link to reset user input
        5. See also
      4. Using the user locale to localize portlet content
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Localizing navigation node name
        5. See also
      5. Communicating between portlets using Public Render Parameters
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      6. Communicating between portlets using events
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    13. 7. Developing Using Components API
      1. Introduction
      2. Getting started with WebUI
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Choosing the right extension class
          2. Using the annotation instead of the configuration file
          3. Choosing the right lifecycle
      3. Creating views
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Template Statistic Service
        5. See also
      4. Handling different skins in a portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Deployers
          2. The window style
        5. See also
      5. Adding the JavaScript resources to the portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
      6. Handling different locales in a portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Resource Bundle Service
    14. 8. Migrating from Existing Portals
      1. Introduction
      2. Migrating a transactional portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
      3. Migrating an authenticated portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Interrogating other fields of the user
        5. See also
      4. Migrating a portlet that uses JCR
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Data distribution manager
          2. Clustered nodes
          3. Webdav service
      5. Importing a skin from an existing website
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    15. 9. Managing Gadgets
      1. Introduction
      2. Importing existing gadgets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Gadget Registry Service
          2. Gadget Server
      3. Removing gadgets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Creating gadgets
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
        5. See also
      5. Changing the category of a gadget
        1. Getting ready
        2. How to do it...
        3. How it works...
      6. Resizing gadgets
        1. Getting ready
        2. How to do it...
        3. How it works...
      7. Making the gadget a portlet
        1. Getting ready
        2. How to do it...
      8. Setting user preferences
        1. Getting ready
        2. How to do it...
        3. How it works...
    16. 10. Frameworks in a Portal
      1. Introduction
      2. Creating a JSF 2 portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      3. Using jQuery in a portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
      4. Using portlet events in JSF 2
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      5. Creating a RichFaces 4 portlet
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
    17. 11. Managing Portal Resources with the Management Component
      1. Introduction
      2. Deploying the CLI to GateIn
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Building the CLI WAR from source
        5. See also
      3. Retrieving a managed resource with RESTful Interface
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Exporting a portal page with the CLI
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Exporting a portal page with RESTful Interface
        5. See also
      5. Removing a portal page from the navigation
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Changing the navigation path
          2. Modifying the navigation node label
        5. See also
      6. Using the default portal as the foundation for a new portal site
        1. Getting ready
        2. How to do it...
        3. How it works...
    18. 12. Managing Documents Using External ECM Systems
      1. Introduction
      2. Creating a portlet to integrate a CMIS repository
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Searching documents
        5. See also
      3. Creating a portlet to integrate JBoss ModeShape
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      4. Creating a portlet to integrate Apache JackRabbit
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      5. Creating a portlet to integrate Alfresco using Spring WebScripts
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Searching documents
        5. See also
18.191.205.99