add log4j,hibernate and other config file
add dependency and some java code