-
Recent Posts
- Problems connecting to unix:///var/mysql/mysql.sock
- Using rails and respond_to to include nested data
- Handle different environments with PHP
- MySQL 5.5, Mac OS X and startup item security error
- Rails plugin development using WebMock
- Read more, continue reading, and how to easily fix it using WP
- Windows clients with CUPS and Samba
- Making a Cafe Latté without a “do it all” machine
- Using form_tag and collection_select with Rails3
- Switching coffee and PHP testing
Tags
ajax apache api authentication cakephp coffee configuration cups cxf daily365 design firebug gedit hibernate history java javascript jcs job language linux mac mvc mysql non-tech opensource paginate php plugin projects prototypejs quick tip rails ror ruby samba smashingmag snapopen spring terminal test twitter usability wordpress wpml
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.
Continue reading “cxf, spring and http-conf:client problems…” »
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” »
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.
Continue reading “Strange Hibernate behaviour” »