Tag Archives: java

cxf, spring and http-conf:client problems…

Question:
Is there a way to shorten the timeout in CXF? (http://incubator.apache.org/cxf/)

Answer:
After looking through the CXF documentation, they state that you through Spring (www.springframework.org) can set a timout.

Tagged , , | Comments Off

JCS and performance

JCS is a caching system maintained at apache and is located here: http://jakarta.apache.org/jcs/

When using JCS in a large project, we did a lot of performance testing, and the cache seemed to perform just fine. After some more testing and the use of JProfiler (gotta love that tool) for optimizing, I discovered that lookups in the JCS cache (LRU) where really slow.

Continue reading “JCS and performance” »
Tagged , | 1 Comment

Strange Hibernate behaviour

At work I decided to implement some DAO files in Hibernate. I started by making the smallest DAO first, and began with the work.

After making two HibernateDAO classes and beginning the third (file2DAO), which does nearly the same as second one (file1DAO). I simply copied all the data from the file1.hbm.xml file to the final file2.hbm.xml and edited the file to adjust it to the file2′s class.

Tagged , | 1 Comment