Copyright Index Next
Contents About This Guide Who Should Use This Guide Using the Documentation How This Guide Is Organized Related Information Documentation Conventions General Conventions Conventions Referring to Directories Product Support Chapter 1 Securing J2EE Applications J2EE 1.4 Application Server Security Goals J2EE 1.4 Application Server Specific Security Features J2EE 1.4 Application Server Security Model Web Application and URL Authorizations Invocation of Enterprise Bean Methods ACC Client Invocation of Enterprise Bean Methods Security Responsibilities Overview Application Developer Application Assembler Application Deployer Common Security Terminology Authentication Authorization Realms Role Mapping Container Security Programmatic Security Declarative Security Application Level Security Component Level Security Guide to Security Information User Information Security Roles Realm Configuration How to Configure a Realm and Set the Default Realm Using the Administration Console Using the asadmin Command Editing the domain.xml File How to Set a Realm for an Application or Module Supported Realms file ldap certificate solaris Creating a Custom Realm JACC Support Using the Administration Console Editing the domain.xml File Pluggable Audit Module Support Configuring an Audit Module Using the Administration Console Using the asadmin Command Editing the domain.xml File The AuditModule Class The server.policy File Default Permissions Changing Permissions for an Application Programmatic Login Precautions Granting Programmatic Login Permission The ProgrammaticLogin Class User Authentication for Single Sign-on Defining Roles Authenticating an Application Client Using the JAAS Module Chapter 2 Using the JDBC API for Database Access General Steps for Creating a JDBC Resource Integrating the JDBC Driver Supported Database Drivers Making the JDBC Driver JAR Files Accessible Creating a Connection Pool Using the Administration Console Using The Command Line Interface Creating a JDBC Resource Using The Administration Console Using The Command Line Interface Configurations for Specific JDBC Drivers Inet ORAXO JDBC Driver for Oracle 9.x PointBase Type4 Driver Chapter 3 Using Container-Managed Persistence for Entity Beans J2EE 1.4 Application Server Support Deployment Descriptors Using Container-Managed Persistence Process Overview Phase 1. Creating the mapping deployment descriptor file Phase 2. Deploying concrete beans and delegates Phase 3. Running in the J2EE 1.4 Application Server runtime Mapping Capabilities Automatic Mapping Options Supported Data Types for Mapping BLOB Support CLOB Support Capturing the Database Schema Automatically Using the capture-schema Utility Mapping Fields and Relationships Manually Specifying the Beans to Be Mapped sun-cmp-mappings sun-cmp-mapping schema Specifying the Mapping Components entity-mapping ejb-name table-name secondary-table consistency Specifying Field Mappings cmp-field-mapping field-name column-name read-only fetched-with level named-group none Specifying Relationships cmr-field-mapping cmr-field-name column-pair column-name fetched-with Configuring the Resource Manager Configuring Queries for 1.1 Finders Query Filter Expression Query Parameter Query Variables Third-Party Pluggable Persistence Manager API Restrictions and Optimizations Unique Database Schema Names in EAR File Eager Loading of Field State Restrictions on Remote Interfaces Sybase Finder Limitation Date and Time Fields as CMP Field Types Elements in the sun-cmp-mappings.xml File check-all-at-commit check-modified-at-commit cmp-field-mapping cmr-field-mapping cmr-field-name column-name column-pair consistency ejb-name entity-mapping fetched-with field-name level lock-when-loaded lock-when-modified named-group none read-only schema secondary-table sun-cmp-mapping sun-cmp-mappings table-name Examples Sample Schema Definition Sample CMP Mapping XML File Chapter 4 Debugging J2EE Applications Enabling Debugging Using the Administration Console Editing the domain.xml File JPDA Options The Java Debugger Generating a Stack Trace for Debugging Sun ONE Message Queue Debugging Enabling Verbose Mode Using the Administration Console Editing the domain.xml File Logging Profiling The HPROF Profiler The Optimizeit Profiler The Wily Introscope Profiler The JProbe Profiler Index Copyright Index Next Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Copyright 2003 Sun Microsystems, Inc. All rights reserved.