uk
Feedback

Не попадись на ботовода! Telemetrio знаходить і позначає такі канали мітками 👉 Хочеш бачити мітку, оформляй підписку

Чашечка Java

Чашечка Java

Відкрити в Telegram

Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels

Показати більше
8 281
Підписники
-124 години
-37 днів
-7130 днів
Архів дописів
JobRunr, the Java Scheduler Library, Released Version 6.0 JobRunr, a Java library designed to handle background tasks in a re
JobRunr, the Java Scheduler Library, Released Version 6.0 JobRunr, a Java library designed to handle background tasks in a reliable manner within a JVM instance, released the new version 6.0 after a year of development since the release of version 5.0 in March 2022. By Andrea Messetti Read: https://www.infoq.com/news/2023/02/jobrunr-scheduler-java/

Java News Roundup: Helidon 4.0-Alpha4, Spring, GlassFish, Quarkus, Ktor, (Re)Introducing RIFE2 This week's Java roundup for J
Java News Roundup: Helidon 4.0-Alpha4, Spring, GlassFish, Quarkus, Ktor, (Re)Introducing RIFE2 This week's Java roundup for January 30th, 2023 features news from JDK 20, JDK 21, Spring Tools 4.17.2, GlassFish 7.0.1, Quarkus 2.16.1, Helidon 4.0.0.-ALPHA4, Hibernate Search 6.1.8 and 5.11.12, PrimeFaces 11.0.10 And 12.0.3, Apache Commons CSV 1.10.0, JHipster Lite 0.27.0, Ktor 2.2.3 and (re)introducing RIFE2 1.0. By Michael Redlich Read: https://www.infoq.com/news/2023/02/java-news-roundup-jan30-2023/

How to use Stream and Lambda Expressions to write better code in Java? Examples Hello guys, writing Clean Code in Javahas alw
How to use Stream and Lambda Expressions to write better code in Java? Examples Hello guys, writing Clean Code in Javahas always been my passion, more so after reading the Clean Code book by legendary author Uncle Bob Martin. I always look for ways to make my concise yet more readable but sometimes Java's verbose nature comes into the way. Thankfully after the introduction of powerful features like Lambda expression and Stream API, writing clean code in Java has become much easier. Streams enable the user to combine commands in some sort of pipeline just like we combine Linux commands using pipe and result in high-quality code which describes what you are doing instead of how to do things. Java Interview questions and tutorials Read: http://www.java67.com/2020/03/how-to-write-clean-code-using-java-8.html

What is Default or Defender Methods in Java 8? Tutorial Example Whenever someone talks about Java 8, the first thing they spe
What is Default or Defender Methods in Java 8? Tutorial Example Whenever someone talks about Java 8, the first thing they speak about is lambda expression and how lambda expression has changed the way you use Collections API today. In truth, lambda expression would not be that useful had language not been enhanced to support default methods on Java Interface. Also known as virtual extension or defender methods, they allow you to declare a non-abstract method inside the Java interface. This means, finally you can add new methods without breaking all classes, which implements a certain interface. This opens a new path for enhancing and evolving the existing Collection API to take advantage of lambda expressions. For example, now you can iterate over all elements of Collection in just one line, as opposed to four lines it requires you to do prior to Java 8. Java Interview questions and tutorials Read: http://www.java67.com/2017/08/java-8-default-methods-on-interface-example.html

11 Examples of LocalDate, LocalTime, and LocalDateTime in Java 8 Hello guys, if you are wondering how to use LocalDate, Local
11 Examples of LocalDate, LocalTime, and LocalDateTime in Java 8 Hello guys, if you are wondering how to use LocalDate, LocalTime, and LocalDateTime classes from Java's new Date and Time API then you have come to the right place. Earlier, I have shared best Java 8 courses, books, and Java 8 interview questions and in this article, I Am going to share common examples of LocalDateTime, LocalDate, and LocalTime class in Java. It's been many years since Java SE 8 was released and Java 8 adoption has come a long way. Java programmers around the world have accepted with both ends, many companies have switched their development on Java 8 and several others are migrating to Java 8 platform. Java Interview questions and tutorials Read: http://www.java67.com/2019/05/10-example-of-localdate-localtime-and-localdatetime-zoneddatetime-in-java.html

How to Convert Stream to List, Set, and Collection in Java 8? Example Tutorial Hello guys, if you are wondering how to conver
How to Convert Stream to List, Set, and Collection in Java 8? Example Tutorial Hello guys, if you are wondering how to convert a Stream to List, Set, Map, or any other Collection class in Java then you have come to the right place. Earlier, I have shared best Stream and Collection courses, and books as well as many Stream tutorials and in this article, I will tell you how exactly you can use Collectors to convert a Stream to List, Set, Map, or any other Collection class in Java. if you are following Java releases then you know that introduction of the Stream class is one of the most important addition in Java 8 as it makes processing bulk data really easy. Since data is the core part of any application and probably is the most important thing now than ever, a good knowledge of how to use Stream class effectively is important like how to work between Collections and Stream classes. Java Interview questions and tutorials Read: http://www.java67.com/2020/04/how-to-get-list-or-set-from-stream-in-java8.html

Top Java Blogs Weekly: Best of 6/2023 Best of Top Java Blogs, year 2023, week 6 Read: https://www.topjavablogs.com/news/best-
Top Java Blogs Weekly: Best of 6/2023 Best of Top Java Blogs, year 2023, week 6 Read: https://www.topjavablogs.com/news/best-of-6-2023

Difference between Hibernate, JPA, MyBatis Hello guys, if you are wondering what is difference between Hibernate, JPA, and My
Difference between Hibernate, JPA, MyBatis Hello guys, if you are wondering what is difference between Hibernate, JPA, and MyBatis in Java world and when to use them then you have come to the right place. Earlier, I have shared Hibernate Courses, books, and Interview Questions and in this article, I will answer this popular Hibernate question from Java developer's perspective.  This article aims to give a brief overview of Hibernate, JPA, and MyBatis. Moving ahead highlights the difference between them. It also put light on which underlying technologies they use. Lastly, it provides verdicts on when to use which one among these. But, before we start with the difference between JPA, Hibernate, and MyBatis. It is important to have an understanding of these technologies first. Java Interview questions and tutorials Read: http://www.java67.com/2023/02/difference-between-hibernate-jpa-mybatis.html

How to access a value defined in the application.properties file in Spring Boot? Example Tutorial Hello guys, if you are wond
How to access a value defined in the application.properties file in Spring Boot? Example Tutorial Hello guys, if you are wondering how to access a value defined in your spring application configuration file then you are not alone, many Java developer face the same challenge. How to access a value defined in the application.properties file in Spring Boot is a common question that arises when you dealing with large software applications. In software applications, you need to have different environments for the QA, production, and local. So as a solution for this, you can use different configurations and update the files separately without affecting other environments by using property files. Java Interview questions and tutorials Read: http://www.java67.com/2022/12/how-to-access-value-defined-in.html

How to test a Spring Boot application in Java? @SpringBootTest Example Hello guys, if you are wondering how to test your Java
How to test a Spring Boot application in Java? @SpringBootTest Example Hello guys, if you are wondering how to test your Java + Spring Boot application then you are at the right place. Earlier, I have shared best Spring Boot Courses and Spring Boot + Microservice example and in this article, I will talk about how to test your Spring boot application, mainly about writing unit test and integration test for Java and Spring boot application. Unit testing and Integration testing are two skills which separates a normal developer from a professional Java developer and when it comes to testing Spring applications many Java developer doesn't really know how to do that. If you are new to Java and Spring development but keen to learn Unit testing both Java and Spring Boot application then you have come to the right place. Java Interview questions and tutorials Read: http://www.java67.com/2022/07/how-to-test-spring-boot-application.html

Difference between @Component, @Controller, @Service, and @Repository in Spring Hello guys if you are wondering what is the d
Difference between @Component, @Controller, @Service, and @Repository in Spring Hello guys if you are wondering what is the difference between @Component, @Controller, @Service, and @Reposistory annotation in Spring Framework then you have come to the right place. In the past, I have shared 15 Spring Boot Interview Questions and 30 Spring MVC questions and in this article, I am going to answer the fundamental and popular Spring questions about @Component, @Controller, @Service, and @Repository annotation, but before we go into differences, let's understand the similarity first. Java Interview questions and tutorials Read: http://www.java67.com/2022/06/difference-between-component-service-repository-in-spring.html

5 Best Python Tutorials For Beginners in 2023 Hello guys, if you want to learn Python programming language in 2023 and lookin
5 Best Python Tutorials For Beginners in 2023 Hello guys, if you want to learn Python programming language in 2023 and looking for best online resources like tutorials, courses, books, projects and websites then you have come to the right place. Earlier, I have shared best Python courses, both free and paid, as well as best Python books, projects, and even Python interview questions for job interviews and today, I Am going to share best Python tutorials for beginners in 2023. We all know that a computer can work without a system or program to tell them what to do, which means you need to learn a language to program it and how it works. There are a lot of languages to learn, but python is one of the high-level and easy to learn and start. This post will help you get the best resource to get started using the python language. Java Interview questions and tutorials Read: http://www.java67.com/2023/02/5-best-python-tutorials-for-beginners.html

Проблема N+1 и как её решить с помощью EntityGraph Всем привет! В данной статье попробуем разобраться с проблемой N+1 (или может правильнее 1+N?) и как ее решить с помощью использования EntityGraph. Проблема N+1 возникает, когда мы генерируем запрос на получение одной сущности из базы данных, но у данной сущности есть свои связанные сущности, которые мы тоже хотим получить и hibernate генерирует вначале один (1) запрос к базе данных, чтобы получить интересующую нас сущность, а потом N запросов, чтобы достать из базы данных связанные сущности. Данная проблема отражается отрицательно на производительности работы базы данных из-за большого числа обращений к ней. Создадим проект и подключим следующие зависимости: Читать: https://habr.com/ru/post/714704/?utm_campaign=714704

Мини-гайд по погашению технического долга В этой статье я хочу описать свой опыт погашения технического долга на нашем проекте в виде гайда. В гайде я выделю несколько самых распространенных случаев технического долга и предложу методы их решения. Так как это довольно обширная тема, я посоветую несколько книг для изучения, потому что в рамках данной статьи поговорить обо всем не вижу возможным. Все описанное относится к BackEnd части, но возможно, будет подходить и для других разработчиков. Буду рад, если вы поделитесь своим опытом по этой теме в комментариях. А у вас накопились долги? Читать: https://habr.com/ru/post/714568/?utm_campaign=714568

How to use Spliterator in Java 8 - Example Tutorial Hello friends, we are here today again on the journey of Java. And today,
How to use Spliterator in Java 8 - Example Tutorial Hello friends, we are here today again on the journey of Java. And today, we are gonna learn about SplitIterator class from Stream package that may not be used in your day-to-day life but can be very useful to know as Java internally does use this with both normal streams and parallel streams. As always, let’s take an example of a situation. I will present you with a situation and you guys can think about it. So, let’s say we have an array with 50k records in it. Now, these all records need to be modified, let’s say they are strings and we need to append the string with a name. Now, traversing the array sequentially would be time-consuming. Any innovative ideas my friends? Java Interview questions and tutorials Read: http://www.java67.com/2021/11/how-to-use-spliterator-in-java-8.html

10 Examples of Collectors + Stream in Java 8 - groupingBy(), toList(), toMap() As the name suggests, the Collectors class is
10 Examples of Collectors + Stream in Java 8 - groupingBy(), toList(), toMap() As the name suggests, the Collectors class is used to collect elements of a Stream into Collection. It acts as abridge between Stream and Collection, and you can use it to convert a Stream into different types of collections like List, Set, Map in Java using Collectors' toList(), toSet(), and toMap() method. Btw, Collector is not just limited to collection stream pipeline results into various collection class, it even provides functionalities to join String, group by, partition by, and several other reduction operators to return a meaningful result. It's often used along with the collect() method of Stream class which accepts Collectors. In this article, you will learn how to effectively use java.util.stream.Collectors in Java by following some hands-on examples. Java Interview questions and tutorials Read: http://www.java67.com/2018/11/10-examples-of-collectors-in-java-8.html

Привет Unicode! Или как компьютеры работают с символами Основная задача письменности с давних времен, отобразить визуально то, что человек произносит вербально. В истории встречается огромное количество примеров того, как люди, пытаясь передать через бумагу какую-то информацию, используя для этого знакомые образы. Древние египтяне использовали иероглифы, очень похожие на вещи из повседневной жизни. Читать: https://habr.com/ru/post/714540/?utm_campaign=714540

How to log SQL Statements in Spring Boot Application? Example Tutorial Hello guys if you are working on a Spring Boot applica
How to log SQL Statements in Spring Boot Application? Example Tutorial Hello guys if you are working on a Spring Boot application which loads and save data from database but you are not sure which queries are run on backend and you want to see them then you have come to the right place. Earlier, I have showed you how to set logging level in Spring Boot and In this article we are going to have a look at another very interesting topic from Spring Boot on how to log SQL statements in spring boot app. I know you might be wondering why I’m calling a very boring topic an interesting one? A proper logging is among one of the features that sets intermediate or experienced developers apart from beginners. Java Interview questions and tutorials Read: http://www.java67.com/2023/02/how-to-log-sql-statements-in-spring.html

6 React.js Performance Tips Every Web Developer Should Learn Hello guys, if you are working in a React.js application and loo
6 React.js Performance Tips Every Web Developer Should Learn Hello guys, if you are working in a React.js application and looking for best tips to improve performance of your react application then you have come to the right place. Performance is one of the biggest reasons why React.js has gained immense popularity in the last five years. React uses virtual DOM to boost performance. Though React does what it has to do to increase the performance behind the scenes, the developer has to ensure a top-quality user experience. In this article, we will discuss some of the ways which can be used to optimize the performance of a React application. Java Interview questions and tutorials Read: http://www.java67.com/2022/03/6-ways-to-optimize-react-application.html

9 Tips to become a Better Software Developer in 2023 Many of my readers, students, and programmers often asked me how to impr
9 Tips to become a Better Software Developer in 2023 Many of my readers, students, and programmers often asked me how to improve their programming skills, coding skills, or design skills. I know it's not easy to be a professional programmer. Apart from programming and coding, you have to be good at communicating ideas, designing solutions and, more importantly, convincing peers and stakeholders. Ideally, you learn all these qualities at your workplace by working with more experienced and smarter people than yourself, but that's just an ideal scenario. Many programmers don't get lucky enough to work with a fellow programmer who helps them to grasp these skills; often, it's your own hard work. Java Interview questions and tutorials Read: http://www.java67.com/2021/10/9-tips-to-become-better-software.html