File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Library

 
Hardik Patel p
Ranch Hand
Posts: 40
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

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.

Please help me.

Thank you
hardik
 
Jayesh A Lalwani
Rancher
Pie
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 40
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Thank you
Hardik
 
Jayesh A Lalwani
Rancher
Pie
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You still have to worry about jars. Maven makes it a lot easier.
 
Hardik Patel p
Ranch Hand
Posts: 40
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok Thank you Mr. Jayesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic