I have seen spring , Hibernate and struts2 video tutorial but all says you have to include this and this jar file to run this particular application but tutorial maker does not explain why particular jar file is required.
Today I know these framework , I can do coding but I can not decide which jar file I need to include. so how can I know which jar is for which purpose.
Generally what I do is use Maven to build my applications. When I use a Spring library, I add a dependency only to the library I need, and let maven download all the other dependencies
If you don;t use Maven (or a tool that provides similar dependency management) then you have to manage it yourself, which makes it difficult. Spring itself is divided into several libraries, and some of those libraries are dependent on other Spring libraries, and also dependent on other Open source libraries. You will have to make sure you put the right ones in your classpath. It is maddenning to keep track of everything.
Hardik Patel p
Joined: Jan 23, 2014
Thanks for reply Mr. Jayesh
you mean once I learn maven ,we do not worry about jar files, maven will manage this jars for us. am I right ?