fa
Feedback

فریب کلاهبرداران را نخورید! تل‌متریو این کانال‌ها را شناسایی و برچسب‌گذاری می‌کند 👉 برای مشاهده برچسب، اشتراک تهیه کنید

Чашечка Java

Чашечка Java

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

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

نمایش بیشتر
8 282
مشترکین
-124 ساعت
-37 روز
-7130 روز
آرشیو پست ها
10 Examples of ArrayList in Java ArrayList Example in Java Hello guys, In this Java ArrayList Tutorial, we will see 10 common
10 Examples of ArrayList in Java ArrayList Example in Java Hello guys, In this Java ArrayList Tutorial, we will see 10 common usage of ArrayList with examples. You will learn how to add elements in ArrayList, how to remove elements from ArrayList, how to check if ArrayList contains a given object, how to sort an ArrayList of objects  and several other ArrayList functions which we use daily as a Java programmer. ArrayList is one of the most popular classes from the Java Collection framework along with HashSet and HashMap and a good understanding of the ArrayList class and methods is imperative for Java developers. ArrayList is an implementation of List Collection which is ordered and allows duplicates. Java Interview questions and tutorials Read: http://www.java67.com/2022/03/10-examples-of-arraylist-in-java.html

JavaFx with Spring application В этой статье я продемонстрирую, как с помощью JavaFX и Spring Boot разработать Desktop-приложение с простыми и понятными инструкциями. Рассмотрим плюсы и минусы данного подхода, а так же посмотрим на варианты создания интерфейса для Java приложения. А так же обсудим как можно распространять Java приложение и не заботиться о том что у пользователя может не быть JVM или других необходимых инструментов для работы вашего крутого приложения. Читать статью Читать: https://habr.com/ru/post/716298/?utm_campaign=716298

Начальная настройка стенда Keycloak Базовая настройка стенда Keycloak для локальной разработки В данном посте рассмотрим как настроить стенд Keycloak и сделать эту настройку воспроизводимой, путем хранения конфигурации в коде Читать: https://habr.com/ru/post/716238/?utm_campaign=716238

Настройка локального стенда Keycloak Настройка локального стенда Keycloak. в данном посте разберем как настроить и запустить локальный стенд Keycloak в production-like режиме. Читать: https://habr.com/ru/post/716234/?utm_campaign=716234

Цикл постов про Keycloak. Часть первая: Внедрение Цикл постов про Keycloak (часть 1): Внедрение. О чем речь? Это первая часть серии статей о переходе на Keycloak в качестве SSO в условиях кровавого enterprise. Читать: https://habr.com/ru/post/716232/?utm_campaign=716232

Prostore — простой Event sourcing + CQRS фреймворк На данный момент на рынке мало Event sourcing + CQRS фреймворков. А те, что есть, непопулярны и имеют слабую поддержку, поэтому многие создают свои in-house решения. В этой статье расскажу о выполненном командой «Programming Store» проекте Prostore, который может послужить примером при создании вашего собственного решения. Читать: https://habr.com/ru/post/716218/?utm_campaign=716218

Графический интерфейс для bash, делаем работу в командной строке удобнее Когда пишешь код в IntelliJ IDEA, привыкаешь что везде есть подсказки, везде где можно работает комплишен, всегда можно одним кликом перейти на декларацию метода или на его юсаджи. После этого интерфейс командной строки выглядит как-то бедно. Конечно, он очень хорошо продуман, сделан настолько удобным, насколько это возможно в текстовом UI, но в графическом UI возможностей намного больше. Представляю вам плагин для JetBrains IDE, позволяющий работать в командной строке cо всеми удобствами IDE. Читать: https://habr.com/ru/post/715824/?utm_campaign=715824

How to Fix Reference Error: $ is not defined in jQuery and JavaScript [Solved] Hello JavaScript developer, if you are wonderi
How to Fix Reference Error: $ is not defined in jQuery and JavaScript [Solved] Hello JavaScript developer, if you are wondering how to fix the Reference Error $ is not defined while using jQuerythen you have come to the right place. "Reference Error: $ is not defined" is one of the common JavaScript errors which come when you try to use $, which is a shortcut of jQuery() function before you load the jQuery library like calling $(document).ready() function. "ReferenceError: XXX is not defined"is a standard JavaScript error, which comes when you try to access a variable or function before declaring it. Since jQuery is also a JavaScript library, you must first include the declaration of the jQuery function or $() before you use it. Java Interview questions and tutorials Read: http://www.java67.com/2020/07/fixing-referenceerror-is-not-defined-in.html

How to fix java.net.SocketException: Broken pipe, Connection reset, and Too many open files in Java? In this blog, I plan to
How to fix java.net.SocketException: Broken pipe, Connection reset, and Too many open files in Java? In this blog, I plan to talk about some common exceptions and errors that arise while using sockets. Quite often, these socket issues arise out of application bugs, system settings, or system load. It might be an unnecessary delay to go to product teams, only to discover that the issue can be resolved by tuning/configuring your local settings. Understanding these messages will not only help resolve the issues but also make a conscious effort in avoiding these scenarios while developing applications. Java Interview questions and tutorials Read: http://www.java67.com/2019/02/7-common-socket-errors-and-exception-in-java.html

How to fix ArrayIndexOutOfBoundsException and StringIndexOutOfBoundsException in Java? Though both StringIndexOutOfBoundsExce
How to fix ArrayIndexOutOfBoundsException and StringIndexOutOfBoundsException in Java? Though both StringIndexOutOfBoundsException and ArrayIndexOutOfBoundsException are children of IndexOfBoundsExceptionclass, the former is thrown by methods of String and related class like StringBuffer and StringBuilder to indicate that an index is either negative or greater than the size of the String, or more generally not valid. For example, charAt() method throws StringIndexOutOfBoundsException when an index is equal to the length of String? why? because String is backed by character array where index starts at 0and ends at length -1. Java Interview questions and tutorials Read: http://www.java67.com/2016/04/difference-between-stringindexoutofboundsException-vs-ArrayIndexOutOfBoundsException-Java.html

How to Fix Spring Boot cannot access REST Controller on localhost (404) Error in Java Hello guys, if you are getting "cannot
How to Fix Spring Boot cannot access REST Controller on localhost (404) Error in Java Hello guys, if you are getting "cannot access REST Controller on localhost (404)" error in your Spring Boot application and wondering how to solve it then you have come to the right place. Earlier, I have shared how to solved 5 common Spring Framework errors and exception and in this article, we will take a look at the spring boot can’t access rest controller on localhost (404) issue. A 404 Not Found Error for your REST Controllers is a relatively typical problem that many developers encounter while working with Spring Boot applications. In this Spring boot tutorial, let's explore why such an error took place, and later on, we will learn how to fix this issue. Java Interview questions and tutorials Read: http://www.java67.com/2023/02/how-to-fix-spring-boot-cannot-access.html

Настойка Hibernate Envers Настройка Аудирования и Журналирования в java проекте. Hibernate Envers не так прост как кажется, но мы всё настроим и кастомизируем. Читать: https://habr.com/ru/post/715918/?utm_campaign=715918

Архитектурные шаблоны взаимодействия с базами данных В первой статье мы рассмотрели шаблоны проектирования, применимые в программировании приложений. Однако сейчас сложно представить серьезное бизнес-приложение без базы данных. Большие объемы данных требуют хранения и обработки. И то насколько оптимально построена связь между уровнем прикладного кода и уровнем БД во многом зависит быстродействие системы в целом. Поэтому важно правильно построить взаимодействие с СУБД. В этой статье мы рассмотрим шаблоны взаимодействия с базами данных. Правильно выбранный шаблон взаимодействия позволит избежать многих проблем при разработке и получить качественное приложение. Читать: https://habr.com/ru/post/715702/?utm_campaign=715702

Announcing availability of the AWS CRT HTTP Client in the AWS SDK for Java 2.x Read: https://aws.amazon.com/blogs/developer/a
Announcing availability of the AWS CRT HTTP Client in the AWS SDK for Java 2.x Read: https://aws.amazon.com/blogs/developer/announcing-availability-of-the-aws-crt-http-client-in-the-aws-sdk-for-java-2-x/

«Разделяй и властвуй» для мира в OpenStreetMap Продолжу рассказ "Как поместить весь мир в обычный ноутбук: PostgreSQL и OpenStreetMap" секретами о геоданных OpenStreetMap, на которых множество компаний построили бизнес но не все делятся подробностями... Что ж, сегодня приоткроем завесу! База данных в PosgreSQL после загрузки из дампа занимает больше 587 GB. Это уже по меркам СУБД большая база и одна огромная таблица на каждый тип объектов не сработает. Для управляемости такие данные надо секционировать, хорошо что PostgreSQL поддерживает декларативное секционирование данных. Осталось лишь придумать как разделить географические данные. После поисков и сравнений мне на помощь пришла иерархическая гексагональная геопространственная система индексирования H3 Все это было реализовано в моем проекте openstreetmap_h3. Читать: https://habr.com/ru/post/715622/?utm_campaign=715622

25 Examples of ConcurrentHashMap in Java The java.util.ConcurrentHashMap is one of the most important classes of JDK. It was
25 Examples of ConcurrentHashMap in Java The java.util.ConcurrentHashMap is one of the most important classes of JDK. It was introduced in JDK 1.5 along with other concurrent collection classes likeCopyOnWriteArrayList and BlockingQueue. Ever since then, it has been a workhorse in concurrent Java applications. It won't be an exaggeration If I say there is hardly any concurrent Java application that has not used ConcurrentHashMap yet. The class was another implementation of java.util.Map and a popular hash table data structure with concurrency inbuilt. This means you can also pass a ConcurrentHashMap to a method that is expecting a java.util.Map object. It was made scalable by dividing the whole map into a different segment, known as concurrency level, and then allowing threads to modify segments concurrently. Java Interview questions and tutorials Read: http://www.java67.com/2020/02/25-examples-of-concurrenthashmap-in-java.html

2 Ways to sort a Map in Java by Keys? TreeMap and HashMap Example So you have a Map in your Java program and you want to proc
2 Ways to sort a Map in Java by Keys? TreeMap and HashMap Example So you have a Map in your Java program and you want to process its data in sorted order. Since Map doesn't guarantee any order for its keys and values, you always end up with unsorted keys and Map. If you really need a sorted Map then think about using the TreeMap, which keeps all keys in sorted order. This could be either natural order of keys (defined by Comparable) or custom order (defined by Comparator), which you can provide while creating an instance of TreeMap. If you don't have your data in a sorted Map then the only option that remain for you is to get the keys and values, sort them and then process your Map in that order. Java Interview questions and tutorials Read: http://www.java67.com/2014/04/2-ways-to-sort-hashmap-in-java-example.html

How to Remove Entry (key/value) from HashMap in Java while Iterating? Example Tutorial Hello guys, Can you remove a key while
How to Remove Entry (key/value) from HashMap in Java while Iterating? Example Tutorial Hello guys, Can you remove a key while iterating over HashMap in Java? This is one of the interesting interview questions as well as a common problem Java developers face while writing code using HashMap. Some programmers will say No, you cannot remove elements from HashMap while iterating over it. This will fail fast and throw concurrent modification exceptions. They are right but not completely. It's true that the iterator of HashMap is a fail-fast iterator but you can still remove elements from HashMap while iterating by using Iterator's remove() method. Java Interview questions and tutorials Read: http://www.java67.com/2017/06/how-to-remove-entry-keyvalue-from-HashMap-in-java.html

Интеграция Primefaces в приложение на Spring Boot. Часть 7 — Компоненты для сохранения и редактирования данных Описывается пример интеграции библиотеки компонентов пользовательского интерфейса Primefaces, построенной на основе фреймворка JavaServer Faces (JSF), в MVC приложение на Spring Boot. Первая часть | Вторая часть | Третья часть Четвертая часть | Пятая часть | Шестая часть Читать: https://habr.com/ru/post/715516/?utm_campaign=715516

Как устроена аутентификация в Micronaut: гайд по настройке Всем привет! Меня зовут Иван Зыков, я старший Java разработчик в компании X5 Tech. За моими плечами больше 5 лет опыта разработки. Хочу познакомить вас с модулем аутентификации Micronaut и заодно продемонстрировать, как настроить OAuth2.0 у нескольких провайдеров. Читать: https://habr.com/ru/post/715634/?utm_campaign=715634