improve configuration process in Java EE
improvements to configuration
Merge pull request #96 from anilsaldhana/master

see comments