Hyperion System 9 BI+ Application Builder Web Application
Total Page:16
File Type:pdf, Size:1020Kb
HYPERION® SYSTEM™ 9 BI+™ APPLICATION BUILDER J2EE™ RELEASE 9.2 WEB APPLICATION ARCHITECTURE DEVELOPER’S GUIDE Copyright 1998–2006 Hyperion Solutions Corporation. All rights reserved. “Hyperion,” the Hyperion “H” logo, and Hyperion’s product names are trademarks of Hyperion. References to other companies and their products use trademarks owned by the respective companies and are for reference purpose only. No portion hereof may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose other than the recipient’s personal use, without the express written permission of Hyperion. The information contained herein is subject to change without notice. Hyperion shall not be liable for errors contained herein or consequential damages in connection with the furnishing, performance, or use hereof. Any Hyperion software described herein is licensed exclusively subject to the conditions set forth in the Hyperion license agreement. Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the applicable Hyperion license agreement and as provided in DFARS 227.7202-1(a) and 227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (Oct 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 52.227-14, as applicable. Hyperion Solutions Corporation 5450 Great America Parkway Santa Clara, California 95054 Printed in the U.S.A. Contents The WAA Applications . 9 Third Party Applications and Integrated Hyperion Products . 10 J2EE Usage . 11 Design and Processing Overview . 13 Model-View-Controller (MVC) Model . 13 Processing Events with Beans . 14 Architecture Overview . 14 Processing Overview . 16 JSP and Bean Architecture . 17 Page JSP . 18 Form JSP . 18 Component JSP . 18 Page Beans . 18 Form Beans . 19 Component Beans . 19 Processing a Request . 19 Tag Library Overview . 21 The Relationship Between JSPs, Tags, and Java Beans . 22 Tag Librar y Descriptors . 23 Tag Libraries Included in Application Builder . 24 Tag Usage and Guidelines . 24 Specifying the TLD Files in the Web.xml File . 24 Specifying the TLD Files in JSP Pages . 25 Tag Categories . 25 Standard Tags . 26 Tag Sequence . 27 Rendering Tags . 28 Tag Dependencies and Nesting . 28 Scope . 29 Tag Attributes . 30 Scripting Variables . 30 Connecting Tags . 33 Contents iii Using the connectBeans Tag . 34 Using the repositoryDataSourceConnectBeans Tag . 35 Using the onBeanEvent Tag . 37 Passing Events to a Custom Class Using the onBeanEvent Tag . 41 Anonymous Listener Classes . 41 Using the ATF Repository and Annotations Repository . 42 Initializing the Annotations Repository . 42 Initializing the ATF Repository . 43 Using Repository Objects . 43 Object Security . 46 Using Single Sign-On . 46 Using Single Sign-on Between Applications . 47 Using Formatting . 48 Using a Cascading Style Sheet . 48 Creating a New Style . 51 Distributing Your Application . 52 Scripting Element Types . 53 Expressions . 53 Declarations . 53 Scriptlets . 54 Sample JSP Script . 55 Passing Request Parameters to Another JSP . 56 Using Scripting Elements with Application Builder . 56 Converting Data Types . 57 Creating an HTML table to Display Cube View Results . 58 Obtaining Properties of a Cube View . 61 Useful Request Expressions . 62 Using OLAP Tags . ..