Чашечка Java
Kanalga Telegram’da o‘tish
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Ko'proq ko'rsatish8 295
Obunachilar
+324 soatlar
+127 kun
-4930 kun
Postlar arxiv
8 290
Aggregator Microservice Pattern In Java with Examples
The Aggregator Microservice Pattern is a design pattern used to compose a complex service by aggregating the responses of multiple independent microservices. 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 290
Как мы нашли применение Chat GPT в нашем IT продукте (игре для разработчиков)
Последние две недели интернет пестрит рассказами о всемогущей Chat GPT и ее возможностях. Вот и мы решили не оставаться в стороне и рассказать, как нашли применение для такой перспективной технологии, и сэкономили сотни человека часов для команды.
Читать: https://habr.com/ru/post/711978/?utm_campaign=711978
8 290
Top 30 Spring Core, Spring MVC and Spring Security Interview Questions Answers
Spring Interview Question is one of the first things Java programmers should prepare before appearing on any Java or Spring interview. With the immense popularity of Spring frameworks like Spring MVC and Spring Boot in the Java world, the focus on Spring skills on interviews increases daily. For those who don't know, the Spring framework is one of the most famous structures for Java applications, which aims to simplify Java development. It revolutionized the Java development when it initially came with concepts of Dependency Injection and Inversion of Control, which made writing a testable and maintainable Java application.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/spring-interview-questions-answers.html
8 290
[Solved] How to find the Longest common prefix in Array of String in Java? Example Tutorial
Hello guys, If you are preparing for technical interviews and wondering how to solve the longest common prefix in a given array of String problems in Java then you have come to the right place. Earlier, I have shared 21 String programming problemsand one of them was this one. In this article, I am going to show you how to solve this frequently asked coding problem from Java Interviews. It's one of the difficult coding problems and not every programmer I have interviewed has solved this, only a few can solve this so preparing for this one can definitely improve your chances and give you a competitive edge over other candidates.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/02/how-to-find-longest-common-prefix-in.html
8 290
How to check if a node exists in a binary tree or not in Java? Example Tutorial
Hello guys, if you are wondering how to check if a given node exists in a given binary tree or not then you have come to the right place. I have been sharing a lot of binary tree-based programming interview questions in the past few articles. Earlier, we have solved how to find the maximum sum level in a given binary tree, how to find the lowest common ancestor, and how to find Kth smallest element, and in his article, we will solve another classical binary tree problem of search nodes. Bug, before finding if a node exists in a binary tree or not. It is good to understand what is a binary tree and binary search tree and how to solve a binary tree-based coding problem.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/02/how-to-check-if-node-exists-in-binary-tree-in-java.html
8 290
How to find Kth Smallest Element in a Binary Search Tree? [Solved]
Hello guys, I have been sharing binary search tree-based coding interview questions for quite some time. In the last article, we looked at how to find the maximum sum level in a given binary tree, and in this article, we will find the kth smallest number in a given binary tree like the 5th smallest or 3rd smallest number. Before we find the kth smallest in a Binary search tree, We need to understand the binary search tree. A Binary tree is a data structure in which each node can have at most two children. That is, each node in the binary tree will have data, left child and right child. The first node of the tree is called the Root.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/01/how-to-find-kth-smallest-element-in.html
8 290
How to find the maximum sum level in binary tree in Java? Example Tutorial
Hello guys, if you are preparing for a coding interview and wondering how to find the maximum sum level in a given binary tree in Java then you have come to the right place. I have been sharing binary tree coding problems for the last few months and in the past, we have seen questions like finding kth smallest elementand finding the lowest common ancestor of a binary tree in Java in this article, you will learn how to find the maximum sum level in a given binary tree of integers or numbers. But, before finding the maximum sum level of a binary tree in java, we need to have a good understanding of a binary search tree. Both theoretical knowledge and how to implement binary search tree in Java is important to solve tree-based coding problems.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/01/how-to-find-maximum-sum-level-in-given-binary-tree-java.html
8 290
Difference between Thread.yield and Thread.sleep in Java? Answer
Sleep vs yield in Java
Sleep and yield are two methods that are used to get CPU back from Thread to Thread Scheduler in java but they are completely different than each other. The major difference between Sleep vs yieldis that sleep is more reliable than yield and it's advised to use sleep(1) instead of yield to relinquish CPU in multi-threaded Java applications to give an opportunity to other threads to execute. In this Java tutorial, we will what are the differences between yield and sleep in Java. But before seeing the difference between sleep and Yield let's see some similarities between yield and sleep in Java
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/difference-between-yield-and-sleep-in.html
8 290
Presentation: State of OpenTelemetry, Where Are We and What’s Next?
Michael Hausenblas discusses what problems OpenTelemetry solves, and overviews the ecosystem and status of various projects within OpenTelemetry.
By Michael Hausenblas
Read: https://www.infoq.com/presentations/opentelemetry/
8 290
JavaScript and Java both loved and hated
Read: https://www.infoworld.com/article/3686132/javascript-and-java-both-loved-and-hated.html#tk.rss_java
8 290
Как я участвовал в создании информационных систем для медицины
В 1987-м году я окончил с красным дипломом приборостроительный факультет челябинского политехнического института по специальности "Автоматика и телемеханика", хотя планировал стать физиком-теоретиком и школу заканчивал в специализированной школе-интернате №18 при МГУ. По распределению попал в специализированное конструкторское бюро и до 1991-го года разрабатывал электронные блоки для бронетанковой техники. До сих пор считаю что полученная при этом инженерная школа является чем-то недостижимым в современных реалиях. В частности, мы с коллегами создали комбинированный аналого-цифровой программируемый комплекс, который в реальном времени проводил расчеты по математической модели объекта, описываемой системой дифференциальных уравнений 4-го порядка с 14-ью нелинейными элементами и принимал решения более 10 тысяч раз в секунду. На современных вычислителях это наверное и можно было бы сделать, но в то время мы решали задачу имея в распоряжении только набор интегральных микросхем, самой крутой из которых была ПЗУ на 2 килобайта и всё наше творчество должно было уместиться в 9 литров объёма и работать в диапазоне температур от -40 до +85.
После того как в 1991-м году страна развалилась я выбрал стезю программирования и с тех пор так или иначе связан с разработкой ПО и построением крупных информационных систем. Начинал с создания комплексного ПО и "умной кассы" для торгового центра, потом была информационная система учёта аренды муниципального имущества. Потом я вернулся в конструкторское бюро на считавшийся безнадёжным проект по созданию комплекса диагностических стендов для автоматизированного поиска неисправностей в электронных блоках в интересах иностранного заказчика. После окончания разработки я возглавлял группу разработчиков, которая сдавала эти стенды заказчику, и мы с этой задачей справились.
Читать: https://habr.com/ru/post/711682/?utm_campaign=711682
8 290
Top 10 Projects You can Build to Learn Spring Boot in 2023
Hello guys, I have always said that there is no better way to learn anything then actually doing it and its 100% true for Spring Boot, one of the popular Framework for Java application Development. In my 20 years of experience, I have found that the best way to learn Java and Spring Boot is building projects. When you build project, common task surface them like creating a List or sorting a List and then you research and learn. Those learning stuck and make you better developer. Building project also have many advantage like it allows you to use a lot of technologies like Git, IntelliJIDEA, Hibernate, APIs etc together to build something which you can showcase to your potential employer.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/10-projects-ideas-to-learn-spring-boot.html
8 290
4 канала общей направленности для программистов:
— «Типичный программист» про разработку в целом: @tproger_official
— «IT Юмор» с мемами: @ithumor
— «Представляешь,» с новостями: @your_tech
— «Книги для программистов»: @devs_books
8 290
Использование SEDA со Spring Integration и Apache Camel
SEDA, или Staged Event-Driven Architecture, представляет собой архитектурный стиль, предложенный Мэттом Уэлшем в его докторской диссертации. диссертация. Его основными преимуществами являются масштабируемость, поддержка высококонкурентного трафика и удобство эксплуатации.
В этом туториале мы будем использовать SEDA для подсчета уникальных слов в предложении с помощью двух разных реализаций: Spring Integration и Apache Camel.
Читать: https://habr.com/ru/post/696978/?utm_campaign=696978
8 290
Apache Druid 25.0 Delivers Multi-Stage Query Engine and Kubernetes Task Management
Apache Druid is a high-performance real-time datastore and its latest release, version 25.0, provides many improvements and enhancements. The main new features are: the multi-stage query (MSQ) task engine used for SQL-based ingestion is now production ready; Kubernetes can be used to launch and manage tasks eliminating the need for middle managers...
By Andrea Messetti
Read: https://www.infoq.com/news/2023/01/druid-analytics-database/
8 290
Spring Cloud 2022.0.0 Delivers Updates to Sub-Projects and JDK 17 Baseline
VMware has released Spring Cloud 2022.0.0, codenamed Kilburn, based upon the recently introduced Spring Framework 6 and Spring Boot 3. Spring Cloud 2022.0.0 is based on Spring Framework 6 requiring Java 17 and is compatible with Jakarta EE 9. This release supports Ahead of Time (AOT) compilation and the creation native images with GraalVM.
By Johan Janssen
Read: https://www.infoq.com/news/2023/01/spring-cloud-2022-0-0/
8 290
Подборка мемов от Tproger — Linux vs Windows, Java vs JavaScript и Новый год
Собрали подборку лучших мемов про IT за первые недели января из наших каналов — IT Юмора в Телеграме и /dev/null в VK.
Читать: «Подборка мемов от Tproger — Linux vs Windows, Java vs JavaScript и Новый год»
8 290
Какой язык программирования выбрать новичку в 2023 году
Мы проанализировали популярность, уровни зарплат и собрали подборку, которая поможет выбрать язык программирования для изучения в 2023 году.
Читать: «Какой язык программирования выбрать новичку в 2023 году»
8 290
Event Sourcing Pattern in Java Microservices with Examples
Hello Java programmers, if you are tired of constantly trying to keep track of your application's state using a traditional relational database? The Event Sourcing pattern might be just what you need. It's also one of the 10 essential Microservice patterns I have shared earlier and its one of the top 3 along with Saga and CQRS patterns which we have seen in my earlier articles. In a nutshell, the Event Sourcing pattern involves storing the complete history of an application's state as a sequence of events. Each event represents a change in the application's state, such as the creation of a new record or the modification of an existing one.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/event-sourcing-pattern-in-java.html
8 290
Java 20: огромные разреженные сегменты памяти
Знаете ли вы, что можно выделять сегменты памяти, которые больше, чем физический размер оперативной памяти вашего компьютера, и даже больше, чем размер всей вашей файловой системы? Прочтите эту статью и узнайте, как использовать сопоставленные (mapped) сегменты памяти, которые могут быть или не быть «разреженными», и как выделить 64 терабайта разреженных данных на ноутбуке.
Читать: https://habr.com/ru/post/710664/?utm_campaign=710664
