Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 551
订阅者
-124 小时
-207 天
-2430 天
帖子存档
8 551
Difference between application.properties vs Application.json vs Application.yml in Spring Boot
Hello guys, if you have worked in any Spring Boot application then you may have noticed that there are multiple ways to declare configuration for Spring Boot application. I am sure you must have noticed application.propties, application.json, and application.ymlwhile working in proprietary or open source Spring Boot application. When I first started, it was application.propties and it was quite familiar because I have used properties file in past for specify configuration of Java application but when I first see applcation.json and application.yml I was bit confused like what they are and does they really work? In the end I found out that they are just different ways to specify configuration for any Spring Boot application.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/02/difference-between-application.html
8 551
Старт в профессию Java-разработчика легче с поддержкой профессионалов! OTUS запускает новый поток специализации «Java Developer»
Программа онлайн-курса готовит с нуля до Java-разработчика Middle уровня за 15 месяцев.
Держите подборку полезных вебинаров курса, если хотите протестировать учебный процесс и познакомиться с преподавателями:
— 1 марта 20:00 «Парадигмы программирования в Java»
— 15 марта 20:00 «Введение в Java Collections: списки и O(n)»
— 28 марта 20:00 «Основы UML для начинающих Java-разработчиков»
Забронировать место: https://tprg.ru/Sy1L
Преподаватели — Senior Java-разработчики ведущих IT-компаний. Они разберут с вами рабочие кейсы, поделятся уникальным опытом и трендами разработки.
Оставьте заявку, чтобы узнать больше о курсе и записаться в группу: https://otus.pw/eMQ2/
Реклама ООО «Отус Онлайн-Образование» LjN8KGmWp
8 551
Топ вопросов на Junior собеседованиях
Процесс прохождения собеседований – важный навык, который нужно прокачивать, как и все остальные. С таким запросом часто приходят и наши ученики, а мы знаем, как решить это: зачастую вопросы на собеседованиях повторяются, поэтому для вас мы решили собрать подборку популярных вопросов, которые вам могут задать на собеседовании на Junior позиции по популярным технологиям.
Так что, если вам интересно, какие вопросы задают на собеседовании, то эта статья для вас. А если хотите узнать ответы на них, то переходите по ссылкам на наш YouTube канал и смотрите записи трансляций моковых собеседований с менторами Solvery. Там можно было узнать, как проходят реальные интервью и задать вопросы менторам Solvery.
Читать: https://habr.com/ru/post/718282/?utm_campaign=718282
8 551
Основы OkHttp в Android-разработке
Как применять OkHttp — библиотеку и, по совместительству, HTTP-клиент с открытым исходным кодом для Java и Kotlin.
Читать: «Основы OkHttp в Android-разработке»
8 551
Oracle’s new Java subscription model to cost a lot more: Gartner
Read: https://www.infoworld.com/article/3688516/oracles-new-java-subscription-model-to-cost-a-lot-more-gartner.html#tk.rss_java
8 551
MicroStream Becomes Eclipse Foundation Member
MicroStream offers Micro Persistence with a Java-native object graph persistence layer, allowing for low-latency and in-memory data processing. MicroStream announced their participation in the Eclipse Foundation as a Committer Member.
By Johan Janssen
Read: https://www.infoq.com/news/2023/02/microstream-eclipse-foundation/
8 551
Difference between Callable and Runnable in Java? call() vs run() method
Hello guys, the difference between the Callable and Runnable interface in Java is one of the interesting questions from my list of Top 15 Java multi-threading questions, and it’s also very popular in various Java Interviews. The Callable interface is newer than the Runnable interface and was added on Java 5 release along with other major changes e.g. Generics, Enum, Static imports, and variable argument method. Though both Callable and Runnable interfaces are designed to represent a task, which can be executed by any thread, there is some significant difference between them.
Java Interview questions and tutorials
Read: http://www.java67.com/2013/01/difference-between-callable-and-runnable-java.html
8 551
What is Volatile Variable in Java? When to Use it? Example
What is a Volatile variable in Java?
The volatile variable in Java is a special variable that is usedto signal threads and compilers and runtime optimizers like JIT that the value of this particular variable is going to be updated by multiple threads inside the Java application. By making a variable volatile using the volatile keyword in Java, the application programmer ensures that its value should always be read from the main memory and the thread should not use the cached value of that variable from their own stack. With the introduction of the Java memory model from Java 5 onwards along with the introduction of CountDownLatch, CyclicBarrier, Semaphore, and ConcurrentHashMap.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/what-is-volatile-variable-in-java-when.html
8 551
Java News Roundup: Gradle 8.0, Maven, Payara Platform, Piranha, Spring Framework, MyFaces, Piranha
This week's Java roundup for February 13th, 2023 features news from OpenJDK, JDK 20, JDK 21, Native Build Tools 0.9.20, Spring 6.0.5, Spring Cloud Data Flow 2.10.1, Quarkus 2.16.3, Payara Platform, Micronaut 3.8.5, Helidon 3.1.2, Vert.x 3.9.15, Hibernate Search 6.2.Alpha2, MyFaces 4.0-RC5, Grails 5.3.2, Reactor 2022.0.3, Metrics 1.11-M1 and Tracing 1.1-M1, Maven 3.9, Gradle 8.0 and Piranha 22.3.
By Michael Redlich
Read: https://www.infoq.com/news/2023/02/java-news-roundup-feb13-2023/
8 551
Difference between Docker Kubernetes for Programmers and DevOps
Hello guys, If you're a Java developer or doing Software Development in any programing language and interested in cloud-based technologies like containers, you've probably heard of Docker and Kubernetes and may be wondering what they are and how they connect. Should I use Kubernetes or Docker? is a common way to start the debate between the two. Earlier, I have explained you why Every programmer should learn Docker and Kubernetes and In this article, we are going to discuss these two technologies again and see the difference between Docker and Kubernetes and find out how they differ from each other, when to use Docker and Kubernetes, and what value they provide.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/02/difference-between-docker-kubernetes.html
8 551
Difference between synchronized block and method in Java? Thread Example
Synchronized block and synchronized methods are two ways to use synchronized keywords in Java and implement mutual exclusion on critical sections of code. Since Java is mainly used to write multi-threading programs, which present various kinds of thread-related issues like thread-safety, deadlock, and race conditions, which plagues into code mainly because of poor understanding of the synchronization mechanism provided by the Java programming language. Java provides inbuilt synchronized and volatile keywords to achieve synchronization in Java. The main difference between the synchronized method and the synchronized blockis a selection of locks on which critical section is locked.
Java Interview questions and tutorials
Read: http://www.java67.com/2013/01/difference-between-synchronized-block-vs-method-java-example.html
8 551
ChatGPT и Java Back-End Spring Boot
Ускорение Back-End Java Spring Boot разработки с помощью Chat GPT
Читать: https://habr.com/ru/post/718082/?utm_campaign=718082
8 551
Top 12 Java Thread, Concurrency, and Multithreading Interview Questions and Answers
Java concurrency and thread interview questions answers
Multithreading is an important feature of the Java programming language, which means threads are also an important part of any Java interview. It's true and in fact, at beginners and freshers, level Thread interview questions in Java are one of the most difficult to answer. One reason for interview questions related to multithreading and concurrency being difficult is confusion around how multiple threads work together and the second is threads are genuinely a complicated topic to understand and use correctly.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/5-thread-interview-questions-answers-in.html
8 551
Top Java Blogs Weekly: Best of 8/2023
Best of Top Java Blogs, year 2023, week 8
Read: https://www.topjavablogs.com/news/best-of-8-2023
8 551
Producer Consumer Problem with Wait and Notify - Thread Example Tutorial
The Producer-Consumer Problem is a classical concurrency problem and in fact, it is one of the most powerful concurrency design patterns which is used in most multithreaded Java applications. In the last article, I have shown you how to solve the Producer-Consumer problem in Java using blocking Queue but one of my readers emailed me and requested a code example and explanation of solving the Producer-Consumer problem in Java with the wait and notify method as well Since it's often asked as one of the top coding questions in Java. In this Java tutorial, I have put the code example of the wait notify version of the earlier producer-consumer concurrency design pattern.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/12/producer-consumer-problem-with-wait-and-notify-example.html
8 551
Java CountDownLatch Example for Beginners - [Multithreading Tutorial]
Hello Java programmers, the CountDownLatch is an important concurrency utility class that was added in JDK 1.5 to facilitate inter-thread communication without using wait and notify methods, but unfortunately, many Java developers still struggle to understand and use this powerful tool. In this article, you will learn what is CountDownLatch and how to use it to write better concurrent applications in Java. You can use the CountDownLatch if you are spawning multiple threads to do different jobs and want to know when exactly all tasks are finished so that you can move to the next stage. In other words,you can block a thread until other threads complete their task.
Java Interview questions and tutorials
Read: http://www.java67.com/2018/04/java-countdownlatch-example-when-and-how.html
8 551
У нас для вас отличные новости! Наш сайт обновился и теперь может уведомлять по почте и в Telegram о новых материалах, которые интересны именно вам
Для этого вам нужно:
1. Авторизоваться на сайте tproger.ru
2. Зайти в свой профиль и подписаться на интересные вам теги в разделе «Подписки». Например, библиотеки, инструменты и другие
3. В разделе уведомлений выбрать, как именно вы хотите получать уведомления
4. Всё! Вы великолепны и теперь всегда будете первым узнавать о свежих материалах
8 551
Кажется, OTUS научился замедлять время
Иначе как объяснить, что на онлайн-буткемпе по Java вы освоите программу, на которую тратят полтора года, за 3 месяца? Там вы получите фундаментальные знания, полезные навыки и собственный проект в портфолио.
Принять участие можно до 28 февраля, успейте зарегистрироваться: https://tprg.ru/eWRj
Реклама ООО «Отус Онлайн-Образование»
8 551
Spring Cloud OpenFeign и авторизация
В статье я хочу показать, каким образом можно реализовать отправку запросов с авторизацией при использовании Spring Cloud OpenFeign клиента для работы с АПИ.
Читать: https://habr.com/ru/post/717610/?utm_campaign=717610
8 551
Sonatype BOM Doctor Evaluates and Helps Patch Java Software Bills of Materials
BOM Doctor is a free, GitHub-hosted tool created by Sonatype to scan software bills of materials (SBOMs) and identify vulnerabilities and legal issues.
By Sergio
Read: https://www.infoq.com/news/2023/02/sonatype-bom-doctor-tool/
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
