Are Spring Boot starter dependencies production-ready? [closed] - java

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.

Related

How can I add Spring Boot into an existing project? [closed]

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 2 years ago.
Improve this question
I am new to Spring and Java in general. I am working on a REST API and want to use Spring. I have read the Spring docs on getting started with Spring but most of them only talk about how to start a Spring project from scratch. I already have an existing Maven project and want to add Spring to that. Can anyone help with that?
I'm using IntelliJ CE 2020.3 if that helps.
Using Spring actually impacts the organisation of your code, and Spring boot even more.
I don't know the size of your existing project, but my first idea would be to build a new application structure using spring boot, then copy the "flesh" of your existing code into this structure, step by step.
Using only chosen bits of Spring / Spring boot is difficult, and certainly dangerous (for mental health) with no experience.
hth

Developing Social Network App using Spring Boot or Spring MVC [closed]

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.

Java Project to Spring Restful services [closed]

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.

The difference between the Spring Framework and Spring Boot? [closed]

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

Any Spring PHP project? [closed]

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.

Categories