JBoss Portal Server Development

JBoss Portal Server Development
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Complete guide with examples for building enterprise portal applications using the free, open-source standards-based JBoss portal server
  • Quickly build portal applications such as B2B web sites or corporate intranets
  • Practical approach to understanding concepts such as personalization, single sign-on, integration with web technologies, and content management

Book Details

Language : English
Paperback : 276 pages [ 235mm x 191mm ]
Release Date : January 2009
ISBN : 1847194109
ISBN 13 : 9781847194107
Author(s) : Ramanujam Rao
Topics and Technologies : All Books, Enterprise Products and Platforms, Java, JBoss, Open Source, Web Development

Table of Contents

Chapter 1: Portals and Portal Servers
Chapter 2: Getting Started with JBoss Portal
Chapter 3: Saying Hello with a Portlet
Chapter 4: Managing the View
Chapter 5: Personalizing Our Portal Experience
Chapter 6: Portals and AJAX
Chapter 7: Databases and Portal
Chapter 8: Managing Content in Portal
Chapter 9: Portal Security
Chapter 10: Web Services and Portlets
Chapter 11: Portlet Coordination and Filters
  • Chapter 1: Portals and Portal Servers
    • Portals
    • Why portals?
    • Types of portals
      • Function-based portals
        • Vertical portal
        • Horizontal portal
      • User-based portals
        • B2B portal
        • B2C portal
        • B2E portal
    • Portal servers
      • Portlets and portlet container
      • Constructing a view
      • Portal specification and WSRP
      • Servlets and portlets
    • Summary
  • Chapter 2: Getting Started with JBoss Portal
    • JBoss portal server
      • Features
    • Installing the server
      • Getting the software
      • System requirements
      • Installation
        • JBoss portal packaged with JBoss application server
        • JBoss portal binary without the server
        • Building JBoss portal from source
    • Configuration
      • Changing the context root
      • Changing the portal port
      • Setting email service
      • Configuring proxies
    • Working with the portal
      • Getting started
      • Creating our first portal page
    • Summary
  • JSR-168 and JSR-286—Java portlet specification
    • Portal URL
    • Portlet modes
    • Window states
  • A Hello World portlet
    • Portlet development environment
    • Portlet package structure
    • Writing the code
    • Application descriptors
      • portlet.xml
      • portlet-instances.xml
      • sayhello-object.xml
      • web.xml
    • Building the application
    • Deploying the application
    • Accessing the page and portal URL
  • Summary
  • Chapter 4: Managing the View
    • The Presentation tier in portals
    • Using Java Server Pages
      • Archive package structure with JSP
      • Writing the code
        • Portlet class
        • JSPs and portlet tags
      • Application descriptors
      • Building the application
      • Deploying the application
    • Using Java Server Faces
      • JSR -301 Portlet Bridge
      • Package structure with JSF
      • Application descriptors
      • Building the application
      • Deploying the application
    • Using JBoss Seam
    • Building a sample application: an intranet portal
      • Introduction
      • Creating the MyCompany portal
      • A JSP portlet
    • Summary
  • Chapter 5: Personalizing Our Portal Experience
    • Personalization and customization
    • Personalizing the portal
      • Personalization models
        • User profile-based
        • Rules-based
        • Collaborative filtering
      • Personalized interface
        • Layouts
        • Themes
        • RenderSets
        • Custom development
      • Personalized content
        • Access-level based portlets
        • Preference-based portlets
        • Analytics-based portlets
    • Customizing the portal
      • Setting preferences
      • Drag-and-drop content
      • Usability settings
    • Summary
  • Chapter 6: Portals and AJAX
    • Rich user interfaces and AJAX
      • Asynchronous JavaScript and XML or AJAX
    • AJAX in JBoss portal
    • JSR-168 AJAX limitations
    • JSR-286 and AJAX
    • Developing an AJAX portlet
      • The front-end
      • The server-side portlet
      • Deployment
    • AJAX support for markup
      • Layout markup
      • Renderer markup
    • AJAX support for content
      • Drag-and-Drop
      • Partial content refresh
        • Portal object configuration
        • Portlet configuration
        • Constraints in implementing partial refresh
    • Considerations for AJAX implementations
      • Global variables
      • State management
      • Visual cues
    • Summary
  • Chapter 7: Databases and Portal
    • Database use in portal
    • Hibernate
    • JBoss portal server using Hibernate
      • Hibernate configuration for portal features
      • Content management system database storage
    • Building portlets using Hibernate
      • A persistent portlet
        • Configuring and using Hibernate
        • Creating the persistent class
        • Setting up database
        • Creating the mappings
        • Configuring Hibernate
        • Creating the Data Access Object class
      • The Portlet class and configuration
        • Building and deployment
    • Summary
  • Chapter 8: Managing Content in Portal
    • Content management systems
      • Adding content to portal
      • Adding content to portal pages
      • Editing content
      • CMS service configuration
      • Content storage configuration
        • 100% database storage
        • 100% filesystem storage
        • Mixed Storage
      • CMS Interceptors
      • Localization
      • CMS workflow service
        • Activation and configuration
    • Summary
  • Chapter 9: Portal Security
    • Portal security
    • Portal objects security
      • Using the management console
      • Using configuration files
    • User security and access control
      • Authentication
      • Authorization
        • User and role management
        • The portal permission
        • The authorization provider
        • Making a programmatic security check
        • Configuring an authorization domain
      • LDAP configuration
      • Single sign-on
    • Identity management
      • Managing users using admin console
      • Identity portlets
        • Captcha support
        • Lost and reset passwords
        • jBPM-based user registration
        • Configuration
      • Identity management API
    • Content management system security
      • CMS security configuration
  • Summary
  • Chapter 10: Web Services and Portlets
    • Remoting in portal servers
    • Web Service for Remote Portlets
      • WSRP actors
        • Portlet
        • Producer
        • Consumer
        • End user
      • Process flow
    • WSRP Use Profiles
      • Producer levels
        • Base
        • Simple
        • Complex
      • Consumer levels
        • Base
        • Simple
        • Medium
        • Complex
    • WSRP in JBoss portal
      • WSRP implementation support
    • Enabling remoting in portlets
    • Configuring WSRP producer
      • Producer configuration
        • Customization
    • Configuring WSRP consumer
      • Remote producer configuration using Admin portlet
      • Remote producer configuration using the WSRP producer descriptor
      • Managing consumer configuration
    • Instantiation of a remote portlet
    • Summary
  • Portlet coordination in JBoss portal
    • JSR-168 inter-portlet communication
      • Coding listener and portlets
      • Configuring the listener and portlets
      • Deploying portlets
    • Portlet events-based coordination
      • Creating and retrieving events
      • Configuring events
      • Deploying portlets
    • Public render parameter-based coordination
      • Coding public parameters
      • Configuring public render parameters
      • Deploying portlets
    • Additional JBoss coordination features
      • Implicit and explicit coordination
      • Explicit coordination configuration
  • Portlet filters
    • Creating the filter
    • Configuring the filter
    • Mapping the filter
    • Deployment
  • Summary
  • Epilogue

Ramanujam Rao

Ramanujam Rao is a software engineer, architect, and trainer specializing in building large-scale enterprise applications. He has over 13 years of experience in designing and developing complex web architectures, including portals, and helps enterprises build scalable, distributed applications on the JEE platform.

He writes frequently on enterprise architecture and actively consults in field of information technology management, including technology platforms, technology strategy and application delivery.

He has a B.S. in Electrical Engineering, an M.S. in Computer Science, and an MBA from Ohio State University. He currently lives and works in Columbus, OH, USA.

Contact Ramanujam Rao

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 10 Sep 2012

Errata type: Code| Page number: 184 | 

It reads "Change the ConfigFile option to ldap-identity-config.xml" but it should be "Change the ConfigFile option to ldap_identity-config.xml" - 'underscore' instead of 'hyphen'.


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

JBoss Portal Server Development +    HTML5 Web Application Development By Example =
50% Off
the second eBook
Price for both: £21.95

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

What you will learn from this book

  • Covers the latest JBoss Portal Server 2.7.0 with support for JSR-286 Portlet 2.0 specification.
  • Learn in detail about JBoss Portal and its components
  • Configure the JBoss Portal Server software best suited for your environment
  • Build portlets using common technologies such as Servlets, JSPs, and JSF to add functionality to your site
  • Personalize and internationalize the portal so that the user identifies with it
  • Create rich and dynamic portlets using AJAX for better user experience
  • Add popular third-party components such as Google gadgets and Yahoo widgets to enhance the portal features
  • Use databases in portlets to build custom user applications that persist data
  • Learn how to configure single sign-on and fine-grained security in a portal
  • Learn to use the content management system and empower users to actively manage their own content on the portal
  • Establish inter-portlet communication and harvest the power of existing assets

In Detail

Enterprises need more than just basic services; they need value-creating entities, which are crucial for running a successful business. Portals offer tremendous value to enterprises, and JBoss Portal Server is a popular, feature-rich open-source server that provides a standards-compliant platform to host functionality that serves the diverse portal needs of an enterprise. Its primary strength lies in its ability to provide robust support for custom implementation of functionality using the JSR-168 portlet API.

This book is a practical guide for installing, configuring and building feature-rich portal applications using the latest JBoss Portal Server 2.7.0. It explains, with examples, how portals can be easily developed, personalized, secured and integrated with other external enterprise assets..

The book will equip you with everything you need to know about JBoss Portal Server to build a fully functional portal. Using it, you can quickly come up to speed with the features offered by the portal server and can start using it almost immediately to develop enterprise portal solutions such as corporate intranets, B2B, or B2C sites. The book will help you to quickly understand and build enterprise portals with rich features such as personalization, AJAX, single sign-on, Google widget integration, remote portlet integration, content management and more. Along with feature implementation, the book also provides enough details for developers to tune and customize the portal environment to best suit the platform needs.

Learn how to develop a professional portal system using JBoss portal server with the help of practical examples


The book is written from a developer perspective and uses an example-driven approach with extensive code samples on each topic, for easy understanding and learning. It starts with some basic concepts of portals, before going into the features and implementation of JBoss Portal and eventually discussing some concepts for advanced use. Each chapter provides a blend of just enough basic concepts to start building applications and detailed configurations for reference.

Who this book is for

This book is for portal developers, portal administrators, designers and architects working on the Java platform, who want to build web portal solutions. The book doesn't expect an expert knowledge of portal or JEE technologies, but does presume a basic understanding of web technologies and the Java/JEE platform. However, the concepts are lucid enough that any competent developer can easily find immediate value in the book and start creating dynamic portal applications.

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