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
Related
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 1 year ago.
Improve this question
I'm learning spring boot to develop an eCommerce website by myself. I consider that starter dependencies like spring-boot-starter-web, spring-boot-starter-security can be used for a production environment or just for learning purposes?
The "starters" are Spring Boot's dependency management and auto-configuration mechanism. The term "starter" does not aim to indicate that it's for non-production uses cases, it is probably just used to emphasize that it gets you started quickly. See the following explanation from the Spring Boot documentation:
Starters are a set of convenient dependency descriptors that you can include in your application. You get a one-stop shop for all the Spring and related technologies that you need without having to hunt through sample code and copy-paste loads of dependency descriptors.
In order to understand starter dependencies better, I suggest reviewing section "Creating Your Own Starter" from the Spring Boot documentation.
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 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 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.
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.