J2EE project using modular function to build the project