Чашечка Java
Kanalga Telegram’da o‘tish
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Ko'proq ko'rsatish8 550
Obunachilar
-224 soatlar
-147 kunlar
-2730 kunlar
Postlar arxiv
8 550
Особое мнение: смотрим на нагрузочные тесты как на функциональные
Что делать, если у команды появилась потребность регулярно оценивать производительность приложения и в динамике сравнивать быстродействие с прошлыми прогонами, а внедрять для этого решение enterprise-уровня - это как из пушки по воробьям? Мы решили пойти немного неочевидным, но продуктивным путём, воспользовавшись опытом реализации функциональных тестов и их интеграции в систему CI/CD, ведь, в сущности, почему нужно обязательно смотреть на тестирование производительности, как на что-то особенное? Что из этого получилось, и с какими проблемами при этом пока ещё приходится мириться - читайте под катом.
Читать: https://habr.com/ru/post/709822/?utm_campaign=709822
8 550
Micronaut 3.8.0: Build Scalable Applications with the Updated CRaC Feature
Just one week after the release of version 3.7.5, the Micronaut Foundation released Micronaut 3.8.0. This new version brings several exciting features, including support for GraalVM 22.3.0, the ability to use @RequestBean annotations with Java records, and a new command that guides users in creating a Micronaut AWS Lambda project.
By A N M Bazlur Rahman
Read: https://www.infoq.com/news/2023/01/micronaut-released-3-8-0/
8 550
Kotlin 1.8.0 adds recursive copy, delete for directories
Read: https://www.infoworld.com/article/3682130/kotlin-180-adds-recursive-copy-delete-for-directories.html#tk.rss_java
8 550
Интеграция Primefaces в приложение на Spring Boot. Часть 2 — Готовим контекстное меню для главной страницы
В этой статье описывается пример интеграции библиотеки компонентов пользовательского интерфейса Primefaces, построенной на основе фреймворка JavaServer Faces (JSF), в MVC приложение на Spring Boot.
Первая часть
Читать: https://habr.com/ru/post/709726/?utm_campaign=709726
8 550
26 Spring Framework Interview Questions Answers for 2 to 4 years experienced Java Developers
Spring is one of the most popular framework and most widely used to develop Java Web application using MVC framework. Due to its immense popularity its expected from Java guys to know how to use Spring framework and how it works. Most of the Java development position uses Spring, Hibernate along with core Java and JEE web technologies like Servlet, JSP, and JSF. In this article, I will be sharing some frequently asked Spring interview question for Java JEE developers. It will contain questions from different Spring modules like Spring MVC, Spring core, the concept on which Spring is built e.g. IOC and DI and Spring security.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/26-spring-framework-interview-questions.html
8 550
What is @Bean Annotation in Spring Framework? Example Tutorial
Hello Java programmers, if you are wondering what is @Bean annotation in Spring Framework, what is the purpose, and how to use it then you have come to the right place. Earlier, I have shared the best free Spring core and spring MVC courses and In this tutorial, you will learn the most frequently used Spring annotations @Bean, which are used to define different types of beans. Beans are the fundamentals of Spring framework, they represent the POJO class which is created and managed by Spring Framework. Whole Spring framework is about beans and their relationships.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/10/pring-bean-example-what-does-bean-annotation-does.html
8 550
Top 53 Java Programs for Coding and Programming Interviews
Hello guys, if you are learning to code and programming, or preparing for a programming job interview and looking for some practice material then you have come to the right place. Earlier, I have shared the best string, array, linked list, and binary tree coding problems and In this article, I am going to share some of the most commonJava coding and programming problems for beginners. These are the problems, I have solved myself to learn to program and develop a coding sense and these are the ones that keep coming on Java coding interviews. By going through these coding problems you will not only learn Java but also prepare yourself for Java interviews.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/03/top-50-java-coding-programming-problems-solutions.html
8 550
How to Find/Print Leaf nodes in a Binary Tree in Java without Recursion - Example
In the last article, you have learned how to print all leaf nodes of a binary tree in Javaby using Recursion, a useful technique to solve binary tree problems and in this article, we'll answer the same question without using Recursion. Why should we do this? Well, it's a typical pattern on a programming job interview to solve the same problem using both Recursion and Iteration. Since some questions are easy to solve using recursion like linked list problems, binary tree-based problems, tower of Hanoi, or Fibonacci series but their non-recursive solution is comparatively tricky, the interviewer tests candidates against this shift in the algorithm.
Java Interview questions and tutorials
Read: http://www.java67.com/2016/10/how-to-print-leaf-nodes-of-binary-tree-without-recursion-in-java.html
8 550
How to test a Spring Boot application in Java? @SpringBootTest Example
Hello guys, if you are wondering how to test your Java + Spring Boot application then you are at the right place. Earlier, I have shared best Spring Boot Courses and Spring Boot + Microservice example and in this article, I will talk about how to test your Spring boot application, mainly about writing unit test and integration test for Java and Spring boot application. Unit testing and Integration testing are two skills which separates a normal developer from a professional Java developer and when it comes to testing Springapplications many Java developer doesn't really know how to do that. If you are new to Java and Spring development but keen to learn Unit testing both Java and Spring Boot application then you have come to the right place.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/how-to-test-spring-boot-application.html
8 550
Spring Boot + Thymyleaf Project in Java? Example Tutorial
Hello guys, if you are looking for a Spring Boot and Thymyleaf example, tutorial, or a project then you have come to the right place. Thymyleaf is one of the most popular, modern, server-side Java template engine to generate HTML and XHTML content. Earlier, I have shared Spring Boot + Reactjs project, as well a complete project to create Spring Boot + REST and Spring Boot + Microservices and in this tutorial, you will learn about how to create a spring boot and thyme leaf application using the h2 database. So before moving to an example, let's discuss what is thymyleaf? Thymeleaf is a web application development library based on Java. It offers excellent support for providing XHTML/HTML5 in web applications.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/01/spring-boot-thymyleaf-example-tutorial.html
8 550
What is WeakHashMap in Java? HashMap vs WeakHashMap 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 550
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 550
What is TreeMap in Java? HashMap vs TreeMap 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 550
JEP-400 или UTF-8 РєРѕРґРёСЂРѕРІРєР° РїРѕ умолчанию
Не прошло и пяти лет, как в Java 18 докатилось небольшое, но очень ожидаемое и обсуждаемое изменение: теперь во всех стандартных API используется UTF-8 кодировка по умолчанию. Это изменение, которое сделает выражение «Write once, run anywhere» действительно правдой, так как теперь поведение приложения будет еще меньше зависеть от системы, где оно запущено.
На конференции Joker я рассказал, как развивались события в работе над JEP-400 и как сделать так, чтобы ничего не поломалось после перехода на новые версии JDK. А теперь делюсь с Хабром и видеозаписью доклада, и текстовой версией. Как говорится, помимо двух самых сложных задач в программировании – нейминга и инвалидация кэша, есть ещё две: таймзоны и кодировки. Вот о кодировках и поговорим. Как читается название доклада/поста — разберёмся в конце.
Читать: https://habr.com/ru/post/709952/?utm_campaign=709952
8 550
Как сделать анимацию с помощью MotionLayout
Привет, Хабр! Меня зовут Павел Беловол, я Android-разработчик на проекте онлайн-кинотеатра KION в МТС Digital. Это новая часть сериала о внедрении фичи Autoplay в KION, в которой я расскажу про свой личный опыт работы с MotionLayout на примере продакшн задачи в KION. Из этой статьи вы узнаете, где нужно использовать MotionLayout, а где лучше обойтись без него и писать код анимации самостоятельно.
Читать: https://habr.com/ru/post/709958/?utm_campaign=709958
8 550
Javarush, так ли полезно спустя 9.5 лет?
Про Javarush, писали уже многие, в этой статье хотелось бы выразить свое мнение буквами и символами. Как вы уже наверняка знаете, Javarush - это весьма интересный проект, который предлагает обучение языку программирования Java, здесь вы изучите основы, решая простые (и не очень) практические задачи, в формате интерактивного комикса, где ВЫ главный герой.
Читать: https://habr.com/ru/post/710206/?utm_campaign=710206
8 550
SourceBuddy Compiles Dynamically Created Java Source Code
SourceBuddy compiles dynamically created Java source code defined by a String or a file to a class file. SourceBuddy, requiring Java 17, is a simplified facade for the javac compiler, which delivers the same functionality.
By Johan Janssen
Read: https://www.infoq.com/news/2023/01/sourcebuddy/
8 550
Android Extension SDK Aims to Simplify the Use of Modular System Components
Introduced with Android 10, Modular System Components enable updating end-user devices outside of the normal Android release cycles. The new Extension SDK framework, now public, aims to make their integration simpler for developers.
By Sergio De Simone
Read: https://www.infoq.com/news/2023/01/android-extension-sdk/
8 550
8 Examples of Primitive Data Types In Java (int, long, boolean, float, double, byte, char, and short)
Hello guys, Data types are first few things you should learn when you start learning a programming language and when it comes to learn Java, thereare 8 primitive data types which you should know. These are divided into three categories, numeric, text, and boolean values. Numeric data types can be further divided into two like natural numbers and floating pointing numbers. But, Before we get to a list of the 10 examples of primitive data types in Java, let me tell you a little bit more about what the primitive data types are. There are essentially 8 primitive data types in Java. They are int, byte, short, long, float, double, boolean, and char. The primitive data types are not considered objects and represent raw values. These primitive data types are also stored directly on the stack.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/11/examples-of-primitive-data-types-in-java.html
Endi mavjud! Telegram Tadqiqoti 2025 — yilning asosiy insaytlari 
