Чашечка Java
Открыть в Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Больше8 283
Подписчики
-124 часа
-57 дней
-7130 дней
Архив постов
8 283
Использование Spring Cloud Gateway в качестве OAuth2 клиента и KeyCloak для защиты служб
Привет, Хабр!
Я, начинающий Java-разработчик, студент 3 курса, и это - моя первая статья здесь. Я не буду заострять внимание на теории, так как в интернете достаточно статей на эту тему, а сосредоточусь на практике и предложу свое решение. В процессе мы создадим несколько служб, а именно...
Читать: https://habr.com/ru/articles/735076/?utm_campaign=735076
8 283
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
8 283
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/
8 283
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
8 283
Aggregator Design Pattern In Java Microservices with Examples
The Aggregator design pattern in Microservice architecture is a design pattern used to compose a complex service by aggregating the responses of multiple independent microservices. It's also one of the essential Microservices Design patterns along with SAGA, CQRS, and Event Sourcing. This pattern is proper when a client request requires data or functionality distributed across multiple microservices. It can improve the performance and scalability of the system by allowing each microservice to focus on a specific task and reducing the workload of a single microservice. In this article, we will discuss how the Aggregator Microservice Pattern can be implemented in Java using various approaches, such as asynchronous communication, synchronous communication, or a combination of both. We will also provide examples of code to illustrate each approach.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/aggregator-microservice-pattern-in-java.html
8 283
Holly Cummins At Devoxx UK: How to Would the Business Benefit from Your Greener Java Application
At her Devoxx UK presentation, Holly Cummins - Senior Software Principal Engineer at Redhat - presented approaches that could make Java applications more cost and energy efficient. More, the business would benefit too. Showcasing the work done by her team with quarkus she states that choosing wisely between the JVM or native options in your application can save up to two-time costs and carbon.
By Olimpiu Pop
Read: https://www.infoq.com/news/2023/05/green-java/
8 283
What is Event Sourcing Design Pattern in Java Microservices? Example
Hello Java programmers, if you are tired of constantly trying to keep track of
your application's current state using a traditional relational database then the Event Sourcing pattern might be just what you need. Event Sourcing is a popular pattern in Microservice architecture that allows services to persist and query the state of an application using a sequence of events instead of storing the current state.This pattern has gained popularity because ithelps to build complex systems with a clear audit trail and support for long-term scalability. By storing a sequence of events, rather than just the latest state, developers can reconstruct the application state at any point in time, even after failures or bugs. It's also one of the 10 essential Microservice patterns I have shared earlier and it's one of the top 3 along with Saga and CQRS patterns which we have seen in my earlier articles.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/event-sourcing-pattern-in-java.html
8 283
What is Circuit Breaker Design Pattern in Microservices? How to implement it?
Hello guys, Microservices design patterns are very important concepts for Java developers to learn, not just to create a robust, scalable, and high-performance Microservice architecture but also to do well on Java developer interviews. In the past, I have shared several Microservices design patterns like e Event Sourcing, SAGA, Database Per Microservices, CQRS, API Gateway, and also shared best practices to design Microservices and in this article, I am going to talk about Circuit-Breaker Design Pattern, and how you can implement in Java using Spring Cloud Framework. This is not just an important Microservice Pattern but also a popular Microservice question which I have also mentioned earlier in my article about 15 Microservices questions for Interviews. If you haven't read that article yet, I suggest read it, especially if you are preparing for Java and Microservice interviews.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/04/what-is-circuit-breaker-design-pattern.html
8 283
20 мая пройдет митап о прикладной java-разработке — Naumen Java Meetup
На встрече спикеры расскажут:
— как пошагово внедрять SonarQube в существующий проект;
— какие особенности возникают при разработке структуры БД для использования с JPA/Hibernate, а также выберут наиболее подходящий процесс разработки слоя доступа к данным;
— как не оказаться в неприятной ситуации, когда начнёте разгонять своё приложение с помощью потоков в лоб;
— о семействе протоколов JGROUPS, а также про устройство кластера Naumen Service Management Platform.
Встреча пройдет онлайн, ссылку на трансляцию пришлют в телеграм-боте после регистрации.
Регистрируйтесь заранее: https://tprg.ru/JKoV
Реклама АО "Нау-сервис" LjN8K93SV
8 283
Vaadin или как стать full-stack разработчиком
Привет, Хабр! В данной статье хотелось бы поделиться мнением о плюсах и минусах использования фреймворка Vaadin версии 14.
До знакомства с Vaadin фронт приходилось делать с помощью различных JS фреймворков или библиотек, в связки с html и css. Поэтому особо никогда не задумывался о том, что можно разрабатывать фронт на Java в то время, когда космическое пространство бороздят React, Angular, Vue и им подобные. Но мое мнение поменялось с приходом в новую команду где уже использовался во всю Vaadin и с которым я познакомился впервые.
Читать: https://habr.com/ru/articles/734380/?utm_campaign=734380
8 283
Шаблон Котлин-приложения
Где-то раз в год возникает желание посмотреть: если сейчас начинать приложение с нуля, то что бы обязательно в него включил? Кроме очевидной практической ценности (обычно начинается новый проект) это так же позволяет осознать какой архитектурный опыт получен за последнее время.
Необходимость шаблона сверх https://start.spring.io вызвана следующими типами доработок:
Читать: https://habr.com/ru/articles/733722/?utm_campaign=733722
8 283
7 awesome Java projects you should know about
Read: https://www.infoworld.com/article/3694933/7-awesome-java-projects-you-should-know-about.html#tk.rss_java
8 283
Kerberos аутентификация при подключении из Java к MSSQL
Представляю уважаемому сообществу руководство по настройке доменной аутентификации при работе из Java с MSSQL.
Данное руководство создано для администраторов БД, с помощью него можно продемонстрировать возможность использования доменной аутентификации для разработчиков Java и DevOps.
Читать: https://habr.com/ru/articles/734030/?utm_campaign=734030
8 283
Quarkus 3.0 Released: Improving Cloud-Native Java Development with Jakarta EE 10 Support
Following six alpha releases, a beta release, and two release candidates, Red Hat has launched the highly anticipated Quarkus 3.0 release this past week. This update brings a host of new features, including support for Jakarta EE 10, MicroProfile 6.0, Hibernate ORM 6.0, and Hibernate Reactive 2.0.
By A N M Bazlur Rahman
Read: https://www.infoq.com/news/2023/05/quarkus-improves-cloud-native/
8 283
PostgreSQL, Spring Framework и Android для начинающего разработчика
Здравствуй, дорогой читатель. Каждый разработчик, независимо от его специальности, сталкивался (или столкнётся во время своей профессиональной карьеры) с задачей, в которой необходимо разработать проект, имеющий базу данных, серверную часть и конечный продукт, взаимодействующий с пользователем. Данная статья поможет новичку разобраться с данной задачей.
В статье будут затронуты такие важные темы, как теория баз данных, реляционная база данных PostgreSQL, Spring Framework и Android разработка. Также будет рассмотрен базовый, не очень сложный пример, который поможет разобраться во всех этих темах и "потрогать" их руками.
Статья предназначена для начинающего разработчика, но имеющего базовые знания о разработке программного обеспечения и языках программирования Java и Kotlin.
Все материалы и исходный код можно найти здесь.
Читать: https://habr.com/ru/articles/733918/?utm_campaign=733918
