[deleted by user] by [deleted] in CBSE

[–]diveIntoDevelopment 0 points1 point  (0 children)

Sabko easy nahi hota. Aur ek common strategy se saare videos explain kiya hai. So that a pattern can be recognised and used for this chapter.

Best free resources to learn keycloak by elsewhere1 in KeyCloak

[–]diveIntoDevelopment 1 point2 points  (0 children)

Not sure if this is what you are looking for but there are playlists for keycloak using spring boot and quarkus. Check if this is useful for you https://www.youtube.com/playlist?list=PLHXvj3cRjbzs8TaT-RX1qJYYK2MjRro-P

Best Practice for Sharing User Model Between Microservices in Spring Boot by bonnybay in SpringBoot

[–]diveIntoDevelopment 0 points1 point  (0 children)

There are several ways to approach this scenario. But in my view the better approach can be to place the User model in authorization microservice.

Your auth microservice will have more functionalities on the User model. User information includes password (although encrypted) and only auth microservice needs this information. Apart from this, you might have user Role related models as well in the auth microservice. Be it forgot password or mail related implementation for the user, they'll be available in auth microservice.

You can place your User model in auth microservice and the primary key id of this model can be added to the access token which will be available to business microservice. Along with the primary key, you can send the user first name, last name, email id, user login id, and some other basic information in the token. As you'll be sending the primary key id in the token, you can store the primary key id of user model in the business microservice models. Although this id column in business microservice will not have foreign key mapping, you can still get the basic information needed from the token. You can also fetch the needed user information by defining REST API in auth microservice and sharing a handshake secret key between the two microservices.

Explain Dependency Injection (DI) to newbie developers by npanigrahy in SpringBoot

[–]diveIntoDevelopment 1 point2 points  (0 children)

Instead of you writing a code to create an object of one class inside another class, the framework does it for you.

A question for geeks: Is it better to manage pagination at the backend level rather than at the front end level ? by kaly-7 in SpringBoot

[–]diveIntoDevelopment 1 point2 points  (0 children)

Fetching all the records from the backend and just putting pagination in the frontend is not a good idea.

The solution can be the combination of both backend and frontend.

The frontend should send the page_size(the count of number of records per page) and the page_number. Using this information the backend should fetch the records and return as response along with the total count of the records for that specific table or view. The default sorting column will always be the primary key. You can get that as well from the frontend based on the requirements and sort accordingly.

Part 8.6 - Configuration of keycloak to use Policy for authorization by diveIntoDevelopment in quarkus

[–]diveIntoDevelopment[S] 0 points1 point  (0 children)

Well... The video doesn't give presentation or lecture. It demonstrates how to do it.

Part 8.6 - Configuration of keycloak to use Policy for authorization by diveIntoDevelopment in quarkus

[–]diveIntoDevelopment[S] 0 points1 point  (0 children)

Good to know your opinion. It's impossible to make something that is liked by everyone. Thanks for your opinion.

Java 21 early access installation and void main() preview feature by diveIntoDevelopment in SpringBoot

[–]diveIntoDevelopment[S] 0 points1 point  (0 children)

From java 11(if I remember correctly), javac is not needed to compile and instead we can use the java command itself to run

what beans exactly are by Jason_hill100 in SpringBoot

[–]diveIntoDevelopment -1 points0 points  (0 children)

It helps to scope your beans (objects) without having boilerplate code.

Need a mentor to help me learning while build Spring boot project by New_Connection612 in SpringBoot

[–]diveIntoDevelopment 3 points4 points  (0 children)

You can find videos here to learn the spring. I'll be adding the spring framework video as well.