Professional Portal Development with Open Source lools: Java' Portlet API, Lucene, James, SUde



Similar documents
Mastering Tomcat Development

Web Application Development

JAVA/J2EE DEVELOPER RESUME

SOA REFERENCE ARCHITECTURE: WEB TIER

Install guide for Websphere 7.0

Introduction to Sun ONE Application Server 7

Content Management Systems: Drupal Vs Jahia

Kentico CMS 5 Developer Training Syllabus

CloudCERT (Testbed framework to exercise critical infrastructure protection)

Course Name: Course in JSP Course Code: P5

JBoss Portlet Container. User Guide. Release 2.0

Alfresco. Wiley Publishing, Inc. PROFESSIONAL. PRACTICAL SOLUTIONS FOR ENTERPRISE. John Newton CONTENT MANAGEMENT. Michael Farman Michael G.

Portals, Portlets & Liferay Platform

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

Chapter 22: Integrating Flex applications with portal servers

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

Complete Java Web Development

NetIQ Identity Manager Setup Guide

NetBeans IDE Field Guide

Management. Oracle Fusion Middleware. 11 g Architecture and. Oracle Press ORACLE. Stephen Lee Gangadhar Konduri. Mc Grauu Hill.

Japan Communication India Skill Development Center

Tomcat 5 New Features

Japan Communication India Skill Development Center

This three-day instructor-led course provides students with the tools to extend Microsoft Dynamics CRM 4.0.

Applications. Oracle WebCenter 11 g Handbook: Build Rich, Customizable Enterprise 2.0. Oracle Press ORACLE. Philipp Weckerle.

Beginning POJOs. From Novice to Professional. Brian Sam-Bodden

WebSphere Training Outline

Building Web Applications, Servlets, JSP and JDBC

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

How To Develop An Application Developer For An Ubio Websphere Studio 5.1.1

Content Management Systems: Drupal Vs Jahia

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Principles and Foundations of Web Services: An Holistic View (Technologies, Business Drivers, Models, Architectures and Standards)

CatDV Pro Workgroup Serve r

Apache Jakarta Tomcat

Web-JISIS Reference Manual

Spring Security 3. rpafktl Pen source. intruders with this easy to follow practical guide. Secure your web applications against malicious

IBM WebSphere Server Administration

Office 365. Migrating and Managing Your. Business in the Cloud. Matthew Katzer. Don Crawford

TIBCO Administrator User s Guide. Software Release March 2012

XpoLog Center Suite Data Sheet

Contents 1 Overview 2 Introduction to WLS Management Services iii

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

WebSphere Server Administration Course

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Modeling Web Applications Using Java And XML Related Technologies

PROJECT MANAGEMENT SYSTEM

JBS-102: Jboss Application Server Administration. Course Length: 4 days

Exam Name: WebSpherePortal V5.1 Application Development Exam Type IBM Exam Code: Total Questions: 102

Hello World Portlet Rendered with JSP for WebSphere Portal Version 4.1

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

Cocoon 2 Programming: Web Publishing with XML and Java"

"Charting the Course... Enterprise Linux Networking Services Course Summary

Oracle WebLogic Server 11g Administration

Implementing and Administering an Enterprise SharePoint Environment

Course Number: IAC-SOFT-WDAD Web Design and Application Development

EMC Documentum Content Services for SAP Repository Manager

IUCLID 5 Guidance and Support

Repository Management with Nexus

TIBCO Runtime Agent Domain Utility User s Guide Software Release November 2012

JEE Web Applications Jeff Zhuk

TARGETPROCESS HELP DESK PORTAL

Property & Casualty Insurance Solutions from CCS Technology Solutions

Ameritas Single Sign-On (SSO) and Enterprise SAML Standard. Architectural Implementation, Patterns and Usage Guidelines

Windows 2000 / NT 4.0 / 95 / 98, MS-DOS, Suse Operating Systems

No.1 IT Online training institute from Hyderabad URL: sriramtechnologies.com

EMC XDS Repository Connector for ViPR

Architecture Guide Jahia EE v6.1

Glassfish, JAVA EE, Servlets, JSP, EJB

enterprise^ IBM WebSphere Application Server v7.0 Security "publishing Secure your WebSphere applications with Java EE and JAAS security standards

SENSE/NET 6.0. Open Source ECMS for the.net platform. 1

WebLogic Server 11g Administration Handbook

ORACLE MOBILE APPLICATION FRAMEWORK DATA SHEET

GlassFish Security. open source community experience distilled. security measures. Secure your GlassFish installation, Web applications,

Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

Developer s Guide. How to Develop a Communiqué Digital Asset Management Solution

DeskNow. Ventia Pty. Ltd. Advanced setup. Version : 3.2 Date : 4 January 2007

MyCompany Professional Web Developer Certification Examination Specification

Web Express Logon Reference

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

Macromedia Dreamweaver 8 Developer Certification Examination Specification

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

NHS Education for Scotland Knowledge Services Design and Development Framework

SAS 9.3 Intelligence Platform Middle-Tier Administration Guide Third Edition

Oracle WebLogic Server

Intelligent Document Platform (eforms) and File Upload

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

KINETIC SR (Survey and Request)

Java Web Services Developer Pack. Copyright 2003 David A. Wilson. All rights reserved.

SDK Code Examples Version 2.4.2

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

CTSU SSO (Java) Installation and Integration Guide

TIBCO BusinessConnect Trading Partner Administration. Software Release 6.0 November 2011

EBA Procurement Procedure for the Supply of Website Services 2016: Annex 1 System Architecture Document SYSTEM ARCHITECTURE DOCUMENT

9.4 Intelligence Platform

Transcription:

Professional Portal Development with Open Source lools: Java' Portlet API, Lucene, James, SUde W. Clay Richardson Donald Avondolio Joe Vitale Peter Len Kevin T. Smith Wlley Technology Publishing ffi WlLEY Wiley Publishing, Ine.

Acknowledgments Introductlon Part I: Open Source Portals ChaRter 1: The Java Portlet API USR 168) Portlet Fundamentals Portlets and Servlets Portallnteractions The Portlet Interface and the GenerlcPortlet Portlet Life Cycle Portlet Runtime States Portlet Request Handling "There Can Be Only One" ActionRequest RenderRequest GenericPortlet Other Elements of the Java Portlet API PortletConfig PortletURL Portlet Modes Window States Portlet Context Portal Context Portlet Preferences Sessions Calling JSPs and Servlets Portlet Application Structure Security CSS Style Definitions User Information Attributes Portlet Tag Library Portlet Deployment Portlet Application Deployment Descrlptor Portlet Declarations Building a Portlet Ix xix 1 3 3 5 6 8 8 8 9 9 10 11 11 14 14 14 15 16 16 16 16 18 19 21 22 22 24 28 28 28 29 32 39

Chapter 2: Searchlng wlth Lucene Understandlng Search Englne Concepts The Anatomy of a Search Engine The Anatomy of Lucene Analyzer Document Directory Understandlng the Lucene Query Syntax Terms Fields Term Modifiers Boolean Operators, Grouping, and Escaping Optlmlzlng Lucene's Performance Chapter 3: Messaglng wlth Apache James Introduclng James Working with Mailets and Matchers Bundled Matchers Bundled Mailets Understanding SpoolManager Understanding Repositories File Repositories Database Repositories DBFile Repositories Working with RemoteManager Implementlng James Downloading James Installing James Conflgurlng James DNS Server Configuration POP3 Server Configuration SMTP Server Configuration NNTP Server Configuration FetchPOP Conflguratlon RemoteManager Configuration Repository Configuration SpoolManager Conflguratlon Global Server Configuration creanng User Accounts 41 41 43 48 51 53 55 57 57 59 59 60 61 62 63 63 65 65 66 66 66 67 67 68 68 68 68 69 xii

Introduclng JavaMall API The Session Class Message Class Address Class Authenticator Class Transport Class Store and Folder JavaMall In Practlce Sending Messages Receiving Messages ChaRter 4: Object to Relatlonal Mapplne wlth Apache OJB Explorlng ObJect-to-Relatlonal Mapplng Concepts Understandlng O.lB Technology Features Uslng OJB API Layers Developing with the PersistenceBroker API The Message Class JDBC Connection Mapping Home.jsp Add.jsp View.jsp Developing with the ODMG API Openlog a Database Retrieving Objects Storing Objects UpdatingObjects Deleting Objects Developing with the JDO API OJB Extras Verifying an OJB Installation Supported Database Platforms Supported JDBC Data Types Deploying OJB Applications Jar Files Metadata Files JDBC Drivers CLASSPATH Settings OJB Performance 70 71 71 72 72 73 73 74 74 79 86 87 87 88 89 90 93 99 100 104 106 107 107 107 108 109 109 110 110 111 111 112 113 113 xiii

Chapter 5: Cootem Maoaeemeot wlth Jakarta's Silde Silde Archltecture External Architecture Internal Architecture Transaction Management Transactions Transaction Attributes Namespaces Helpers Stores Domain Slide API Layer Setting Up and Conflgurlng Silde Installing and Running Slide Tomcat Manager The Silde Server Client View Admin View Editor View WebDAV and Silde Windows XP WebDAV Example ChaRter 6: Portal Securlty Core Securlty Concepts Authentication Authorization Single Slgn-On (SSO) Confidentiality Data Integrlty Non-repudiation Key Securlty Standards SSL and TLS XML Encryption XML Signature SAML OASIS Web Services Security (WSS) 117 117 118 120 122 123 123 124 124 132 132 135 135 135 136 138 139 139 139 139 140 143 145 145 145 146 147 149 150 150 150 150 151 151 151 153 xlv

Bulldlng Securlty Solutlons for Your Portal Web Container Security-Apache Tomcat Server Configuration Application Configuration Programmatic Security Access with JSPs and Servlets Security of the Portlet Container Programmatic Security Portlet Descriptor-Configured Security Beyond the Portal-Secure Back-End Communication Part 11: How to Build a Portal Chapter 7: PlannlOl~ for Portal Deployment System Requlrements Interface Requirements Operational Requirements Data Requirements Security Requirements Quality Assurance Requirements Software connguratton Management Jakarta's ANT Unit and Load Testing Bug Tracking Continuous Integration Requirements Software Design Methodologles The Unified Process (UP) Domain Model Software Architecture Document (SAD) Shall Statements and User Stories Class-Responsibility-Collaborator Cards (CRCs) Storyboarding Design Models for Visualization That Are Not in UML Design Declslons Modell Architecture Model 2 Architecture Model 2X Architecture Search Utlllties 153 1 155 165 167 168 169 170 171 172 173 175 177 177 177 178 178 179 179 180 180 181 181 181 182 182 184 186 189 190 190 193 195 196 197 197 200 xv

Content Management Design Pattern Conslderatlons In Your Portal Using Java Standards Model-View-Controller (MVC) Pattern Template Method Pattern Memento Pattern Facade Pattern Adapter Pattern Factory Method Pattern Singleton Pattern Front Controller Pattern Intercepting Filter Pattern Cllent-5lde Processlng JavaScrlpt Server-5lde Processlng Java Plug-ins Web Services for Remote Portals (WSRP) Portal Navigation Portal Navigation Using Taxonomies Portlet Integration Plan Chapter 8: Effective Cllent-Slde Development Uslne Javascrlpt Declarlng JavaScrlpt Valldatlng Data Addlng Functlonallty Field Auto-Population Field Auto-Validation Space Management Multiple-Value Picklists Repeating Values Dynamlc Actlons Layerlng and DHTML Forms and Layers Movable Layers Chaper 9: Developloe Applicatloos aod Workflow for Vour Portal The Portlet Archltecture The Portlet Container Portlet Preferences 200 201 202 207 207 208 209 210 212 218 220 221 222 223 227 228 229 231 231 234 240 244 244 250 253 255 255 256 258 xvi

JSP Tag Library Packaging a Portlet The exo Portal Platform The exo Portal Hot Deployment Customization Tool Setup and Installation of exo Understanding the exo Directory Structure The Dlrectory Portlet Developing the Directory Portlet The MySQL Database The DirectoryPortlet Class The DirectoryValidator Class The DirectoryView JSP File The DirectoryEdit JSP File The web.xml File The portlet.xml File Deploying the Directory Portlet in exo Portlet Creatlon the Model-Ylew-Controller (MYC) Way "rhe MYC Loan Calculator Portlet Web Appllcations versus Portlet Appllcatlons Chapter 10: Portlet Integration wlth web Services Basic Concepts Integrating with Tradltlonal Web Services A Simple Example First Approach: SOAP and WSDL Messaging Second Approach: Working with Generated Objects Web Services for Remote Portlets (WSRP) Types of WSRP Services Discovery, Registration. and Deregistration Services Simple WSRP Services-Stateless "View Only" Modes More Complex Services-Interactive WSRP Services Portlet Management Services WSRP Markup Guidelines for Portlet Developers Disallowed XHTML and HTML Tags Cascading Style Sheets (CSS) Style Definitions User Information 258 258 259 259 259 259 260 260 262 265 266 267 271 272 274 275 275 276 277 279. 283 283 285 285 287 292 292 298 302 304 304 304 304 305 305 305 305 310 310 xvii

Chapter 11: Performance lestlng, Admlnlsterlng, and Monitoring rour Portal Continuous Integration CVS Subversion JUnit AntHill Load lestlng.imeter Portal RequirementsjBug Management and lraeeability wlth Searab Scarab Scarab Tasks Portal Administration wlth JMX Portal Collaboratlon wlth JSPWlki 311 312 312 315 316 324 326 327 330 330 331 335 344 346 Chapter 12: Unlfylng the Enterprise Appllcatlon Space lhrougb Web Start Rleh Cllents Java Web Start Gettlng Started Downloading and Installing Java Web Start Configuring the Web Server Creatlng the JNLP File <jnlp> Attributes <information> Subelement <security> Subelement <resources> Subelement <appllcatlon-desc> Subelement Application Packaging Client Invocation Code Signing Introduetory Applieatlon Using JWS in Portal Implementatlons Use in a Web-based Portal Use in a Java Portal Java Swing Java-based Portal Examples Referenees Index 347 348 349 351 351 351 352 353 353 353 353 3 3 3 356 358 363 3 367 367 368 372 373 375 xviii