uz
Feedback

Firibgarlarga uchmang! Telemetrio bunday kanallarni topadi va belgilaydi 👉 Belgini ko‘rmoqchi bo‘lsangiz, obuna bo‘ling

Чашечка Java

Чашечка Java

Kanalga Telegram’da o‘tish

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

Ko'proq ko'rsatish
8 281
Obunachilar
-124 soatlar
-37 kun
-7130 kun
Postlar arxiv
Юнга, стоп, у нас кончились ресурсы. Или как мы оптимизировали наши микросервисы Всем привет. Как вы все знаете после определенных событий у нас случился ресурсный кризис. И появился запрос на оптимизацию потребляемых ресурсов. Темой и станет оптимизация потребления ресурсов микросервисов и уменьшение времени выполнения наших запросов. Читать: https://habr.com/ru/post/681484/?utm_campaign=681484

Компания Ростсельмаш сливает данные своих клиентов Компания Ростсельмаш, сливает данные своих клиентов. Сегодня хочу поделиться своим мнением и опытом использования, сервисом картирования от компании Ростсельмаш. У компании есть сервис под название Agrotronic. Который позволяет отлеживать данные по картированию. Для того, чтобы пользоваться их сервисом нужно купить датчики на комбайны, стоимостью от 500 т.р. шт. Поставить их на комбайн и когда техника будет убирать урожай на полях, на сайте будет отображаться в какой части поля, какая урожайность. Читать: https://habr.com/ru/post/681478/?utm_campaign=681478

Сервер авторизации для микросервисов на Spring Boot В этой статье рассмотрим, как реализовать аутентификацию с помощью централизованного сервера авторизации (Authorization Server) и API-шлюза (API Gateway). Читать: https://habr.com/ru/post/681448/?utm_campaign=681448

​OTUS запускает набор на буткемп «Java Developer» Благодаря интенсивному обучению по ускоренной методике, построенной на вебинарах 4 раза в неделю, вы пройдете путь с нуля до Junior+ за 3 месяца. OTUS предлагают: — Индивидуальные сессии с карьерным специалистом; — Комплексная поддержка менторов и комьюнити; — Проектная работа и наполнение портфолио. После успешного обучения у вас будет достаточно навыков, чтобы претендовать на среднюю по рынку зарплату. Оставьте заявку, чтобы присоединиться к группе по специальной цене: https://otus.pw/Cumq/ А протестировать обучение можно на бесплатных открытых уроках. 8 августа пройдет «Структура программы на Java. Примитивные типы», а 22 августа будет «Элементы формальной логики. Базовые структуры данных в языке Java». Это #партнёрский пост

Кастомное автоматическое обновление конфигураций клиентов Spring Cloud Config Server. Часть 1: настройка клиента Описывается, как можно инициировать автообновление клиентов Spring Cloud Config Server без использования Spirng Cloud Bus или какой-либо иной вспомогательной технологии в качестве посредника Читать: https://habr.com/ru/post/681214/?utm_campaign=681214

10 Examples of netstat command in Linux and UNIX Hello guys, if you are wondering how to check which application is listening
10 Examples of netstat command in Linux and UNIX Hello guys, if you are wondering how to check which application is listening to a particular port or wondering what are active UDP and TCP post on your machine then don't worry, you can use the "netstat" command in Linux to get these details. Along with lsof and curl, netstat is another important utility command which I use on almost daily basis as a server side Java developer. Since most of the application I create follow client server model and most of them run on Linux, I often use netstat command during post implementation checks and troubleshooting during any production issue. Java Interview questions and tutorials Read: http://www.java67.com/2022/08/10-examples-of-netstat-command-in-linux.html

Дюк, вынеси мусор! — 6. Shenandoah GC Несмотря на то, что мы уже успели достаточно подробно рассмотреть целых шесть сборщиков мусора (Serial, Parallel, CMS, G1, ZGC, Epsilon), у OpenJDK еще есть, что нам предложить. Эта статья посвящена Shenandoah, тому самому сборщику, "который смог" (с таким слоганом он обычно подается). Действительно ли он сможет в вашем конкретном случае, и если сможет, то насколько хорошо, определить предстоит только вам самим, опытным путем. А вот как и за счет чего он будет пытаться смочь, давайте сегодня будем выяснять, там есть на что посмотреть. Посмотреть, раз есть на что Читать: https://habr.com/ru/post/681256/?utm_campaign=681256

Java News Roundup: Spring Cloud, Liberica NIK, Open Liberty, Micronaut, JHipster, Apache ShenYu This week's Java roundup for
Java News Roundup: Spring Cloud, Liberica NIK, Open Liberty, Micronaut, JHipster, Apache ShenYu This week's Java roundup for August 1st, 2022, features news from JDK 19, JDK 20, Spring point and milestone releases, Liberica NIK 22.2.0 and 21.3.3, Open Liberty 22.0.0.8 and 22.0.0.9-beta, Micronaut 3.6.0, WildFly 27 Alpha4, Hibernate ORM 6.1.2, Hibernate Validator 6.2.4, 7.0.5 and 8.0.0.CR2, Hibernate Search 6.1.6, JHipster 7.9.2, 7.9.1 and 7.9.0, JBang 0.96.4 and Apache ShenYu. By Michael Redlich Read: https://www.infoq.com/news/2022/08/java-news-roundup-aug01-2022/

Spring Test Containers как бины TestContainers это отличный инструмент, позволяющий тестировать свой код в prod-like окружении. Однако трудности возникают когда появляется потребность провести сложное интеграционное тестирование используя несколько таких контейнеров, например, базы + очереди, нескольких очередей и т.д. В этой статье мы разберём как подружить несколько контейнеров, особенно когда один контейнер использует такие настройки, которые генерирует второй контейнер во время своего старта. Достигнем этого при помощи кастомизации тестового контекста + всеми любимого BeanFactoryBostProcessor'а. Читать: https://habr.com/ru/post/681232/?utm_campaign=681232

Top Java Blogs Weekly: Best of 33/2022 Best of Top Java Blogs, year 2022, week 33 Read: https://www.topjavablogs.com/news/bes
Top Java Blogs Weekly: Best of 33/2022 Best of Top Java Blogs, year 2022, week 33 Read: https://www.topjavablogs.com/news/best-of-33-2022

How to Fix java.lang.ArrayIndexOutOfBoundsException in Java [Solution] The ArrayIndexOutOfBoundsException, also known as java
How to Fix java.lang.ArrayIndexOutOfBoundsException in Java [Solution] The ArrayIndexOutOfBoundsException, also known as java.lang.ArrayIndexOutOfBoundsExcepiton is one of the most common errors in Java programs. It occurs when a Java program tries to access an invalid index like. an index that is not positive or greater than the length of an array or ArrayList. For example, if you have an array of String like String[] name = {"abc"} then trying to access name[1] will give java.lang.ArrayIndexOutOfBoundsException: length=1; index=1 error because index 1 is invalid here. Why? because the index in the Java array starts with zero rather than 1, hence in an array of just one element the only valid index is index zero. Java Interview questions and tutorials Read: http://www.java67.com/2016/07/common-reasons-of-javalangarrayindexoutofbounds-exception-java.html

Дюк, вынеси мусор! — 5. Epsilon GC Сборщики мусора из OpenJDK, которые мы успели рассмотреть к этому моменту (Serial и Parallel, CMS и G1, ZGC), были нацелены на как можно более быструю и эффективную сборку мусора, для чего использовали техники различной степени сложности и изобретательности. Это вполне ожидаемо, ведь исходя из названия, борьба с мусором — это их основная обязанность. Но сегодня у нас на рассмотрении сборщик, который выбивается из общей картины. Его разбор будет недолгим, но полезным, так как позволит взглянуть на один не рассматривавшийся до этого аспект работы сборщиков. Давайте немного отдохнем от сложных технических трюков и разберемся с Epsilon GC — самым простым из входящих в состав OpenJDK сборщиков. Отдохнуть, разобраться Читать: https://habr.com/ru/post/681116/?utm_campaign=681116

10 Examples of ls command in Linux Hey there, if you are wondering how to check what inside a directory or just wondering wha
10 Examples of ls command in Linux Hey there, if you are wondering how to check what inside a directory or just wondering what is ls command in Linux and how to use it to list files then you have come to the right place. Earlier, I have shared examples of df command, du command, find command, grep command, tar command and chmod command and in  today’s article we shall be looking at 10 different examples of ls command in Linux. But before then you would need the meaning of ls and what it is being used for. The goal of this article is to get you comfortable with different things you could do with the ls command and this articles would show you in details how to use it, when to use it and it’s benefits. Let’s go Java Interview questions and tutorials Read: http://www.java67.com/2022/08/10-examples-of-ls-command-in-linux.html

Пишем тесты производительности под Webflux Добрый день! Меня зовут Александр Леонов, я руководитель группы разработки одной из распределённых команд Usetech. Сегодня я хочу рассказать вам о том, как написать карманный тест производительности на неблокирующий код Webflux. Статья рассчитана на разработчиков, которые разрабатывают API или выполняют оптимизационный рефакторинг медленного кода. Итак, начнём. Читать: https://habr.com/ru/post/680948/?utm_campaign=680948

Top 25 Java Error and Exception Interview Questions Answers 1) The difference between checked and Unchecked Exceptions in Jav
Top 25 Java Error and Exception Interview Questions Answers 1) The difference between checked and Unchecked Exceptions in Java? For checked exceptions, the compiler ensures that they are either handled using try-catch, try-finally, or try-catch-finally block or thrown away. If a method, which throws a checked exception like IOException, and doesn't handle them or doesn't declare them in the throws class of the method, a compile-time error will occur. On the other hand, the compiler doesn't do similar checks for an unchecked exception, that's why it is known as un-checked. These are also called runtime exceptions because they extend java.lang.RuntimeException. Java Interview questions and tutorials Read: http://www.java67.com/2019/06/top-25-java-exception-interview-questions-answers.html

[Solved] java.lang.ClassNotFoundException: org.Springframework.Web.Context.ContextLoaderListener in Java and Spring Problem :
[Solved] java.lang.ClassNotFoundException: org.Springframework.Web.Context.ContextLoaderListener in Java and Spring Problem :You are getting java.lang.ClassNotFoundException : org.Springframework.Web. Context.ContextLoaderListener in your Spring-based Java Web application. Cause: This error comes when you are using the Spring MVC framework in your Java Web application and configured org.springframework.web.context.ContextLoaderListener as a listener in your deployment descriptor also known as web.xml, but the JAR which contains this class is not available in the web application's CLASSPATH. Java Interview questions and tutorials Read: http://www.java67.com/2015/06/org.Springframework.Web.Context.ContextLoaderListener.html

10 Reasons of java.lang.NumberFormatException in Java - Solution The NumberFormatExceptionis one of the most common errors in
10 Reasons of java.lang.NumberFormatException in Java - Solution The NumberFormatExceptionis one of the most common errors in Java applications, along with NullPointerException. This error comes when you try to convert a String into numeric data types e.g., int, float, double, long, short, char, or byte. The data type conversion methods like Integer.parseInt(), Float.parseFloat(), Double.parseDoulbe(), and Long.parseLong() throws NumberFormatException to signal that input String is not valid numeric value. Java Interview questions and tutorials Read: http://www.java67.com/2016/10/10-reasons-of-javalangnumberformatexception-in-java-solution.html

3 ways to solve Eclipse - main class not found error Like many Java programmers who get "Error: Could not find or load main c
3 ways to solve Eclipse - main class not found error Like many Java programmers who get "Error: Could not find or load main class Main" while running the Java program in Eclipse, I was also getting the same problem recently. The "Error: Could not find or load main class"was rendered me puzzled even after my 10+ years of experience with Java errors and exceptions. Whenever I run my Java application either by Run configurations or right-click and run as a Java program, I get an annoying popup complaining about "could not find or load the main class, the program will exit". Java Interview questions and tutorials Read: http://www.java67.com/2016/09/3-ways-to-solve-eclipse-main-class-not-found-error-java.html

Can You declare Constructor inside Servlet Class in Java? Answer Yes, Servlet can have Constructor, it's perfectly legal but it's not the right way to initializeyour Servlet. You should use the init() method provided by the Servlet interface to initialize the Servlet. If you remember, Servlet's are special in the sense that they are instantiated by the container and managed by the container. A servlet container like Tomcat creates a pool of multiple Servlets to serve multiple clients at the same time. Java Interview questions and tutorials Read: http://www.java67.com/2016/02/can-you-declare-constructor-inside.html