Server User Manual
Table Of Contents
- Sun GlassFish Enterprise Server 2.1 Performance Tuning Guide
- Preface
- Overview of Enterprise Server Performance Tuning
- Tuning Your Application
- Java Programming Guidelines
- Java Server Page and Servlet Tuning
- EJB Performance Tuning
- Goals
- Monitoring EJB Components
- General Guidelines
- Using Local and Remote Interfaces
- Improving Performance of EJB Transactions
- Use Container-Managed Transactions
- Don’t Encompass User Input Time
- Identify Non-Transactional Methods
- Use TX_REQUIRED for Long Transaction Chains
- Use Lowest Cost Database Locking
- Use XA-Capable Data Sources Only When Needed
- Configure JDBC Resources as One-Phase Commit Resources
- Use the Least Expensive Transaction Attribute
- Using Special Techniques
- Tuning Tips for Specific Types of EJB Components
- JDBC and Database Access
- Tuning Message-Driven Beans
- Tuning the Enterprise Server
- Deployment Settings
- Logger Settings
- Web Container Settings
- EJB Container Settings
- Java Message Service Settings
- Transaction Service Settings
- HTTP Service Settings
- ORB Settings
- Thread Pool Settings
- Resources
- Tuning the Java Runtime System
- Tuning the Operating System and Platform
- Tuning for High-Availability
- Index

HTTP Service (Continued)
tuning, 64
HTTP sessions, 30
I
idle timeout
EJB cache, 56
EJB pool, 55
IIOP Client Authentication Required, 72
IIOP messages, 74-75
Initial Thread Count, HTTP Service, 65
InternalLogbuerSize, 112-113
ip:ip_squeue_bind, 104
ip:ip_squeue_fanout, 104
IP stack, 99
ipge:ipge_bcopy_thresh, 104
ipge:ipge_srv_fo_depth, 104
ipge:ipge_taskq_disable, 104
ipge:ipge_tx_ring_size, 104
ipge:ipge_tx_syncq, 104
J
Java coding guidelines, 27-29
Java Heap, 87-89
Java serialization, 75-76
Java Virtual Machine (JVM), 83
JAX-RPC, 29
JDBC Connection Pool, 77
Close All Connections On Any Failure, 80
Connection Validation Required, 80
Connection Validation Settings, 79-80
HADB, 119
Table Name, 80
Validation Method, 80
JDBC
resources, 39
tips, 46-47
JMS
connections, 48
local vs remote service, 58
tips, 47-48
JSP les, 29
pre-compiling, 50
reloading, 52
tuning, 29-31
jvmstat utility, 85
K
keep-alive
max connections, 66
settings, 66
statistics, 63
timeout, 67
L
last agent optimization (LAO), 39
Lighweight Directory Access Protocol (LDAP), 21
Linux, 100
load balancer, 120
locks, HADB, 113
log level, 51
LogBuerSize, 108, 111-112
logger settings, 50-51
LookupsInProgress, 62
M
Max Age, HTTP le cache, 68
max-cache-size, 56
Max Files Count, HTTP le cache, 68
Max Message Fragment Size, ORB, 72
max-pool-size, 54
MaxNewSize, 88
memory, 94, 109
message-driven beans, 47
monitoring
EJB container, 32
le cache, 63
HTTP service, 60
JDBC connection pools, 77
ORB, 70-71
Index
125










