fa
Feedback
Чашечка Java

Чашечка Java

رفتن به کانال در Telegram

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

نمایش بیشتر
8 553
مشترکین
-224 ساعت
-227 روز
-2630 روز
آرشیو پست ها
The Web's Next Transition Software Engineer Educator, Kent C. Dodds opened the Modern Frontend Development and Architecture t
The Web's Next Transition Software Engineer Educator, Kent C. Dodds opened the Modern Frontend Development and Architecture track at QCon London with his keynote on The Web’s Next Transition, focused on Modern Infrastructure and Techniques. By Daniel Dominguez Read: https://www.infoq.com/news/2023/04/the-web-next-transition/

Микросервисы сына маминой подруги. Пишем правильные микросервисные приложения на Java Всем привет! Сегодня я решил написать статейку про всеми любимые микросервисы. Если вы давно хотели изучить тему микросервисных приложении и актуальных технологии, которые используются для их построения, то данная статья должна вам помочь в этом. Читать: https://habr.com/ru/post/726672/?utm_campaign=726672

Difference between Spark and Hadoop In Java Are you a Java developer feeling confused about the differences between Apache Sp
Difference between Spark and Hadoop In Java Are you a Java developer feeling confused about the differences between Apache Spark and Hadoop? Well, you're not alone. Both of these powerful technologies have become synonymous with big data processing and have taken the Java community by storm. However, it's important to understand the differences between the two so that you can choose the right tool for the job. Don't worry, we've got you covered. In the past, I have shared best Big Data courses and free Apache Spark online courses as well as Big Data and Hadoop interview questions and In this article, we'll take a light-hearted look at the key differences between Apache Spark and Hadoop, so that you can finally get some clarity on which technology is right for you. Java Interview questions and tutorials Read: http://www.java67.com/2023/04/difference-between-spark-and-hadoop-in.html

Создаем байт-код для JVM без компилятора Виртуальная машина Java использует концепцию промежуточного байт-кода для обеспечения переносимости между операционными системами и аппаратными платформами. Использование байт-кода позволяет отделить компилятор от среды выполнения и выполнять компиляцию с разных языков программирования для исполнения на JVM. В этой статье мы разберемся с внутренней организацией class-файлов и байт-кода в них и научимся работать с фреймворком ASM для исследования и программной генерации байт-кода для динамического определения новых классов или их компиляции из других языков программирования. Читать: https://habr.com/ru/post/726610/?utm_campaign=726610

Создание и тестирование процессоров аннотаций (с кодогенерацией) для Kotlin В разработке с использованием Kotlin (или Java) для создания классов по верхнеуровневому описанию часто используется маркировка аннотациями (например, для моделей таблиц баз данных, сетевых запросов или инъекции зависимостей) и подключение процессоров аннотаций, которые также могут генерировать код, доступный из основного проекта. Запуск процессоров аннотаций выполняется внутри gradle (для Java-проектов через annotationProcessor, для Kotlin - kapt) и встраивается как зависимость для целей сборки проекта. И конечно же, как и для любого другого кода, для процессора аннотаций необходимо иметь возможность разрабатывать тесты. В этой статье мы рассмотрим основы использования кодогенерации (с использованием kapt) и разработки тестов для созданных генераторов кода. Во второй части статьи речь пойдет о разработке процессоров на основе Kotlin Symbol Processing (KSP) и созданию тестов для них. Читать: https://habr.com/ru/post/726458/?utm_campaign=726458

Как написать простое консольное приложение с аргументами на Java Пост про то, как начинающий программист разбирается с консольными утилитами, Java и args4j У меня появилось задание написать консольное приложение , которое должно разделять и соединять текстовые файлы... Читать: https://habr.com/ru/post/726496/?utm_campaign=726496

How to solve KnapSack problem in Java using Dynamic Programming? Example Tutorial Hello guys, if you are learning Dynamic pro
How to solve KnapSack problem in Java using Dynamic Programming? Example Tutorial Hello guys, if you are learning Dynamic programming and come across Knapsack problem but not able to understand it then you are not alone. It took me a lot of time to understand this problem and pattern before I can use it to solve similar kind of Dynamic Programming problems. The Knapsack problem is actually a popular computer science problem that involves selecting a set of items with the maximum possible value while keeping the weight of the selected items within a given capacity. Also, if you are new to Dynamic programming, then let me give a brief about it. Dynamic Programming is a widely used algorithmic technique to solve the Knapsack problem. In Java, we can use Dynamic Programming to efficiently solve the Knapsack problem. Java Interview questions and tutorials Read: http://www.java67.com/2022/11/how-to-solve-knapsack-problem-in-java.html

How to fix access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set? [Solved] Hello and welcome to the
How to fix access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set? [Solved] Hello and welcome to the blog post. Today we are going to take a look at another frequently encountered issue while working with Spring Boot and Hibernate. The error "Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set"usually comes when Hibernate is unable to determine the appropriate database dialect to use. This error can be fixed by setting the hibernate.dialect property in your Hibernate configuration file. In this post, we'll look at a fix for the issue where a Spring Boot applications' "hibernate.dialect" setting prevents access to dialectresolutioninfo from being null., But before that let's take a look at the Exception itself. Java Interview questions and tutorials Read: http://www.java67.com/2023/04/dialectresolutioninfo-cannot-be-null.html

Top 10 Spring Framework Annotations Java Developer Should Learn - Example Tutorial Hello guys, if you are learning the Spring
Top 10 Spring Framework Annotations Java Developer Should Learn - Example Tutorial Hello guys, if you are learning the Spring framework and want to know what are essential Spring annotations you should know then you have come to the right place. Earlier, I have shared thefree Core Spring and Spring Boot courses and Spring certification resources for Java developers, and in this article, you will find some of the most common annotations in this article, which is a must for a Java developer to work with Spring. You will also learn what does annotation really does and why should you learn them. There is no doubt that the Spring framework is one of the most popular Java frameworks, and it has made the life of Java developers easy by providing some excellent features in the last 15 years. Java Interview questions and tutorials Read: http://www.java67.com/2018/11/top-10-spring-framework-annotations-for-java-developers.html

Разбираем float на части Всем привет, многие, наверное, знают про структуру чисел с плавающей запятой, но мне захотелось вдохнуть немного жизни в эти формулы. В этой статье я разберу на части число, наглядно показав что и откуда берется. Код будет на Java. Читать: https://habr.com/ru/post/726312/?utm_campaign=726312

Article: Rapid Startup of Your Cloud-Native Java Applications Without Compromise This article discusses the significance of s
Article: Rapid Startup of Your Cloud-Native Java Applications Without Compromise This article discusses the significance of startup time in cloud-native computing, highlighting challenges for JVM-based apps. It introduces Liberty InstantOn, which boosts startup times using checkpoint/restore technology, offering fast startup without compromising Java capabilities or facing static compilation trade-offs. By Tobi Ajila, Thomas Watson Read: https://www.infoq.com/articles/rapid-startup-of-your-cloud-native-java/

Создаем читабельный e2e тест для микросервисов на Spring Boot с помощью Cucumber 7 и Wiremock Дорогой читатель, это мой первый туториал и если я что-то упустил или не объяснил, хотя стоило бы, напиши пожалуйста комментарий и я обновлю статью. TL;DR Весь код для микросервисов и e2e теста тут Рекомендую быстро пробежаться по коду перед прочтением статьи т к в самой статье я объясню только неочевидные моменты реализации e2e тестирования. Читать: https://habr.com/ru/post/726332/?utm_campaign=726332

Top 15 Spring Cloud Interview Questions for Java Developers [with Answers] Hello guys, If you are preparing for Java and Spri
Top 15 Spring Cloud Interview Questions for Java Developers [with Answers] Hello guys, If you are preparing for Java and Spring Boot Interview and looking for some Spring Cloud interview questions then you have come to the right place. Earlier, I have shared 15 Spring Boot Interview questionsand today, I am going to share 15 Spring cloud interview questions for Java developers. These questions are good to revise essential Spring cloud concepts before interviews. Today is the world of cloud computing and most of the new Java development is happening on Cloud like AWS, GCP, and Azure. That's why it's very important for Java developers to learn about cloud and frameworks and libraries which support cloud-native development in Java, like Spring Cloud from Spring project. Java Interview questions and tutorials Read: http://www.java67.com/2021/01/spring-cloud-interview-questions-with-answers-java.html

Как прокачаться Java-разработчику? Есть идея: освоить редкую и высокооплачиваемую Scala. Язык полностью совместим с Java и ра
Как прокачаться Java-разработчику? Есть идея: освоить редкую и высокооплачиваемую Scala. Язык полностью совместим с Java и работает на той же виртуальной машине. Поэтому, имея опыт разработки на Java, стать «скалистом» будет проще. Вместе с «Криптонитом» составили дорожную карту, которая поможет с перейти на Scala. Роадмап по ссылке: https://tprg.ru/RsBo Реклама АО «Научно-производственная компания «Криптонит»

Замеряй и ускоряй: как мы сократили время вызова метода в Java-коде в 16 раз Привет, Хабр! Замер производительности кода — не самое простое упражнение для разработчика. Приходится решать кучу сложностей: разбираться с методом, создавать правильные условия. И всё равно можно получить результат с погрешностью, потому что любой метод «не бесплатный» и требует ресурсов процессора. Меня зовут Александр Певненко, я Java-разработчик в СберТехе. Вместе с командой мы развиваем Platform V DataSpace. Это облачный сервис, который упрощает и ускоряет разработку приложений, используя концепцию Backend-as-a-Service (BaaS) для хранения и управления данными. Я расскажу про наш способ замера производительности кода с помощью бенчмарков. Рассматривать метод будем на примере оптимизации кода в Platform V Dataspace, которая помогла сократить время вызова метода в 16 раз. В статье я буду пользоваться языком Java, Python для построения графиков и набором библиотек JMH — они также адаптированы для Kotlin, Scala и т.д. Читать: https://habr.com/ru/post/726100/?utm_campaign=726100

Потоковый обмен в распределённых системах и использование реактивных потоков в нереактивных приложениях: опыт «Магнита» Привет, Хабр! На связи Андрей Зяблин, Java разработчик компании «Магнит». В статье я расскажу про три решения, которые позволяют реализовать потоковый обмен данными из БД между распределёнными приложениями. Читать: https://habr.com/ru/post/726090/?utm_campaign=726090

Что Java-разработчикам расскажут на JPoint 2023? Недавно Java дошла до юбилейной 20-й версии, а у нашей Java-конференции JPoint своя круглая дата: впервые она прошла 10 лет назад. Каких именно докладов о языке-юбиляре ожидать на конференции-юбиляре в апреле? Как водится, в программе есть разные тематические блоки: — и об инструментах («Как познавать Spring Boot 3 с помощью TDD»), — и о производительности (тут научат пользоваться профайлером perf для JVM-задач), — а также об архитектуре, тестировании, «реактивщине», работе с данными. А полный список докладов с описаниями — далее в посте. Читать: https://habr.com/ru/post/725848/?utm_campaign=725848

Top 5 Spring Cloud Annotations for Java Microservices Hello guys, If you are developing a Java application for Cloud, then yo
Top 5 Spring Cloud Annotations for Java Microservices Hello guys, If you are developing a Java application for Cloud, then you should learn Spring Cloud, a great framework and extension of the popular Spring framework, which can help you to develop a cloud-native Java application. Spring Cloud provides several necessary services required for a cloud-based Java application and Microservices like configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, a control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state, etc. Java Interview questions and tutorials Read: http://www.java67.com/2018/12/top-5-spring-cloud-annotations-for-java.html