wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring Library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Library" Watch "Spring Library" New topic
Author

Spring Library

Hardik Patel p
Ranch Hand

Joined: Jan 23, 2014
Posts: 32

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
Bartender

Joined: Jan 17, 2008
Posts: 2280
    
  28

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

Joined: Jan 23, 2014
Posts: 32

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
Bartender

Joined: Jan 17, 2008
Posts: 2280
    
  28

You still have to worry about jars. Maven makes it a lot easier.
Hardik Patel p
Ranch Hand

Joined: Jan 23, 2014
Posts: 32

ok Thank you Mr. Jayesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Library
 
Similar Threads
StrutsTestCase and SEVERE: [03:03.503] Dispatcher Initialization Failed
What else is Spring good for?
Bean Validation Framework
Class Loader, Common problem, Help!!!
Direction/Help needed on installing new Spring version 3.0.5.Release