Building up java enterprise app from scratch