Чашечка Java – Telegram
Чашечка Java
8.86K subscribers
3.86K photos
12 videos
56 files
6.32K links
Лучшие материалы по Java на русском и английском

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels
Download Telegram
5 Essential Features Every Java Developer should learn in 2022

Hello Java programmers, If you are wondering which new Java feature you should learn in 2022 then you have come to the right place. Earlier I have shared Java Developer RoadMap and essential Java...

Read: http://www.java67.com/2021/01/top-5-new-java-features-to-learn-in-2021.html
5 Best Spring Framework Courses for Beginners to Learn Online in 2022

Hello Java developers, if you want to learn Spring Framework and looking for the best resources like books, online courses, and tutorials then you have come to the right place. Earlier, I have...

Read: http://www.java67.com/2021/11/5-best-spring-framework-courses-for.html
Top 10 Free Java Courses for Beginners to Learn Online in 2022 - Best of Lot

Hello guys, the Internet is full of useful resources, and no matter what you want to learn, there is something useful available for free. You just need to commit your time and effort. But at the same...

Read: http://www.java67.com/2018/08/top-10-free-java-courses-for-beginners-experienced-developers.html
Top Java Blogs Weekly: Best of 49/2021

Best of Top Java Blogs, year 2021, week 49

Read: https://www.topjavablogs.com/news/best-of-49-2021
Microsoft Continues Its Embrace of Java by Joining JCP

Microsoft joined the Java Community Process (JCP), which governs the Java language evolution. This continues Microsoft's embrace of Java, such as having its own OpenJDK distribution and constantly improving Java support in Visual Studio Code. Microsoft is also a strategic member of both the Eclipse Foundation and the Eclipse Working Group for Adoptium. Adoptium was formerly known as AdoptOpenJDK.
By Karsten Silz

Read: https://www.infoq.com/news/2021/11/micosoft-joins-jcp/
Top 5 Free Microsoft Power BI Online Courses for Beginners to Learn in 2022 - Best of Lot

Hello guys, if you want to learn Power BI in 2022, one of the leading too for Data Visualization and Business Analytics, and looking for free resources like free online courses, books, and tutorials,...

Read: http://www.java67.com/2021/05/top-5-free-power-bi-courses-for..html
5 Best Git Online Courses for Beginners to Learn in 2022 [UPDATED]

Hello guys, if you want to learn Git and Github and looking for the best resources then you have come to the right place. Earlier, I have shared free Github courses and free websites, and in this...

Read: http://www.java67.com/2019/04/top-5-courses-to-learn-git-and-github.html
Top 6 Online Course to learn Java 9, 10, 11,12 and 14 in 2022 - Best of Lot

Hello guys, even though Java 15 is available now, many developers are still on Java 8 and not really caught up with changes in Java 9, 10, 11, 12, 13, or Java 14. If you are also in the same boat and...

Read: http://www.java67.com/2018/02/5-online-courses-to-learn-java-9-better.html
Top 5 Scrum Master Courses & Tests to Crack PSM Certification in 2022 - Best of Lot

If you want to become a Scrum Master and grow your career, or preparing for Scrum Master Certification (PSM) in 2022 and looking for the best Scrum courses, classes, books, and tutorials, then you...

Read: http://www.java67.com/2021/03/best-professional-scrum-master-psm-certifcation-courses-and-tests.html
Top 10 Java 8 Tutorials, Classes, and Courses in 2022 - Best of Lot [UPDATED]

Hello guys, if you want to learn Java 8, in a particular lambda expression, Stream API, method reference, and new Date and Time API, and looking for the best resources then you have come to the right...

Read: http://www.java67.com/2014/09/top-10-java-8-tutorials-best-of-lot.html
Однопоточный JavaScript и многопоточная Java: что быстрее?

Асинхронное выполнение на Java и JavaScript

При необходимости в JavaScript можно запускать дополнительные потоки. Но обычно в Node.js или в браузерах весь код на JavaScript выполняется в одном потоке. В браузерах один и тот же поток рендерит содержимое веб-страницы на экран. По сути, один поток выполнения занимается всеми задачами, потому что приложения JavaScript пользуются преимуществами асинхронного выполнения. Для асинхронного выполнения задача помещается в очередь задач. Задачи из очереди одна за другой выполняются единственным потоком. Например, вторая строка кода выполняет планирование асинхронной задачи, которая запускается после завершения текущей задачи:

console.log("1");
setTimeout(()=>console.log("2"));
console.log("3");

Результатом работы кода будет 1 3 2.

В Java API под асинхронным выполнением обычно подразумевается, что задача выполняется в новом выделенном потоке. Например, представленный ниже код при помощи метода supplyAsync() планирует асинхронную задачу:

System.out.println("current thread: " + Thread.currentThread().getName());
var future = CompletableFuture.supplyAsync(() -> Thread.currentThread().getName());
System.out.println("current thread: " + Thread.currentThread().getName());
System.out.println("task thread: " + future.get());

Результат работы программы показывает, что текущий поток создал новый поток для выполнения задачи:

current thread: main
current thread: main
task thread: ForkJoinPool.commonPool-worker-1

Проблема множественных потоков заключается в том, что Java runtime не может создавать бесконечное их количество. Когда все запущенные потоки ожидают, а новые потоки создать нельзя, приложение тоже ничего не будет делать.

Читать: https://habr.com/ru/post/592017/?utm_campaign=592017
Top 6 Courses to Learn Dynamic Programming for Coding Interviews in 2022 - Best of Lot

Hello guys, if you are preparing for a coding interview but struggling to solve Dynamic programing based coding problems and looking for the best resource to improve your Dynamic programming...

Read: http://www.java67.com/2021/11/best-dynamic-programming-courses-for.html
Top 10 Online Courses to Learn Data Structure and Algorithms in 2022 - Best of Lot

Hello guys, In the past, I have shared a lot of useful resources like books and tutorials to learn Data Structure and Algorithms for both beginners and experienced programmers. I have also shared a...

Read: http://www.java67.com/2019/07/top-10-online-courses-to-learn-data-structure-and-algorithms-in-java.html
10 Essential JVM Options for Production Java Applications

Hello guys, this is a brief guide of appropriate JVM options, which you will often see in production Java systems. As a Java developer, you should know what these JVM options mean, their importance,...

Read: http://www.java67.com/2016/08/10-jvm-options-for-java-production-application.html
Top 6 Online Courses to learn AWS S3 and Dynamo DB in 2022 - Best of Lot

If you want to learn AWS S3 and DynamoDB in-depth and looking for the best online courses to start with then you have come to the right place. In the past, I have shared in-depth courses to learn AWS...

Read: http://www.java67.com/2020/08/top-5-courses-to-learn-aws-s3-and-dynamoDB-in-depth.html
Top 5 Free Apache Spark Course for Beginners to Learn Online in 2022 - Best of Lot

Hello guys, if you are thinking of learning Apache Spark to start your Big Data journey and looking for some excellent free resources, e.g., books, tutorials, and courses, then you have come to the...

Read: http://www.java67.com/2018/04/5-free-apache-spark-course-for-java-scala-python-developers.html
Top 5 Free Kotlin Courses for Java Programmers to Learn Online in 2022 - Best of Lot

Hello guys, If you are in Android application development or server-side Java development, then you might have heard about the Kotlin programming language, created by JetBrains, the company behind...

Read: http://www.java67.com/2020/05/5-free-courses-to-learn-kotlin-for-java-and-Android-developers.html
Top 5 Java Performance Courses for Experienced Developers to Learn in 2022 - Best of Lot

Hello guys, if you have been doing Java development for few years, then you know that Performance is the key for any Java application. As a senior Java developer, one should know how to improve the...

Read: http://www.java67.com/2020/04/top-5-advanced-courses-to-learn-java-perofrmance-concurrency-memory-management.html
Announcing Cryostat 2.0: JDK Flight Recorder for Containers

Cryostat, a container-native JVM application developed by Red Hat, provides an API for monitoring and profiling Java containers using Java Flight Recorder (JFR).
Cryostat brings JFR to container age allowing analysis and profiling of multiple JVMs directly from a central hub.
By Andrea Messetti

Read: https://www.infoq.com/news/2021/11/cryostat-jvm-profiler-container/
Java News Roundup: Micronaut 3.2, Quarkus 2.5, JDK 18, Spring HATEOAS 1.4, JKDMon 17.0.14

It was a relatively quiet news week for the November 22nd, 2021 edition of the Java roundup featuring news from OpenJDK JEPs, JDK 18, Project Loom Build 18-loom+6-282, Spring HATEOAS 1.4, Micronaut 3.2, Quarkus 2.5.0, Apache Camel Quarkus 2.5.0 and JDKMon 17.0.14.
By Michael Redlich

Read: https://www.infoq.com/news/2021/11/java-news-roundup-nov22-2021/
Пример использования Java утилиты javap

JDK поставляется с рядом полезных утилит, размещенных в каталоге инструментов bin. Для тех, кто хочет декомпилировать байт-код, особый интерес представляет Java утилита javap.

Утилита командной строки javap, также известный как дизассемблер файлов классов Java, выводит соответствующую информацию о любом скомпилированном классе Java, который его просят проверить.


Читать: https://habr.com/ru/post/592161/?utm_campaign=592161