Totally agree. Business logic should stay with the application code. This allows for total flexibility. For different situation, just compile in a different class, or use a different xml file, or a different property file. Database is for data. Leave it that way.