Java based application context configuration