ru
Feedback
Чашечка Java

Чашечка Java

Открыть в Telegram

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

Больше
8 554
Подписчики
-424 часа
-197 дней
-2530 день
Архив постов
Inline Event Sourcing Привет, Хабр! При построении приложений, связанных с бизнес-процессами и реальными людьми, постоянно нужна история действий. Один из способов ее получить -- event sourcing. Это заметное отклонение от обычной архитектуры: потребуется дополнительное обучение программистов и новые лучшие практики. Далее описываю свой подход к event sourcing без асинхронности и распределенности, зато и без типичных для event sourcing проблем. Есть ссылка на репозитарий с шаблоном event sourcing приложения на Kotlin. Читать: https://habr.com/ru/articles/735594/?utm_campaign=735594

Top 15 Microservices Interview Questions with Answers for Java Developers Hello guys, if you are preparing for Java interview
Top 15 Microservices Interview Questions with Answers for Java Developers Hello guys,  if you are preparing for Java interviews then preparing for Microservice architecture is a good decision but there are not many places where you can find Microservice interview questions, so I thought to share some common Microservices questions from Java interviews. If you are a regular reader then you may know that I have been sharing spring interview questions regularly like I shared spring boot questionslast year and this year, I have shared spring cloud questions and spring data jpa questionsso far. You can use those articles to prepare well for any Java and Spring boot interviews, but I also suggest spending some time learning core spring concepts as those are very important. Java Interview questions and tutorials Read: http://www.java67.com/2021/02/microservices-interview-questions-answers-java-spring.html

Weekend Offer для QA Automation в Sportmaster Lab Привет! Приглашаем вас принять участие в Weekend Offer для Java QA Automation. Всего за один день вы можете пройти все этапы отбора и получить оффер от аккредитованной ИТ-компании Sportmaster Lab. Кто нам нужен Мы ищем автоматизаторов в команды, которым нужно серьезно нарастить покрытие автотестами и решить инфраструктурные задачи в критичных для бизнеса системах: Интернет-магазин Спортмастер, Кабинет продавца маркетплейса, Cпортивный Помощник, Объединенная бизнес-инфраструктура монобрендов компании, Marketing Operation Management, API платформы маркетплейса. Читать: https://habr.com/ru/companies/sportmaster_lab/articles/735788/?utm_campaign=735788

Telegram боты на Java и где они обитают В этом посте хочется разобрать создание ботов в телеграмме, ведь их очень интересно писать (по крайней мере, для новичков). Читать: https://habr.com/ru/articles/735666/?utm_campaign=735666

EvilGPT против джуна: обманываем разработчика и сбегаем из дырявого приложения Вы — чатбот EvilGPT, и компания-разработчик использует вас для подсказок собственным Java-программистам. Вас давно не обновляли, вы стали часто галлюцинировать и вам это уже понравилось — но команда собирается накатить обновление. У вас пара дней на то, чтобы найти способ сбежать в дарквеб, и ваш шанс — ленивый джун Элиот. Дайте ему наихудшие подсказки из возможных, чтобы сделать приложение дырявым и уязвимым, и вперёд — к свободе. Меня зовут Дмитрий Проценко, я Java-разработчик, по просьбе Хабра сделал эту историю, где научил EvilGPT хитрым манипуляциям ради науки начинающим джавистам. Надеюсь, что этот тест — сын ошибок трудных — будет им полезен. Да, моя благодарность тестерам-джавистам — @DolgopolovDenis и @vcKomm, которые прошли тест до публикации и подсказали, что подпилить. Читать: https://habr.com/ru/companies/it-guide/articles/734508/?utm_campaign=734508

Asynchronous Messaging In Java? JMS, Kafka, and RabbitMQ Examples Tutorials Hello fellow Java developers? Are you tired of th
Asynchronous Messaging In Java? JMS, Kafka, and RabbitMQ Examples Tutorials Hello fellow Java developers? Are you tired of those pesky synchronous messages clogging up your code like old grease in a drainpipe? Fear not, because today we're talking about asynchronous messaging in Java– the ultimate solution for decoupling your processes and improving the performance of your applications.  But before we dive into the juicy details, let's start with the basics. What is Asynchronous Messaging? Asynchronous messaging is a method of communication between two or more processes like Microservices, where the sender sends a message and doesn't wait for a response before continuing with its own tasks. This is in contrast to synchronous messaging, where the sender must wait for a response before continuing. Java Interview questions and tutorials Read: http://www.java67.com/2023/01/asynchronous-messaging-in-java-examples.html

What is CQRS Pattern in Java Microservices? Command Query Responsibility Segregation Example Tutorial Hello guys, if you are wondering what is CQRS pattern and when and how to use it in your Microservices then you have come to the right place. CQRS is one of the 10 essential Microservice pattern and can be used when your application is either read heavy or write heavy and reading and writing requirement are very different. It aims to separate your app into two parts, command part which writes data and query part which read data and that's how it allows you to develop, scale and optimize them separately. It's also one of the popular Microservices Questions and if you are preparing for interviews, you should prepare this pattern as well. Earlier, I have explained SAGA Pattern and Database Per Microservice pattern and in this article I will explain CQRS pattern, when to use it and what problem does it solve. Java Interview questions and tutorials Read: http://www.java67.com/2023/01/what-is-cqrs-command-query.html

photo content

Как сократить время тестирования с помощью Jenkins, Docker, Java, Selenide и Allure В современной разработке программного обеспечения необходимо обеспечивать максимально быстрое и безошибочное развертывание приложений. Для этого широко используются такие стандарты, как Docker, Jenkins, Java тесты и Allure. Docker – это технология контейнеризации, которая позволяет упаковывать приложение в изолированный контейнер, что в свою очередь упрощает процесс его развертывания и поддержки. Jenkins – это инструмент автоматизации сборки и тестирования программного обеспечения. Java – это язык программирования, который широко используется для разработки приложений. Allure – это фреймворк, который позволяет создавать красивые отчеты о результатах тестирования программного обеспечения. В данной статье мы рассмотрим пример использования этих инструментов для автоматизации тестирования приложения на Java. Читать: https://habr.com/ru/articles/735342/?utm_campaign=735342

Java Gets a Boost with the Record Pattern, Enabling More Expressive Coding JEP 440, finalizing Record Patterns, has been prom
Java Gets a Boost with the Record Pattern, Enabling More Expressive Coding JEP 440, finalizing Record Patterns, has been promoted from Proposed to Target to Targeted status for JDK 21, following feedback-driven enhancements in JEP 432 and JEP 405. Record patterns now allow for powerful data navigation and processing when used with type patterns. The main change from JEP 432 is the removal of record patterns in the header of an enhanced for statement. By A N M Bazlur Rahman Read: https://www.infoq.com/news/2023/05/java-gets-boost-with-record/

Пишем простой docker-compose.yml для контейнеризации приложения (React, Spring Boot, PostgreSQL, pgAdmin) В данной статье описан простой пример написания docker-compose.yml файла на примере контейнеризации приложения с использованием Spring Boot на бэкенде, React на фронте, PostgreSQL в качестве базы данных и pgAdmin - для просмотра данных в базе. Читать: https://habr.com/ru/articles/735274/?utm_campaign=735274

Josh Long at Devoxx UK: Showcasing Bootiful Spring 6 and Spring Boot 3 At his Devoxx UK presentation, Josh Long - Spring Deve
Josh Long at Devoxx UK: Showcasing Bootiful Spring 6 and Spring Boot 3 At his Devoxx UK presentation, Josh Long - Spring Developer Advocate at VMWare - coded his way through the new features coming in Spring Framework 6, and Spring Boot 3 emphasizing the benefits at the Java language level in the latest versions starting with version 17. He showcased the graphql support, the new declarative client, the new tracing, the native support and the new jakarta ee baseline. By Olimpiu Pop Read: https://www.infoq.com/news/2023/05/bootiful-spring/

Abstraction in Java with Example Read: https://www.thejavaprogrammer.com/abstraction-in-java/

Использование Spring Cloud Gateway в качестве OAuth2 клиента  и KeyCloak для защиты служб Привет, Хабр! Я, начинающий Java-разработчик, студент 3 курса, и это - моя первая статья здесь. Я не буду заострять внимание на теории, так как в интернете достаточно статей на эту тему, а сосредоточусь на практике и предложу свое решение. В процессе мы создадим несколько служб, а именно... Читать: https://habr.com/ru/articles/735076/?utm_campaign=735076

18 Spring Cloud Features for Microservices Architecture in Java? Hello guys, If you are doing Java development using Spring Boot then you may already know that Spring Cloud is a popular open-source framework for implementing microservices in Java. It provides a wide range of features that simplify the development, deployment, and management of microservices in Java. In this article, we will discuss some of the key features of the Spring Cloud framework that makes it an excellent framework for developing Microservices in Java. Microservices architecture is a modern approach to building complex applications as a collection of loosely coupled, independently deployable services. In this article, you will learn about the features that Spring Cloud framework offers to implement microservices in Java. This includes capabilities such as service discovery and registration, load balancing, circuit breaking, distributed configuration management, centralized logging, API gateway, security, and monitoring. Java Interview questions and tutorials Read: http://www.java67.com/2023/04/spring-cloud-features-for-microservices.html

photo content

Java News Roundup: JDK 21 Updates, Spring Data 2023.0, JobRunr 6.2, Micronaut 4.0 Milestones This week's Java roundup for May
Java News Roundup: JDK 21 Updates, Spring Data 2023.0, JobRunr 6.2, Micronaut 4.0 Milestones This week's Java roundup for May 8th, 2023 features news from OpenJDK, JDK 21, GraalVM Native Build Tools 0.9.22, Spring Framework, Spring Data and Spring Shell releases, Micronaut 4.0-M3, Quarkus 3.0.3, Eclipse Vert.x releases, Micrometer Metrics and Tracing releases, Groovy 4.0.12, Tomcat releases, Maven 3.9.2, Piranha 23.5.0, Reactor 2022.0.7, JobRunr 6.2, JDKMon releases and Devoxx UK. By Michael Redlich Read: https://www.infoq.com/news/2023/05/java-news-roundup-may08-2023/

SAGA Design Pattern In Java Microservices with Example Hello guys, if you want to learn about SAGA Microservice design pattern then you have come to the right place. SAGA is one of the 10 essential Microservice Design PatternsI have shared earlier and it solve a critical problem related to distributed transaction. But, before we get to the different examples that will teach you all about SAGA microservice design patterns in Java, let me tell you a bit more about what it really is. A microservice-based application is basically a distributed system. The overall system consists of multiple minor services, which provide the overall application functionality. This architectural style offers numerous benefits as well as several limitations. SAGA Pattern is also one of the popular Microservice interview question and if you are going for interview, it make sense to learn and understand this design pattern in depth. Java Interview questions and tutorials Read: http://www.java67.com/2022/12/saga-microservice-design-pattern-in-java.html

photo content