in this blog there are probably hundreds of sections that will explain about spring and hibernate. hope you enjoy :
Spring Beans is a Configuration File of your Beans and dependency in your Spring Project. there many Style of Spring Beans usage. but at least there 2 way : XML Configuration File, this way is the first way that used this method is the first method used during the first Spring release. Class Configuration File. this is modern way. you can use java class file to save your spring bean configuration. ok inthis post i will practice XML Configuration file you can donwload from my git hub Here . download and paste it in root of src folder in your spring project. then register your class to the spring bean create another java main class then this is how spring work .... i put my xml configuration inside folder "configFile". run this app and you will get this.

Comments
Post a Comment