Monthly Archives: December 2008

How to pick a good web hosting company for Java webapp

I currently use Dreamhost for my own company “JustProposed.com” that is powered by typical LAMP solution. It is a great shared hosting solution but it doesn’t support website powered by Java. If you have Java website, I suggest you to try a web hosting company that provides you VPS (Virtual Private Server) solution. VPS occupies [...]

Wiring up Flex, Mate, BlazeDS, Spring, Hibernate and MySQL with Maven 2 – Part 1

Introduction This article is written on top of the great work that Sébastien Arbogast has done. He has written 3 articles that showed you how to wire up Flex, BlazeDS, Spring, Hibernate and MySQL with Maven as build process. I have included his articles below as your reference. The Flex, Spring, and BlazeDS full stack – [...]

Database concurrency control – MVCC

Concurrency Issue – Lost Update Lost update is the key concurrency problem that we try to avoid: From the sequences above, SELECT-UPDATE transaction A will overwrite the update Transaction B made to the balance. .  If the transactions of A and B would serialize properly, the correct balance value after these transactions would be 700. [...]

Build your project via Maven 2

POM demysterified POM lets you to tell maven the “what” and maven knows the “how”. Put it in another way, POM gives you an abstraction layer over your build process to make things more explicit, more standard and easier to follow. There are several key elements in POM that I want to talk about. Below [...]