r/springframework • • Apr 24 '21

Free resource: Learn Java Spring topics as 30 seconds read shorts

13 Upvotes

I am a Java & Spring developer with over 7 years of experience. I wanted to create a way of learning programming topics in a simple and easy manner. The end product was a free learning platform that is microideation. This is a shorts-based app that contains topics in programming explained as 30 seconds read. Each topic has links to other related topics and you navigate them using swipe gestures.

The app is currently in beta and is free for the first 1000 users registering. It has quality content on

  1. Java

  2. Spring framework

  3. Data structures & Algorithms

  4. Databases

  5. React

Download for free: https://play.google.com/store/apps/details?id=com.microideation.app

I


r/springframework • • Mar 04 '22

Spring Constructor Injection: Why is it the recommended approach to Dependency Injection?

Thumbnail
youtu.be
10 Upvotes

r/springframework • • Aug 29 '21

Question on exploring Spring framework.

10 Upvotes

I am now reading the docs for the Spring Core, but reading alone does not seem like the correct approach. I can not come up with some way to apply the concepts I read about on my own, but maybe you could recommend a repo or two with Spring projects to look at, please?

Like for example, I am now reading about beans, but I have barely seen a single one in projects I have looked at so far.


r/springframework • • Jul 25 '21

Spring Boot Lambda Course

10 Upvotes

I wrote up a quick course this weekend about how to build a (very simple) spring boot based lambda, deploy into AWS with an API Gateway trigger and finally continuously deploy with a github actions pipeline.

Take a look and give some feedback, please
Start:
https://bullyrooks.com/index.php/2021/07/23/spring-boot-lambda-prerequisites/
Course:
https://bullyrooks.com/index.php/course/spring-boot-lambda-on-aws/


r/springframework • • May 25 '21

Free resource: Shorts (30-second read content ) on Spring boot testing annotations and methods

10 Upvotes

r/springframework • • Jul 10 '22

PSA: Since this month Spring Professional Certification has (expensive) mandatory training back

9 Upvotes

Hi everyone, I chose in the last days of 2021 to get certified in Spring with the exam provided by VMware and studied for it in my free time for the first half of this year. Sadly when I went on to purchase the exam voucher, I noticed that EDU-1202 certification has been retired since the beginning of this month: now 2V0-72.22 stands in its place, with the same exact contents and exam price but adding a 3K$ four days online training deemed mandatory. This will probably mean I'll forfeit any attempt since I won't be taking 10x the former cost for a badge that yeah looks good on a CV but it won't double my paycheck. Note that I don't want to argue wether certs are worth it or not. Why this backstep from 2017? I think this cashgrab will likely backfire severely on them: who's willing to pay that? Also, no announcements, no news about it, just a line added in the course details PDF you could completely miss from their website. Sorry for the rant, but I thought community could be interested in be aware of this absurdly greedy move by VMware.


r/springframework • • Aug 31 '21

Explore how the Spring framework works with your code

9 Upvotes

r/springframework • • Jun 29 '19

Learn Spring Framework from tutorials, courses & books

Thumbnail
reactdom.com
9 Upvotes

r/springframework • • May 26 '22

Spring Boot RESTful CRUD Application with IntelliJ IDEA and JPA Buddy

Thumbnail
youtube.com
8 Upvotes

r/springframework • • Apr 30 '21

SPRING BOOT and EMAIL: HOW TO add EMAIL support to your SPRING BOOT App

Thumbnail
youtube.com
8 Upvotes

r/springframework • • Apr 10 '21

Build REST API with Spring Boot and Kotlin

Thumbnail
expatdev.com
8 Upvotes

r/springframework • • Mar 14 '21

SPRING BOOT and SPRING NATIVE: Create native apps that start fast!

Thumbnail
youtu.be
8 Upvotes

r/springframework • • Oct 15 '20

What open source code bases are great examples of Spring usage?

8 Upvotes

Looking for examples of Java projects in active development that show advanced Spring features & benefits. Thanks!


r/springframework • • Apr 28 '21

HOW TO send EMAIL with SPRING BOOT | Live Coding

Thumbnail
youtube.com
7 Upvotes

r/springframework • • Apr 25 '21

Spring Web vs Spring Reactive Web questions

7 Upvotes

I am familiar with Spring Web, and I understand that Reactive Web is asynchronous and non-blocking.

I just have a few questions.

-Is it a big deal if I don't use Reactive Web with a frontend that uses React (or any other web app type library)?

-Can't I just use Spring Async (instead of Reactive Web)?

-I have heard there are a few things that are not 'Reactive' yet, like Elasticsearch. Can I still use it with Reactive Web?

-Can I use SQL with Reactive Web?

-Is using Reactive Web that much different than Spring Web?


r/springframework • • May 17 '21

What is the best design pattern/s to use for always changing business logic in the service layer? Is it factory method? Other suggestions are welcome.

6 Upvotes

Just to give a background, I have been working for a team composed of 15 developers in the financial field where we have a lot of iterations on a single code base. (Unfortunately it is not a microservice) Each of the changes are reflected in multiple branches that we are having trouble tracking them since most of us send pull requests almost every day.

One thing I can think of is a rewrite of our code base where it will be a lot easier to decouple the business logic layer.

Any suggestions or if you can share ideal public repositories I can take a look at, that would be really helpful. Thank you.


r/springframework • • Feb 04 '21

Spring Data Redis + React Tutorial

6 Upvotes

I’ve started a video tutorial on Spring Data Redis. Building a simple API with it and integrating with a React front end. First two episodes here -> https://youtu.be/XJoJCMfCSTk and here -> https://youtu.be/VRuk51Nnr9s


r/springframework • • Oct 01 '20

Completed this project in 24 hours without sleeping, it was an interview assignment.

6 Upvotes

Just laid down closing my eyes for a bit before start working on it. While laying down - planned everything, wrote down on paper - how I will pull that off. It was really challenging for me as it was my first ever interview assignment applied for a reputed company. 😅

Github: https://github.com/jamilxt/java_spring_mvc_esmpanel
.


r/springframework • • Jul 16 '22

Could someone please recommend some resources for spring?

5 Upvotes

r/springframework • • Feb 23 '22

Using Amazon Aurora Global Databases With Spring

Thumbnail
source.coveo.com
5 Upvotes

r/springframework • • Jan 30 '22

Spring Config Server Problem with Profiles

Thumbnail
stackoverflow.com
5 Upvotes

r/springframework • • Jun 30 '21

Spring Professional Certification Exam questions

5 Upvotes

For those that have passed this, what study materials did you find most worthwhile? I've been reading the big book from Apress, as well as using the 8 part course from Udemy.

Any other tips for this? How was the experience of taking the test itself? I'm assuming the only option is doing it online only, though I'd much rather actually go to a testing location.


r/springframework • • Jun 04 '21

Springboot/Cloud Course: design, implement, test and deploy springboot microservices

5 Upvotes

Last year, I created a series of posts that explain how to build a set of spring boot based microservices and a react based UI in order to explain design, implementation, testing and deployment best practices.

This series explains: kubernetes and minikube, helm, unit and component testing, tracing and logging, code coverage and test reporting, build pipelines, ports and adapters/hexagonal/event driven architecture and so much more... (!)

If any of this interests you, take a look and give me some feedback. I appreciate it!

Course page:https://bullyrooks.com/index.php/course/spring-with-kubernetes/

First Step (setup an IDE)https://bullyrooks.com/index.php/2020/03/30/simple-spring-boot-service-to-kubernetes-application-step-1-d67f80487848/


r/springframework • • Mar 27 '21

How to Debug Your SPRING NATIVE App | Spring Boot Apps

Thumbnail
youtube.com
5 Upvotes

r/springframework • • Mar 17 '21

How to properly create spring boot starters with functional beans?

5 Upvotes

I create a few different libraries as spring-boot starters and want to use functional bean definitions. I currently have something like this:

@Configuration
@EnableConfigurationProperties(
    MeshConfiguration::class
)
class SdkAutoConfiguration : ApplicationContextInitializer<GenericApplicationContext> {

fun beans() = beans {
    environment({ this.getProperty("grpc.enabled") == "true" }) {
        bean {
            GrpcServer(ref(), ref(), ref("qualified name"), ref(),
            ref(), ref(), ref(), ref())
        }
    }
    bean<CachedGrpcChannelBuilder>(isLazyInit = true)
    bean<DefaultGrpcStubManager>(isLazyInit = true)
    when {
        isFoo() -> bean { MeshNodeResolver(ref(),DeploymentEnvironment.FALCON) }
        isBar() -> bean { MeshNodeResolver(ref(),DeploymentEnvironment.FIRST_PARTY) }
        else -> bean {  MeshNodeResolver(ref(), DeploymentEnvironment.DOCKER) }
    }
}

fun BeanDefinitionDsl.isFoo() = env.acceptsProfiles(Profiles.of("foo"))
fun BeanDefinitionDsl.isBar() = env.acceptsProfiles(Profiles.of("bar"))

override fun initialize(ctx: GenericApplicationContext) {
    ctx.apply {
        beans().initialize(this)
    }
}

}

and I have a corresponding spring.factories under META-INF/ with

org.springframework.context.ApplicationContextInitializer=\
  com.salesforce.dataprotection.SdkAutoConfiguration

I could not get this to work using the typical

org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.salesforce.dataprotection.SdkAutoConfiguration

as I couldnt "register" these beans properly without making SdkAutoConfiguration a context initializer. Is there any way to do this? Currently unless I @Import MeshConfiguration then my application cannot find the bean and fails to start up (or i use component scanning under this package - but id rather not).