Чашечка Java
10.4K subscribers
3.06K photos
6 videos
49 files
4.29K links
Лучшие материалы по Java на русском и английском

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

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

Другие каналы: @tproger_channels
Download Telegram
Neoflex Hiring Week

Компания Neoflex ищет Senior Java-разработчиков и системных аналитиков из любого города России. Присоединяйтесь к команде Neoflex и получайте welcome-бонус в размере одного оклада.

Читать: «Neoflex Hiring Week»
Ускорение Maven сборки в Docker

Ранее я описал различные методы ускорения ваших Maven сборок.

Сегодня я хотел бы расширить их область применения и сделать то же самое для сборок Maven внутри Docker.


Читать: https://habr.com/ru/post/583600/?utm_campaign=583600
Top 10 Frequently asked SQL Query Interview Questions

In this article, I am giving some examples of SQL queries which is frequently asked when you go for a programming interview, having one or two year experience in this field. Whether you go for a Java...

Read: http://www.java67.com/2013/04/10-frequently-asked-sql-query-interview-questions-answers-database.html
Top 5 Courses to learn Docker for Java Programmers in 2021 - Best of Lot

Hello Java programmer, if you want to learn Docker and looking for the best Docker Courses from Java and Spring Boto developer point of view, then you have come to the right place. Earlier, I shared...

Read: http://www.java67.com/2021/04/top-5-courses-to-learn-docker-for-java.html
Java News Roundup: Grails 5.0, Spring Framework, Hibernate, WildFly and the Kotlin Multik Library

This week's Java roundup for October 11th, 2021 features news from OpenJDK, JDK 18, Spring Framework, Grails 5.0, Micronaut 3.1, Helidon 2.3.4, point and GA releases of Hibernate ORM and Reactive, updates related to the recent GA release of WildFly 25, GraalVM Native Build Tools 0.9.6, Apache Camel 3.11.3, Piranha 21.10.0 and JetBrains introducing the Multik multidimensional array library.
By Michael Redlich

Read: https://www.infoq.com/news/2021/10/java-news-roundup-oct11-2021/
Top 10 Frontend Web Development Skills Beginners Should Learn in 2021 [UPDATED]

Hello guys, if you want to become a frontend developer and wondering which skills you should learn then you have come to the right place. In the past, I have shared free web development courses...

Read: http://www.java67.com/2020/10/best-frontend-skills-web-developer.html
Top 5 Free Amazon Web Services or AWS Courses to Learn in 2021- Best of Lot

Hello guys, if you are thinking about learning cloud technologies or cloud computing, and looking at the various cloud providers like AWS, GCP, or Azure, then you are going in the right direction....

Read: http://www.java67.com/2018/05/top-5-amazon-web-services-or-aws-courses-to-learn-online.html
3 Ways to Return Different Objects from Spring MVC Controller? @RequestMapping and ResponseEntity Example Tutorial

Hello guys, if you want to provide different types from a Controller in Spring MVC and wondering how to do that then you have come to the right place. In the past, I have shared the free...

Read: http://www.java67.com/2021/10/3-ways-to-send-different-content-types.html
Top 5 Courses to learn DevOps for Experienced Java Developers in 2021 - Best of Lot

Hello guys, you may know that DevOps is one of the most in-demand skills for both big and small organizations. Consequently, DevOps Engineer is also one of the highest-paid technical jobs for people...

Read: http://www.java67.com/2020/06/top-5-courses-to-learn-devops-in-2020.html
Eclipse IDE 2021-09 Supports Java 17

The Eclipse Foundation released Eclipse IDE 2021-09, a quarterly update of its flagship project, on September 15, 2021. It supports Java 17 through a plugin and improves Java refactoring, code assist, Git history navigation, and the IDE's dark mode. The recently established Working Group has not reversed the decline in sub-project activities.
By Karsten Silz

Read: https://www.infoq.com/news/2021/10/eclipse-ide-java-17/
How to sort an Array in descending order in Java? Example Tutorial

Sorting an array is one of the common tasks in Programming and you have many algorithms to sort an array, like QuickSort, MergeSort which provides O(NLogN) time performance, and Bucket Sort, Counting...

Read: http://www.java67.com/2016/07/how-to-sort-array-in-descending-order-in-java.html
fibonacci-series in Java.gif
25.5 KB
Fibonacci Series in Java Using Recursion

Fibonacci series in Java
Write a Java program to print the Fibonacci series up to a given number or create a simple Java program to calculate Fibonacci number is common Java questions on fresher...

Read: http://www.java67.com/2016/05/fibonacci-series-in-java-using-recursion.html
Чашечка Java
Photo
Java Optional проверки Java не заменяют все традиционные проверки if-null-else или if-not-null-else

Добавление java.util.Optional  в Java получило радушный прием и обеспечило более плавный код для методов, которые иногда могут возвращать null значения. К сожалению, Optional часто злоупотребляли, в частности, его слишком часто использовали. Иногда я сталкивался с кодом, который использует Optional в случаях, когда нет явного преимущества перед непосредственным использованием null.

Если при вызове кода используется Optional.ofNullable(T) для возвращаемого значения из метода, который он только что вызвал, это может предупреждать, что использование Optional не дает никаких преимуществ перед обычной проверкой на null.

Как и в случае со всеми« красными флажками», это не означает, что передавать возвращаемое значение из метода в Optional.ofNullable(T) всегда плохо (фактически, это необходимо делать для API-интерфейсов, имеющим Optionalпараметр), но обычно этот подход используется, чтобы не предоставлять реального значения, вместо прямого использования возвращаемого значения и его проверки на null.


Читать: https://habr.com/ru/post/582628/?utm_campaign=582628
How to implement Radix Sort in Java - Algorithm Example

The Radix sort, like counting sort and bucket sort, is an integer-based algorithm (I mean the values of the input array are assumed to be integers). Hence radix sort is among the fastest sorting...

Read: http://www.java67.com/2018/03/how-to-implement-radix-sort-in-java.html
Top 5 Courses to learn System Design and Software Architecture in 2021 - Best of Lot

Software design or System design is one of the tricky concepts to master. You can quickly learn a programming language like Java or Python, but creating software using that programming language is a...

Read: http://www.java67.com/2019/09/top-5-courses-to-learn-system-design.html
How to pause a thread in Java.gif
47.4 KB
How to pause a Thread in Java? Thread.sleep and TimeUnit.sleep Example

There are multiple ways to pause or stop the execution of the currently running thread in Java, but putting the thread into a sleep state using the Thread.sleep() method is the right way to introduce...

Read: http://www.java67.com/2015/06/how-to-pause-thread-in-java-using-sleep.html
Ускоряем pow

В этой статье я хочу поделиться несколькими нестандартными алгоритмами для быстрого возведения числа в степень, а также продемонстрировать их реализацию и сравнить их быстродействие в C++, C# и Java.

Сравнить точность алгоритмов можно прямо сейчас на этой странице.

В конце будет краткая памятка по тому, где и когда лучше применять какой из методов. При правильном выборе можно добиться увеличения скорости вычислений в 5 раз при погрешности ~1%, а иногда и вовсе без неё.
Ускорь мои степени!

Читать: https://habr.com/ru/post/584662/?utm_campaign=584662
Top 10 Google Cloud Certifications You can Aim in 2021 - Best of Lot

Hello guys, If you are aiming for Cloud Certifications in 2021 then Google Cloud Platform is one of the most in-demand platforms to go for. It's backed by Google and there is a huge demand for...

Read: http://www.java67.com/2021/01/top-10-google-cloud-certifications.html
Top 5 Python Web Development Courses for Beginners in 2021 - Best of Lot

Hello guys, if you want to become a Python web developer and looking for the best online training courses to start with then you have come to the right place. In the past, I have shared the best...

Read: http://www.java67.com/2020/06/top-5-courses-to-learn-python-for-web-development.html