Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 281
订阅者
-124 小时
-37 天
-7130 天
帖子存档
8 280
Безопасный Spring REST с применением Spring Security и OAuth2
В этой статье мы продемонстрируем пример настройки Spring Security + OAuth2 для защиты конечных точек REST API на фреймворке Spring Boot. Клиенты и учетные данные пользователей будут храниться в реляционной базе данных (для баз данных H2 и PostgreSQL подготовлены примеры конфигураций).
Читать: https://habr.com/ru/post/690978/?utm_campaign=690978
8 280
JUnit 5.9 Supports GraalVM Native Image
JUnit 5.9 resolves various bugs and introduces a number of new features such as the ability to keep temporary files after executing a test. New annotations provide the ability to either enable or disable specific tests when running in a GraalVM Native Image. XML reports are now stored in the Open Testing Reporting format.
By Johan Janssen
Read: https://www.infoq.com/news/2022/09/junit-5-9/
8 280
How and When to use TreeMap in Java? Example Tutorial
Hello guys, I hope you all are doing well and having lots of fun reading and learning Java Collections together. Today we are here a meet again on our journey of Java. I hope you all have seatbelts buckled up as today it's gonna be an adventurous ride while learning something that is most used in many production applications, coding, and whatnot. Today's topic, TreeMap in Java is very important because it holds a very significant feature Java development kit provides. This is also one class which many Java developer doesn't pay attention but it is really used for many use cases. Most Java developer just keep their attention to ArrayList, HashSet, and HashMap and thus missing out on many cool Java collection classes like TreeMap, WeakHashMap, and LinkedHashMap which saw earlier.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/10/how-to-use-treemap-in-java-example.html
8 280
How to delete multiple elements from a LinkedList in Java? SubList() Example
Hello guys, if you are looking for an easy way to remove a sub set of elements from a LinkedList in Java then you have come to the right place. In the past, I have shown you how to sort a LinkedList in Java and how to create your own linked list implementation in Java and in this article, I am going to introduce you with an interesting method which can be used to delete a portion of LinkedList in Javain shot. Yes, there is a method exists but not many Java developer knows about it. The method is called subList() and you can use this method with clear method in Java to delete a portion of linked list in one shot.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/05/how-to-delete-many-elements-from-linkedlist-java.html
8 280
How to use WeakHashMap in Java? Example Tutorial
Hello friends, we are here today again on our journey to Java. I hope everyone is fine and ready to board our train of knowledge. Today we are gonna learn something very interesting and very exciting. Today's topic will definitely be very useful in coding and programming. This topic would surely decrease your time complexity, and space requirements for any task very significantly :p So what's the wait? Let's start!
Java Interview questions and tutorials
Read: http://www.java67.com/2021/10/how-to-use-weakhashmap-in-java-example.html
8 280
Алгоритмы сортировки на Java с примерами
Рассматриваем популярные алгоритмы сортировки и принципы их работы с примерами на языке программирования Java.
Читать: «Алгоритмы сортировки на Java с примерами»
8 280
Helidon 3.0 Introduces Project Starter and Requires Java 17 and Jakarta EE 9.1
Oracle has released Project Helidon 3.0, featuring support for JDK 17, Jakarta EE 9.1, and MicroProfile 5.0. Also included in this release is the new Helidon Starter for generating custom Helidon applications, an updated command-line tool, and a security hardening of Java serialization through JEP 290: Filter Incoming Serialization Data. InfoQ also spoke to Helidon Project lead Dmitry Kornilov.
By Karsten Silz
Read: https://www.infoq.com/news/2022/09/helidon-3-0/
8 280
Top 20 Shell Scripting Interview Questions and Answers
Have you struggle with Shell Scripting interview questions before? Have you been having problems in finding out the kind of questions asked in a Shell Scripting interview? If you have experienced this then it is high time that you find a solution. You cannot lose that dream job anymore and yet you can find with ease all you require to pass your interview. If that interview is a few days away, worry no more because you will get before that panel fully prepared and ready for the day.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/shell-scripting-interview-questions.html
8 280
Why the C programming language still rules
Read: https://www.infoworld.com/article/3402023/why-the-c-programming-language-still-rules.html#tk.rss_java
8 280
Article: Moving Kafka and Debezium to Kubernetes using Strimzi - The GitOps Way
Deploying an Apache Kafka cluster to a Kubernetes is not an easy task. There are a lot of pieces to configure like the zookeeper, the Kafka cluster, topics, and users. Strimzi is a Kubernetes controller making the deployment process of Kafka a child game. Moreover, Strimzi lets you manage Kafka using GitOps methodology as everything is executed using a Kubernetes YAML file.
By Alex Soto
Read: https://www.infoq.com/articles/strimzi-the-gitops-way/
8 280
Introducing Spring Boot Migrator
Spring Boot Migrator (SBM) is an experimental Spring project first released in March 2022. SBM allows developers to convert existing, non Spring Boot applications, which are based on technologies such as JAX-RS, EJB and JMS to Spring Boot or upgrade older Spring Boot applications to the latest version.
By Johan Janssen
Read: https://www.infoq.com/news/2022/09/spring-boot-migrator/
8 280
Лучшие практики клиентов Cloud собраны в одном вебинаре
28 сентября эксперты Cloud на примере реальных кейсов Dodo Brands, «Уралхим», Росгеологии, Мариинского театра, lady & gentleman CITY расскажут:
— Как построить с нуля платформу для обработки и анализа данных.
— Для чего Kubernetes нужен интернет-магазину.
— Как безопасно мигрировать из зарубежного облака и масштабировать ИТ-инфраструктуру.
— В чём плюсы размещения «1С» в облаке.
— Как разработать стриминговую платформу в облаке и монетизировать контент.
— Почему будущее за Serverless.
Бесплатный вебинар будет интересен CEO, CTO, CFO компаний, разработчикам, инженерам, аналитикам данных и всем, кто планирует наладить бизнес-процессы внутри компании и готовится к цифровой трансформации.
Регистрируйтесь на вебинар здесь
Это #партёрский пост
8 280
Jakarta EE 10 Delivers New Core Profile and Updates to Specifications
Jakarta EE 10, released on September 22, 2022, is the first major release of Jakarta EE since the “Jakarta” namespace update by the Jakarta EE Working Group hosted by the Eclipse Foundation. This release aims to deliver a set of coordinated specifications for building modernized, simplified, and lightweight cloud-native Java applications across the spectrum of Jakarta EE technologies.
By A N M Bazlur Rahman
Read: https://www.infoq.com/news/2022/09/jakarta-ee-10-updates/
8 280
Difference between HashMap vs TreeMap vs LinkedHashMap in Java
Hello guys, if you are wondering when to use HashMap, TreeMap and LinkedHashMap in Java and want to understand difference between them then you are at the right place. Earlier, I have shared difference between HashSet, TreeSet, and LinkedHashSet and in this article, I will explain the difference between these three common Map implementation HashMsp, TreeMap, and LinkedHashMap. Though all three classes like HashMap, LinkedHashMap and TreeMap are implementation of java.util.Map interface, there is some functional difference between them. Perhaps most notable difference between them comes from their iteration order. HashMap makes absolute no guarantee about in which order you can iterate their keys, any application depending upon iteration order of HashMap is fragile, because it can change anytime. In fact, in Java 7, iteration order of HashMap is different than Java 6.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/05/hashmap-vs-treemap-vs-linkedhashmap-in.html
8 280
Java News Roundup: JDK 19 and Jakarta EE 10 Released, String Templates, Payara Platform
This week's Java roundup for September 19th, 2022 features news from OpenJDK, JDK 19, JDK 20, Amazon Corretto 19, BellSoft Liberica JDK 19, Jakarta EE 10, multiple Spring Framework updates, Quarkus 2.12.3, Payara Platform updates, Micronaut 3.7.0, GraalVM Native Build Tools 0.9.14, JobRunr 5.2.0, PrimeFaces point releases, Failsafe 3.3.0, Apache Groovy 3.0.13 and Apache Log4j2 2.19.0.
By Michael Redlich
Read: https://www.infoq.com/news/2022/09/java-news-roundup-sep19-2022/
8 280
Хинт для программистов: у Tproger есть 4 канала, где можно получать отборную инфу по конкретной теме
Здесь каждый найдёт что-нибудь для себя:
— разработка на Python: @zen_of_python
— начинающим программистам: @prog_point
— нейронные сети и ML: @neuro_channel
— всё о DevOps: @devo_pes
8 280
Java из Python и обратно на Android
Продолжение статьи C/C++ из Python (ctypes) на Android. Теперь поговорим о том как использовать Java из Python, ведь для android это родной язык и почти все работающие библиотеки и нужные вещи написаны на ней. Научимся создавать классы, вызывать методы, возвращать результат и дергать callback-и. На Linux аналогично работает.
Читать: https://habr.com/ru/post/683536/?utm_campaign=683536
8 280
JDK 20: What’s next for Java?
Read: https://www.infoworld.com/article/3674993/jdk-20-whats-next-for-java.html#tk.rss_java
8 280
Гайд для «джуна». Что нужно знать начинающему разработчику Java, чтобы получить работу
Рассказываем, что должен выучить Java-разработчик на junior-позиции. А ещё — где получить опыт и как проявить компетенции и скиллы.
Читать: «Гайд для «джуна». Что нужно знать начинающему разработчику Java, чтобы получить работу»
