Getting Started with Java 21 - JDK 21 First Look

  Рет қаралды 20,259

Dan Vega

Dan Vega

Күн бұрын

Пікірлер: 38
@kuldeepsidhu1541
@kuldeepsidhu1541 Жыл бұрын
Thanks Dan for the quick look of JDK 21. Would like to see more deep dive videos on JEP 439 and 444.
@DanVega
@DanVega Жыл бұрын
I will be working on some content for Virtual Threads but I unfortunately don't have a ton of experience or knowledge about garbage collection. I think with ZGC it might be something you may want to run some tests on for a particular workload.
@ElSrJuancho
@ElSrJuancho Жыл бұрын
I'm hyped because it is a long term version.
@alexanderruchkov7629
@alexanderruchkov7629 Жыл бұрын
Finally a proper string interpolation? Neat.
@aladeli
@aladeli Жыл бұрын
My favorite new features are: virtual threads and record pattern matching
@DanVega
@DanVega Жыл бұрын
Record Pattern Matching is so nice!
@rajneeshsingh7818
@rajneeshsingh7818 Жыл бұрын
Virtual Threads is mine fav 😊
@DanVega
@DanVega Жыл бұрын
Same! I love it because for most apps it's very little code change.
@eugeniu.
@eugeniu. Жыл бұрын
"A Java version between 8 and 20 is required to execute Gradle. Java 21 and later versions are not yet supported." 😢
@DanVega
@DanVega Жыл бұрын
I know but I'm sure it will be available soon.
@kensaitakeso
@kensaitakeso Жыл бұрын
@@DanVega most frustrating thing there is no anonymous classes support in IDEA. and even IDEA EAP is not released yet :(
@DanVega
@DanVega Жыл бұрын
@@kensaitakesoIt will come 🤷‍♂
@Anbu_Sampath
@Anbu_Sampath Жыл бұрын
3:30 JEP means JDK enhancement proposal.
@DanVega
@DanVega Жыл бұрын
I said the wrong thing 2x today, don't know what's wrong with me haha Thank you for catching that.
@Anbu_Sampath
@Anbu_Sampath Жыл бұрын
@@DanVega I say the same many times.
@happydev512
@happydev512 Жыл бұрын
Hi Dan, what is your vscode theme in this video?, this look really nice.
@DanVega
@DanVega Жыл бұрын
Monokai Pro
@shredsimpson
@shredsimpson 3 ай бұрын
Can I run this on an ARM PC?
@theWorldOfIss
@theWorldOfIss Жыл бұрын
Sir do a video hands on practical with java21
@coderlady_
@coderlady_ Жыл бұрын
Hello, if I were to start a spring boot project from scrach, is it better of using java 21 ?
@JaimeReyCasadoMonokepos
@JaimeReyCasadoMonokepos Жыл бұрын
love these quick tips!!!
@DanVega
@DanVega Жыл бұрын
Glad you like them!
@paragkothari3215
@paragkothari3215 Жыл бұрын
Hi, I will be completing my Bachelor's in 2024 so I am thinking to persue for Masters so my skills sets are like, core Java, Jakarta EE (tutorials available on yt, don't have much deep knowledge), will start spring this month. So like which side I should go cloud/databases means those traditional MS degrees with CS or those courses that are for AI. Like I think to be a SDE for few year then take a jump to may be architect or like those principal dudes but on the side ways that python fears me with AI eating high paying jobs in future... I don't have much knowledge about other ways after Java in the industry. Please guide me and help me how to learn and grow in this industry. We are already connected on LinkedIn, so let's meet there!
@DanVega
@DanVega Жыл бұрын
I think when you're new and aren't sure what to pursue you need to try a few different things and figure out what interests you. I always find that I'm excited about work when I am working with things that I'm excited about. I hope that helps and best of luck with everything.
@alimrad7760
@alimrad7760 Жыл бұрын
Can you talk about Virtual thread , and make an example with spring boot
@DanVega
@DanVega Жыл бұрын
I will be working on that for when 3.2 comes out in November!
@JamesStansell
@JamesStansell Жыл бұрын
I am confused to see --version (two dashes) work for you. I always used to need to use a single dash so I wonder if that is a change that I haven't heard about.
@DanVega
@DanVega Жыл бұрын
I wish every command line tool would get together and come up with a plan, I never know which one to use for which sdk, tool, etc... 🤷‍♂️
@QingtianWang
@QingtianWang Жыл бұрын
For Spring boot webflux app running on earlier jdk version, how to use Java 21 Virtual thread? Or is there any point of using Virtual thread in netty/webflux based app?
@joachimdietl6737
@joachimdietl6737 Жыл бұрын
I will try sdkman
@DanVega
@DanVega Жыл бұрын
It is a great tool
@joachimdietl6737
@joachimdietl6737 Жыл бұрын
@@DanVega i was too quick. i am run windows at work
@yutoobe123
@yutoobe123 Жыл бұрын
Relaunch your Chrome! You miss on security patches.
@DanVega
@DanVega Жыл бұрын
Good call, thank you!
@pawsdev
@pawsdev Жыл бұрын
another good questin - when they will meca normal docs site like Kotlin, Python, JS has, normal beatiful docs site with all features and examples, not this ugly javadocs
@vukotici32
@vukotici32 Жыл бұрын
Unnamed variables not working with lambdas Optional.of("").ifPresent(_ -> { throw new RuntimeException("shold not exits"); }); Caused by: java.lang.ClassFormatError: Illegal field name "" @Dan Vega can you confirm
@DanVega
@DanVega Жыл бұрын
I'm seeing the same issue.
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 20 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Why do programmers feel burnt out?
3:11
Fabian Frank Werner
Рет қаралды 34
Олег Чирухин - Прокачка от 17 до 21. Большое путешествие к новой Java LTS
52:12
JPoint, Joker и JUG ru — Java-конференции
Рет қаралды 4,4 М.
Что нового в JDK 21
52:37
Уголок сельского джависта
Рет қаралды 9 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 424 М.
Java 21 API New Features #RoadTo21
16:48
Java
Рет қаралды 46 М.
Why Rust is NOT a Passing Fad...
8:54
Travis Media
Рет қаралды 50 М.
Test Driven Development (TDD) in Spring
51:09
Dan Vega
Рет қаралды 29 М.