Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 550
订阅者
-124 小时
-207 天
-2430 天
帖子存档
8 550
How to use Stream allMatch() and anyMatch() function in Java? Example Tutorial
Hello friends, we all know how streams are super important for our day-to-day needs in Java programming and coding nowadays. It allows us to filter data in memory in a declarative way, it also allows us to transform objects as well create a complex Stream pipeline to represent our business logic in a declarative fashion. But, do we know all the stream functionalities? Of course not. Earlier, we have seen examples of filter(), map, flatMap, and findFirst() method and today we will learn two of the most important stream functions anyMatch() and allMatch(). So what’s the wait? Let's start!
Java Interview questions and tutorials
Read: http://www.java67.com/2021/11/how-to-use-stream-allmatch-and-anymatch.html
8 550
How to use Stream findFirst and findAny function in Java? Example Tutorial
Hello friends, here we are again on the journey of Java excited and eager to find the next stop of knowledge. But do not worry my friends, continuing the java stream series further, today we will deep dive into two other functions of streams that are equally important and interesting. Let me start by providing a situation that you guys can analyze and then we will discuss it. Let’s say you have data coming into your code through an API call. Now, you have no idea what the stream of data would be butyou want the first element present in it. So, stream provides a function for the same. Let’s see what it is and how it is written.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/11/how-to-use-stream-findfirst-and-findany.html
8 550
Java 8 Predicate and Lambda Expression Example
Hello guys, if you want to learn about Predicates in Java 8 and looking for examples then you have come to the right place. In the past, I have explained key Java 8 concepts and classes like Stream, Optional, Collectors etc and we have seen how to use those functional methods like map, filter, and flatmap and in this article, I will show you how to use Predicates in Java 8 with Lambda expression. If you don't know Predicate is a functional interface in Java. A functional interface is nothing but a function with one abstract method or annotated by @FunctionalInterface annotation. Predicate is a functional interface with a function which accepts an object and return Boolean.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/04/java-8-predicates-and-lambda-expression.html
8 550
3 Examples to Convert Date to LocalDate in Java 8? Tutorial
One of the great features of Java 8 is the new Date and Time API which is intended to fix existing issues related to mutability and thread-safety with existing java.util.Date class. But given java.util.Date is used very heavily across all the Java applications, you will often end up with a situation where you need to convert java.uti.Date to java.time.LocalDate while working in Java 8. Unfortunately there is no toLocalDate() method in the java.util.Date class. Though, you can easily convert Date to LocalDate if you are familiar with how new and old API classes map to each other.
Java Interview questions and tutorials
Read: http://www.java67.com/2019/10/3-ways-to-convert-javautildate-to-LocalDate-java8-example.html
8 550
Интеграция Primefaces в приложение на Spring Boot. Часть 4 — Вывод списка данных в виде таблицы
Описывается пример интеграции библиотеки компонентов пользовательского интерфейса Primefaces, построенной на основе фреймворка JavaServer Faces (JSF), в MVC приложение на Spring Boot.
Первая часть
Вторая часть
Третья часть
Читать: https://habr.com/ru/post/713770/?utm_campaign=713770
8 550
Какие паттерны применяются для создания микросервиса?
Узнайте завтра, 2 февраля в 20:00 мск на бесплатном уроке онлайн-курса «Архитектура и шаблоны проектирования» в OTUS.
На занятии «Создание микросервиса» вы вместе с практикующим спецом познакомитесь с паттернами декомпозиции системы на микросервисы, а также рассмотрите технический подход и бизнес-подход к декомпозиции. Готовьте свои вопросы, проходите вступительный тест и регистрируйтесь на занятие: https://otus.pw/JR4x/
Заинтересовались курсом, но сомневаетесь сможете ли осилить весь? Пройдите тест и узнайте: https://otus.pw/0WMmE/
Реклама ООО «Отус Онлайн-Образование» LjN8KC5Jf
8 550
«Извините, но вам придется закодировать Щелкунчика»
Так и не попав на всем известный балет в декабре, мы решили организовать своего Щелкунчика. Речь не о балете, а о первом в мире IT‑контесте по переводу сказки на Python, Go, C#, JavaScript и Java, задача которого звучала так: «Извините, но вам придется закодировать Щелкунчика».
Меня зовут Вадим Рощин, я деврел МТС Digital, и сейчас я расскажу о том, как это было.
Читать: https://habr.com/ru/post/714036/?utm_campaign=714036
8 550
Apache Linkis Graduated to Apache Top-Level Project
Apache Linkis is a computation middleware that acts as a layer between upper-level applications and underlying engines, such as Apache Spark, Apache Hive and Apache Flink. It started as an Apache Incubator project in 2021 and graduated to a Top Level Project in January 2023.
By Andrea Messetti
Read: https://www.infoq.com/news/2023/02/apache-linkis-middleware/
8 550
GraalVM Native Image on RISC-V
The fifth generation of the Reduced Instruction Set Computer (RISC) architecture, called RISC-V, was introduced in 2010. RISC is an open standard instruction set for processors, available for free, under open source licenses. GraalVM may now be used to compile and run native images on RISC-V machines.
By Johan Janssen
Read: https://www.infoq.com/news/2023/02/graalvm-native-image-risc-v/
8 550
ЧТЕНИЕ/ЗАПИСЬ ТЕКСТА В TELEGRAM КАНАЛ ИЗ ANDROID ПРИЛОЖЕНИЯ
Для возможного сокращения временных затрат новичкам на разработку программ подключения приложения Android к Telegram- каналу предлагается данный туториал.
В основу предлагаемой программы положен один из способов обмена информацией в запросах Bot API: строка запроса URL. Для запросов используются HTTP методы GET и POST . Прием/передача текстовых данных производится в фоновом режиме посредством класса AsyncTask, задаваемого как внутренний класс основного класса приложения.
Читать: https://habr.com/ru/post/713748/?utm_campaign=713748
8 550
Top 50 Database and SQL Interview Questions Answers for Programmers
Hello guys, whether you are preparing for Java developer interview or any other Software Developer Interview, a DevOps Interview or a IT support interview, you should prepare for SQL and Database related questions. Along with Data Structure, Algorithms, System Design, and Computer Fundamentals, SQL and Database are two of the essential topic for programming or technical Job interview. In the past, I have shared many questions related to MSSQL questions, Oracle Questions, MySQL questions, and PostgreSQL questionsand in this article, I am going to share both theory based and query based Database and SQL Interview questions with to the points answers.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/database-and-sql-interview-questions.html
8 550
Top 21 Web Development Interview Questions with Answers in 2023
Hello guys, if you are preparing for web developer job and looking for popular web development interview questions for preparation then you have come to the right place. Earlier, I have shared HTML Interview Question, CSS Interview Questions, and JavaScript Interview Questions and in this article, I am going to share common web development interview questions. You may be thinking how much different it is from other list but this is a general questions about web development like web services, images, SOAP, REST, Pagination etc.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/web-development-interview-questions.html
8 550
Выходя за рамки JUnit. Создаем сложные расширения
Переход от JUnit4 к новой версии во многом изменил способ расширения функциональных возможностей тестов. Напомню, что в JUnit4 основным механизмом расширения были правила (Rule), которые могли обернуть выполнение теста в дополнительную логическую обработку (например, в реализации абстрактного класса ExternalResource встраивали два дополнительных вызова методов инициализации (который также мог возвращать объект для взаимодействия с создаваемым окружением, например обертку вокруг Android Activity) и финализации (вызывается после выполнения теста и используется для очистки ресурсов). Модель JUnit 5 существенно дополнена и в этой статье мы рассмотрим как можно создавать собственные расширения для JUnit Platform.
Читать: https://habr.com/ru/post/713908/?utm_campaign=713908
8 550
Простой пример написания Dockerfile. Использование многоэтапной сборки
Всем привет! В данной статье хочу показать простой пример написания Dockerfile, объяснить как это все работает, а также показать на примере использование многоэтапной сборки.
Для понимания данной статьи необходимы минимальные знания Docker, а также для использования примеров - установленный Docker Desktop локально на компьютере.
Вначале немного теории.
Dockerfile - это файл, который содержит инструкции для сборки образа. На основании образа создается и запускается контейнер.
Обратимся к официальной документации https://docs.docker.com/get-started/overview/
Читать: https://habr.com/ru/post/713942/?utm_campaign=713942
8 550
3 Examples of Anonymous Class to Learn Lambda Expression better in Java 8
Why I am talking about Anonymous class now when many Java programmers have already switched to Java 8 and many have already moved on from Anonymous class? Well, I am doing it because I am seeing programmers who find it difficult to write and read code using lambda expression in new Java 8 way. It's also my experience that if you know the problem first, you can understand the solution better. Some of you might remember, the opening scene of MI 2, when Nekhorovich says to Dimitri that "Every search for a hero must begin with something that every hero requires, a villain. Therefore, in our search for a hero, Belairiform, we created the monster, Chimera". Well, Anonymous class is not that sort of monster but it is one of the reason which makes lambda expression hero of Java 8.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/3-examples-of-anonymous-class-to-lambda.html
8 550
Top 27 Spring Security Interview Questions Answers for Java Developers
Hello guys, if you are preparing for Java and Spring Developer interview then you should prepare about Spring Security. Since Security is an important topic and Spring security is the most popular framework to implement security in Java web applications, there is always a few questions based upon Spring Security in Java developer interviews. In the past, I have shared Spring Boot questions, Spring Data JPA Question, Spring Cloud Questions, and Microservices Interview Questionsand in this article, I will share 20 popular Spring security questions for practice. I have also shared answers so that you can revise key Spring security concepts quickly but if you think that you need more preparation on certain topic then you can also checkout this list of best Spring Security courseswhere I have shared online courses to learn Spring security in depth.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/spring-security-interview-questions.html
8 550
Top 20 Jenkins and CI/CD Interview Questions Answers for Java Developers
Hello guys, if you are preparing for Java developer interview or DevOps Interview, one tool which you should know well is Jenkins, the king of Continuous Integration and Continuous build, and one of the most desirable skill companies look on experienced programmers now a days. Earlier, I have shared best free Jenkins courses for programmers to learn this useful tool as well as Interview questions on DevOps, Docker, and Kubernetes and in this article, I am going to share 20 frequently sked Jenkins and CI/CD Interview questions with answers for both beginners and experienced developers.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/jenkins-interview-questions-answers-for.html
8 550
Top 20 Agile and Scrum Interview Questions and Answers for PM, Programmers and Testers
Hello guys, ,if you are preparing for Software Developer interview then it makes to prepare questions on Agile and Scrum methodology. Agile is the standard way to develop software and most of the companies, both big and small follows Agile to develop and deliver Software. Earlier, I have shared free Agile and Scrum online coursesto learn these useful technologies for Software development and today, I am going to share 20 Agile and Scrum interview questions with answers. But, before we get to the all-important interview questions that will help you land your dream software job, let me tell you something about Agile and Scrum.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/top-20-agile-and-scrum-interview.html
8 550
Tarantool Data Grid + Java = …
В последнее время всё большую популярность набирает Tarantool — платформа in-memory вычислений с гибкой схемой данных, включающая в себя NoSQL-базу данных и сервер приложений. В этой статье я хочу рассказать об одной из его реализаций — Tarantool Data Grid (TDG).
Читать: https://habr.com/ru/post/713592/?utm_campaign=713592
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
