Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What are the Spring pros and cons while selecting it for large projects?

user-image
Question ajoutée par Shahbaz Awan , M2M IoT Software Architect , Wadi Makkah
Date de publication: 2013/10/26
Bassem Zohdy
par Bassem Zohdy , Java Chief Architect , Crossover

Pros:

  1. lightweight container, can deployed on tomcat or jetty there is no need to powerfull AS
  2. can deploy it cros platform today on tomcat tomorrow on jboss with no dependance on AS
  3. have alot of APIs helpfull on most domains of programing for ex. spring MVC, integration, DATA,...
  4. configuration can be in3 ways xml, @nnotation, or java config

Cons:

  1. you have to add its jars to WAR file "then WAR file become very large" or in shared lib and it container will take time to load it at begin "but this point covered by the lightweight container of spring"
  2. not java standard, it is not based on JEE, while it is working with JEE in match
  3. not common to use EJBs with Spring so will find Spring provide alternatives like REST and spring http invoker
  4. sometimes you find difficulty in getting knowledge of Spring

More Questions Like This