- Видео 1 357
- Просмотров 19 333 928
SpringDeveloper
США
Добавлен 20 янв 2011
Spring is the most popular application development framework for Java™.
Millions of developers use Spring to build simple, truly portable, fast and flexible JVM-based systems and applications.
Learn more about Spring at www.spring.io
Millions of developers use Spring to build simple, truly portable, fast and flexible JVM-based systems and applications.
Learn more about Spring at www.spring.io
Spring Tips: Easy Password Rotation with Hashicorp Vault
Hi, Spring fans! Password rotation is an essential ingredient in a secure production system, and Hashicorp Vault and Spring make it easy to do. In this episode, Hashicorp principal developer advocate Rosemary Wang (@joatmon08) helps us make it happen, pulling together Spring Cloud Vault, and Hashicorp Vault, with aplomb.
the code is here: github.com/spring-tips/vault-password-rotation
#java #springboot #hashicorp #vault #password #rotation #security #kotlin
the code is here: github.com/spring-tips/vault-password-rotation
#java #springboot #hashicorp #vault #password #rotation #security #kotlin
Просмотров: 1 809
Видео
Spring Tips: Vector Databases with Spring AI
Просмотров 3,7 тыс.День назад
Hi, Spring fans! In this installment, we look at the amazing support for vector databases in Spring AI. the code is here: ruclips.net/video/yPu-WV_00Tk/видео.html
Spring Tips: Beans, Beans: What's in a Spring bean?
Просмотров 7 тыс.14 дней назад
HI, Spring fans! In this installment we explore the essential Spring bean. What are they, how are they created, and what do they mean to you? #java #java21 #springframework #springboot
Spring Tips: Spring Cloud Gateway for Spring MVC
Просмотров 5 тыс.21 день назад
Hi, Spring fans! In this installment, we revisit Spring Cloud Gateway, this time to look at the fantastic new support for Spring MVC, made all the more amazing by Java 21's virtual threads. #Java21 #java #SpringBoot #graalvm #springcloud #cloudcomputing #apigateway
Spring Tips: GRPC
Просмотров 7 тыс.Месяц назад
Hi, Spring fans! In this installment we look at one way to build GRPC services with Spring Boot
Spring Tips: the Spring Expression Language
Просмотров 4,9 тыс.Месяц назад
Hi, Spring fans! In this installment, I look at the excellent Spring Expression Language, an embedded language for resolving simple expressions that is built right into the Spring Framework. #java #springboot #spel #jvm #springframework
Spring Tips: Hello, Java 22!
Просмотров 13 тыс.Месяц назад
Hi, Spring fans! In this installment we talk about the amazing new Java 22 release! #java #springboot #java22 #java21
Spring Tips: Distributed Job Scheduling with Jobrunr
Просмотров 8 тыс.Месяц назад
Spring Tips: Distributed Job Scheduling with Jobrunr
Spring Tips: the Jetbrains Exposed ORM for Kotlin
Просмотров 4,8 тыс.Месяц назад
Spring Tips: the Jetbrains Exposed ORM for Kotlin
Spring Tips: Spring Batch Remote Partitioning, your easy button for data scale!
Просмотров 5 тыс.2 месяца назад
Spring Tips: Spring Batch Remote Partitioning, your easy button for data scale!
Spring Tips: the Spring Authorization Server: durability of data
Просмотров 4 тыс.2 месяца назад
Spring Tips: the Spring Authorization Server: durability of data
Spring Tips: the Spring Authorization Server: securing SPAs and messaging flows
Просмотров 6 тыс.2 месяца назад
Spring Tips: the Spring Authorization Server: securing SPAs and messaging flows
Spring Tips: The Spring Authorization Server
Просмотров 14 тыс.3 месяца назад
Spring Tips: The Spring Authorization Server
Spring Tips: CQRS and Axon Framework
Просмотров 9 тыс.3 месяца назад
Spring Tips: CQRS and Axon Framework
Spring Tips: Spring's Application Event Subsystem
Просмотров 12 тыс.4 месяца назад
Spring Tips: Spring's Application Event Subsystem
Migrate your Spring Apps with Ease with OpenRewrite
Просмотров 8 тыс.4 месяца назад
Migrate your Spring Apps with Ease with OpenRewrite
Spring Tips: Making the Joyful Jump to Java 21
Просмотров 29 тыс.7 месяцев назад
Spring Tips: Making the Joyful Jump to Java 21
Spring Modulith - A Deep Dive (Workshop)
Просмотров 14 тыс.8 месяцев назад
Spring Modulith - A Deep Dive (Workshop)
Spring into the AI Era: A Practical Exploration for Developers (Workshop)
Просмотров 4,5 тыс.8 месяцев назад
Spring into the AI Era: A Practical Exploration for Developers (Workshop)
Hands-On Cloud Mastery: Deploying Spring Native Apps with GraalVM (Workshop)
Просмотров 1,1 тыс.8 месяцев назад
Hands-On Cloud Mastery: Deploying Spring Native Apps with GraalVM (Workshop)
Using Spring Cloud Data Flow to Run Spring Boot 2.x and 3.x Workloads (Workshop)
Просмотров 2,5 тыс.8 месяцев назад
Using Spring Cloud Data Flow to Run Spring Boot 2.x and 3.x Workloads (Workshop)
Spring Meets GemFire Meets Native: Take Your Spring Apps to the Next Level
Просмотров 3928 месяцев назад
Spring Meets GemFire Meets Native: Take Your Spring Apps to the Next Level
Mind the Gap: Jumping from Spring Boot 2.x to 3.x
Просмотров 18 тыс.8 месяцев назад
Mind the Gap: Jumping from Spring Boot 2.x to 3.x
Spring Modulith - Spring for the Architecturally Curious Developer
Просмотров 9 тыс.8 месяцев назад
Spring Modulith - Spring for the Architecturally Curious Developer
Very nice job and very useful.
goat
we are getting below error Applying recipes would make no changes. No patch file generated.
NICE thnk Josh
Great video! Is there an out-of-the-box secret to property wiring? We have a secret "the-database" which we are not allowed to edit with the content {"host":"full-hostname", "port":5432, "username":"the-user", "password":"the-password", "name":"database-name"} And we would be really happy if we could just spring.cloud.vault.uri=${VAULT_ADDR} spring.cloud.vault.token=${VAULT_TOKEN} vault.secrets-to-load=the-database spring.datasource.url=jdbc:postgresql://${vault.the-database.host}:${vault.the-database.port}/${vault.the-database.name} We are currengtly doing this with an ApplicationContextInitializer where we get the secrets values and doing System.setProperty("vault." + secret + "." + key, value); before the application starts, but if there's already an implementation for this use case we would like to remove ours.
Unfortunately this approach does not work if you want to for example call another service and include your correlation id in logging of request / response. MDC is lost. Even if the thread does not change.
Dangs, sucks that Rob ran out of time, would have loved to see him do the full configuration & test + other demos
Great video. I tried this token relay and gateway proxy thing, but the gateway client does not refresh the token. Is there any additional configuration that I missed?
Very good and simple explanations. i tried and it works great, changed to my samples, also worked very good and very fast.
Learned a lof from it. but I got a problem, when I try to grand user authorities in auth-service application with code: ``` @Bean UserDetailsService userDetailsService() { InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager(); manager.createUser(User.withDefaultPasswordEncoder() .username("user") .password("password") .authorities("SCOPE_openid", "order:read") .roles("USER") .build()); return manager; } ``` and then try to get the user authorities in the service application with code: ``` class MeController { @GetMapping("/me") Map<String, String> me(Principal principal) { for (GrantedAuthority authority : ((JwtAuthenticationToken) principal).getAuthorities()) { System.out.println("authority: " + authority.getAuthority()); } return Map.of("name", principal.getName()); } } ``` I found only `SCOPE_openid` authority returned, but I want `order:read` also returned. why and how? anyone can help me here?
Amazed by your clean and thorough explanation, like always.
Great Presentation !
What theme are you using in your intellij?
Does spring boot upgradation along with jdk 17 bring performance improvement in terms of application response time?
Now with java 21, you can code value objects with Java records ;)
I would like to see an example not depending on de openai api with its token... I mean, something more independent like PostgreSQLMLEmbedding etc...
this is great! cleared up a lot of 'magic' happening behind the scenes for spring and springboot.
git 地址可以发一下吗
Links get deleted automatically but i am sure you can find the code in user repo called / spring-tips
@@ibrahim-ry6sn Got it. Thank you
"setting spring security log leve to TRACE", thank you very much for key.
"on my second favorite place on the Internet", 😂😂😂 always
Cool topic. I want to learn about spring security recently.
Great presentation with Spring Bean 💪
my next target is set 🎯
Great simple and sweet small example enough to get started
One thing I’m unsure about when writing Spring applications is what application layer objects should be managed by Spring and what objects should be managed by my application.
Thank you for the great video.
Could you guys do a video series on the evolution of basic concepts of Spring framework over the years?
That is amazing. U real know what most developers don't know spring staff Thnks
Amazing how the framework evolved over the time. Thanks for sharing this
But what we need to do, when we getting cid from context to coroutine? How to copy between reactor context and mdc context and coroutine context and good logs? Most use case very hard(
Thank you for helping me to understanding spring beans.
didn’t know the origin of the name 😅
Concerning SOAP, SpringBoot uses a Contract-First approach, requiring developers to write verbose wsdl. Do you think that spring will adopt Contract last approach that simplifies the process eg like .Net?
Thank you.. love that you explain the evolution, it gave a better understanding of what you were showing what spring boot was doing in the end. I have been working with spring boot for a long time now and I still have a lot to learn.
Please give him a better microphone 😢😢
Sounds like he recorded in the bathroom
for who using spring since xml😢
My company does, and still uses a reasonable amount of that XML (along with pretty much all the techniques discussed here). The XML form can actually be pretty useful some times - in particular, it's good for dealing with code which might be optional, since there's no compile-time dependency, and no runtime dependency unless the code is activated by profile.
how can get the spring shirt?
Hi Josh! When should we use DataClassRowMapper instead of manual mapping?
Thank you for these amazing content
Is this STS IDE?
No, it's jetbrains intelij idea IDE
No jet brains intellij
Ok anyone uses STS? Does it hang a lot on your side too?
@@linisha6046yes, still used daily for work, love the quick search Ctrl-Alt-Shift + L . Usually 10 or more Spring Boot projects open. Locks up the UI very rarely, normally I leave it running for weeks at a time.
I just up the memory to about 4GB in the ini file on a 32GB machine
Very fun and informative demo Josh! Thanks. I'll definitely use this soon on few personal projects
As a Java Developer , You could have use jwebserver comes along with jdk to serve your html and javascript. I’m sad that you used python for that
Hi Josh, thank you for the presentation. It's really helpful and needed. Can you please let me know what is the IDE you used here ???
Hello Josh, Great job in explaining in detail. This really helps and gives a glimpse of Spring in the AI world. The world really needs Spring AI. Btw, could you please share the pdf file you have used in this demo or uploading to GitHub would be really helpful to try the same on our own? Thanks a bunk in advance
Thx for this tips
Hi Josh, very interesting video, but I try to replicate it and only authentication works, subsequent redirection to gateway fails with no static resources found. I also tried your repository but I get the same result (small side note: your repository is a bit dirty due to the dependency on spring-ai and with the use of reserved port 1010). Thank you.
Hello, are you accessing localhost or 127.0.0.1 in your browser? Try to access localhost instead of 127.0.0.1 and it will work. Or change the redirect uri to match the server you are trying to access from the browser. Otherwise it will fail because of the cookies. And yes port 1010 is reserved you are right about that, it needs to be changed
Thanks for the great introduction to the Spring Expression Language, Josh!
It was an awesome and very impressive demo of the new feature.
Does a gateway still make sense if we have two instances of the backend very far apart? Let's say there are two instances of the same backend, one in the US and one in Asia (for minimal latency purposes). If the gateway is located in the US, a request coming from Asia has to go all the way to the US which then forwards it to Asia and back. Isn't just slowing things down?
You can deploy the gateway as multiple instances too and deploy them local to the region. Use the cdn or other strategies to identify the nearest instance
@@she..... Yes that makes sense. I am currently using Geo DNS to send the request to the right region