Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

350
Visualizações
Difference between Spring MVC and Spring Core

Are Spring MVC and Struts MVC are alike? and in Spring MVC is it only presentation layer like struts MVC? Does Spring core is used in Spring MVC. could you please elaborate on how Spring Core is used in Spring MVC.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Those are very broad questions and I will try to put them in simple terms.

Does Spring core is used in Spring MVC? How Spring Core is used in Spring MVC?

Yes, Spring MVC uses Spring core. First of all, Spring core is an IOC container which injects the dependencies into various bean classes (like your controller classes, Service classes, etc..). So, spring-mvc leverages the power of the IOC container (spring-core) to set up the web framework components like WebApplicationContext and resolving/creating ViewResolver objects, etc..

I suggest you can look here for a detailed understanding of how spring modules collaboratively work with each other.

Are Spring MVC and Struts MVC are alike? and in Spring MVC is it only presentation layer like struts MVC?

They both have few similarities like they follow FrontController pattern i.e., Spring uses DispatcherServlet and Struts uses ActionServlet. But spring offers much more configurations by using various components (like adapters, handlers, etc..) inside the web application, for example, you can easily configure which content needs to be consumed/produced from controllers. You can look here on this for a detailed explanation on the differences between both of these frameworks.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda