Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know that Hibernate,Struts and Spring is popular java frameworks now a days.
I want to know that what is the difference between them and what is the usage of these frameworks in context of java application.
Hibernate is an object-relational mapping solution for persisting objects in a relational database.
Spring is a framework based on dependency injection, aspect-oriented programming, and libraries for persistence, remoting, messaging, web mvc, etc. It started in 2001 as an alternative to EJBs; it had a strong influence on the EJB3 spec.
Struts was the original Java web MVC framework built on servlets and JSPs.
Spring is larger than both Hibernate and Struts. It can use either, but it has other alternatives for ORM and web MVC.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am planning to develop a Social Network App using Java. I recently learn Spring MVC and Spring Boot. I
am confuse which one is better to use for my app. Can you please give me some suggestion which one is
better to use? And what to use for front end as well?
Ehsan, Spring boot is a "way" to create your software, and spring mvc is a structure that how you build your software within Spring Boot! Spring has many frameworks, such as JPA and Security. You need both and more.
I use Angular and I like it. But, you can choose between react, vue and others.
The frontend does not need to depend on the backend, requests will be using API.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have started learning spring integration. As of now learnt that it provides features like transformers, filters etc
But I am not getting what can be practical use cases of spring integration. Say if I have to just transform java object to xml/json or vice versa.
Should I go ahead with spring integration . I think no as it can be achieved with their 3rd part libraries also . So what can be the use cases of
spring integration ?
Its very much used for enterprise integration.There are many theories and examples that you may have read. I can give you one scenario where we are currently using Spring integration.
We manage a business system in which we have to connect to different telecom operator with different kind service to get some information.Now some telecom operator uses email,soap based web service ,restfull webservice,Sockets ,ftp etc and all these we need to integrate our system. So we have one component which integrates with all the operator just by some simple configuration and very minimal codes.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am very new to Spring and REST. I've practiced few tutorials on Spring from internet and successfully executed few projects.
Now I have a plain Java project (with 5 packages 12 classes). I would like to convert this Java project to Spring framework with REST Services. I have nearly 4 (out of 12) classes (which would be my services). (I don't have any UI).
Can someone please help me out on how to convert this project to Spring-REST? I've been searching all over internet but nothing matches my context.
The fastest way to go IMHO is via Spring Boot Spring Boot makes it easily to bootstrap a fully working Spring-REST-Stack. In combination with Spring Tool Suite, you are up in no time.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
It is better to choose for the first time: Spring Framework or Spring Boot?
The Spring Framework is a core of all other Spring IO projects
Of course Spring Boot is based on Spring Framework, too, and provides the extension configuration on convention model, if say it in two words.
And I'd say it won't hurt to use Boot for all your applications and don't just rely on Spring Framework. Anyway I'm not sure that for your applications it will just enough to use Inversion of Control. I guess you are going to use other Enterprise features, like Security, MVC, JPA, Hadoop etc. And Boot allows to simplify the configurations for most of them.
All other useful info you can find on Spring IO
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am coming from Java Spring background. I am big fan of various Spring modules like Spring Core, Spring Security, Spring MVC etc.
I would now like to implement a web project in PHP and also I would like to leverage features provided by Spring framework. Is it possible to expose Services (Service Oriented Architecture) on server side using Spring and PHP?
I read about this article http://www.cs.montana.edu/~tosun/phpvsjava.pdf wherein a lot of limitations of PHP mentioned w.r.t. Java. Do you suggest any alternatives for overcoming these limitations?
Any help will be highly appreciated.
Thanks!
You should consider Symfony. You get a lot of nice features like dependency injection that you are used to with Spring.
Hope that helps.