• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Library

 
Ranch Hand
Posts: 40
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok Thank you Mr. Jayesh
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic