DRAFT
Eclipse GlassFish Server
Oracle GlassFish Server Documentation Set
Typographic Conventions
Symbol Conventions
Default Paths and File Names
Process Overview
Performance Tuning Sequence
Understanding Operational Requirements
Application Architecture
Security Requirements
High Availability Clustering, Load Balancing, and Failover
Hardware Resources
Administration
General Tuning Concepts
Capacity Planning
User Expectations
Further Information
Java Programming Guidelines
Avoid Serialization and Deserialization
Use StringBuilder to Concatenate Strings
StringBuilder
Assign null to Variables That Are No Longer Needed
Declare Methods as final Only If Necessary
Declare Constants as static final
Avoid Finalizers
Declare Method Arguments final
Synchronize Only When Necessary
Use DataHandlers for SOAP Attachments
Java Server Page and Servlet Tuning
Suggested Coding Practices
EJB Performance Tuning
Goals
Monitoring EJB Components
General Guidelines
Using Local and Remote Interfaces
Improving Performance of EJB Transactions
Using Special Techniques
Tuning Tips for Specific Types of EJB Components
JDBC and Database Access
Tuning Message-Driven Beans
Using the GlassFish Server Performance Tuner
Deployment Settings
Disable Auto-Deployment
Use Pre-compiled JavaServer Pages
Disable Dynamic Application Reloading
Logger Settings
General Settings
Log Levels
Web Container Settings
Session Properties: Session Timeout
Manager Properties: Reap Interval
Disable Dynamic JSP Reloading
EJB Container Settings
Monitoring the EJB Container
Tuning the EJB Container
Java Message Service Settings
Transaction Service Settings
Monitoring the Transaction Service
Tuning the Transaction Service
HTTP Service Settings
Monitoring the HTTP Service
HTTP Service Access Logging
Network Listener Settings
HTTP Settings
File Cache Settings
Transport Settings
Thread Pool Settings
Max Thread Pool Size
Min Thread Pool Size
ORB Settings
Overview
How a Client Connects to the ORB
Monitoring the ORB
Tuning the ORB
Resource Settings
JDBC Connection Pool Settings
Connector Connection Pool Settings
Load Balancer Settings
Java Virtual Machine Settings
Start Options
Tuning High Availability Persistence
Managing Memory and Garbage Collection
Tuning the Garbage Collector
Tracing Garbage Collection
Other Garbage Collector Settings
Tuning the Java Heap
Rebasing DLLs on Windows
Server Scaling
Processors
Memory
Disk Space
Networking
UDP Buffer Sizes
Solaris 10 Platform-Specific Tuning Information
Tuning for the Solaris OS
Tuning Parameters
File Descriptor Setting
Tuning for Solaris on x86
File Descriptors
IP Stack Settings
Tuning for Linux platforms
Startup Files
Virtual Memory
Network Interface
Disk I/O Settings
TCP/IP Settings
Tuning UltraSPARC CMT-Based Systems
Tuning Operating System and TCP Settings
Disk Configuration
Network Configuration