ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Shahbaz Awan , M2M IoT Software Architect , Wadi Makkah
تاريخ النشر: 2013/10/26
Bassem Zohdy
من قبل 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

المزيد من الأسئلة المماثلة