First page Back Continue Last page Overview Graphics
Optimizing and Profiling
Obvious stuff should be done early
- Coarse grain EJB calls
- Caching EJB handles
- Don't cache object Handles
- Use StringBuffer for concats, instead of Strings
- Write Byte/Char arrays to sockets, instead of Strings - its much faster
- If JDK 1.4+, lookout for Bug #4724129 (StringBuffer Memory Leak)
- Appeared in 1.4.1, Fixed in 1.4.1_04, 1.4.2RC
Notes: