Information Technology Blog

Thursday, October 06, 2005

JBoss presentation

JBoss consultant was running a presentation on tuning applications running within JBoss. Here are a few interesting notes on it.
- JRockit JVM 5 alone (vs. Sun's JVM) can speed up application up to 50%
- MS SQL JDBC driver is buggy. jTDS diver http://jtds.sourceforge.net/ is apparently a lot better.
- Persistence: forget about EJB (CMP & BMP) and go with Hibernate.
- JSF (Struts) + Hibernate is very popular choice of technologies for web apps.
- Don't design you own frameworks, use available ones.
- http://www.centos.org/ is free legal equivalent of RedHat Enterprise Server.
- CMPs are harder to troubleshoot
- Use surrogate keys
- Use container caching
- Many to many relationships good candidates for lasy loading
- JMS performance had improved significantly
- Use clustering on production (everybody does)

JBoss vs. (tomcat + hibernate) can offer following advantages:

- Session replication (uses JBossCache)
- Farming & clustering
- Integration: all in one package
- Admin interface comes with support agreement
- hot deploy / redeploy any component

0 Comments:

Post a Comment

<< Home