Чашечка Java
رفتن به کانال در Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
نمایش بیشتر8 550
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-137 روز
-3030 روز
آرشیو پست ها
8 549
Payara Cloud Automates Jakarta EE Deployments to Kubernetes
Payara introduced Payara Cloud, a serverless solution for Jakarta EE applications, which manages the infrastructure configuration and creation. It allows developers to focus on creating and configuring the application before pushing the application's WAR file to the cloud.
By Johan Janssen
Read: https://www.infoq.com/news/2022/12/payara-cloud/
8 549
10 Examples Of Ternary Operator In Java
Hello guys, if you are wondering how to use ternary operator in Java then you have come to the right place. Ternary operator is a great operator and you can use ternary operator to replace a simple if-else statement. Since ternary operator allows you to write code in one line, its much more succinct and readable and that's what many Java developer love it, including me. In the last article, I shared 10 example of XOR bitwise operator in Javaand in this article, I am going to share 10 example of ternary operator in Java so that you not only know what is ternary operator but also you can use it effectively to write better Java code. But, before we get to the 10 best examples that will teach you everything there is to know about ternary operators in Java, let me tell you a little bit more about what it all really is.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/10-examples-of-ternary-operator-in-java.html
8 549
How to do Integration Testing in Spring Framework? @SpringBootTest Example Java
Hello guys, if you are wondering how to test your Spring Boot application then you have come to the right place. Earlier, I have shared popular Spring Boot Testing Interview Questions and Spring Security Interview Questions and In this article, I will show you examples to test your Spring Boot application using @SpringBootTest annotation, which allows you to write Integration tests. When I talk about spring boot integration testing, I am talking about launching an application in ApplicationContext and performing tests. For integration testing, Spring Framework has a specific test module. It's referred to as a spring test. If we're going to utilize spring-boot, we'll need to use spring-boot-starter-test, which uses spring-test and other dependencies inside.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/08/springboottest-integration-test-example.html
8 549
5 Essential Spring Boot Annotations with Examples in Java - Tutorial
Hello guys, if you are coding in Java for long then you know that Annotations have completely changed the way you write Java code. It's now impossible to write any Java code without using annotations but that's for good. They provide a lot of value and that's why it's important for a Java developer to get familiar with essential annotations of the framework he or she is using. When I think about Java, some of the essential annotations which come to our mind are @Override, @SuppressWarning, and @Deprecated. Similarly, if you are using the Spring Boot framework, an extension of the Spring framework which aims to simplify the Java development with Spring, you will often end up using a couple of annotations like@SpringBootApplication or @EnableAutoConfiguration.
Java Interview questions and tutorials
Read: http://www.java67.com/2019/01/top-5-spring-boot-annotations-java-programmers-should-know.html
8 549
Как ускорить прогон тестов в многомодульном проекте Maven
Большое количество модулей Maven замедляет сборку проекта и время прогона тестов. Для того, чтобы сохранить многомодульную структуру проекта и быстро прогонять тесты, мы в Wrike написали новый инструмент — Maven Modules Merger, который сократил время некоторых сборок с 50 до 12 минут. В статье подробно расскажу о том, с какими проблемами нам помог справиться Maven Modules Merger и поделюсь подробностями его создания.
Читать: https://habr.com/ru/post/703986/?utm_campaign=703986
8 549
How @Configuration, @Component, and @ComponentScan work in Spring Framework? Component Scanning Example
Hello guys, if you are wondering how to does auto-wiring work in Spring Framework and how does Spring Framework find dependency in runtime then you have come to the right place. Earlier, I have explained How Spring MVC worksand In this tutorial, I will tell you how component scanning and auto-wiring works in Spring. You will also learn how to enable component scanning in a Spring application. When you develop a software application using spring, you need to tell the Spring framework where to look for Spring components. Using component scanning it is very much easier as this enables auto-detection of beans by spring container and smoothly.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/how-does-component-scanning-works-in.html
8 549
Всегда интересно узнать о чем думают такие IT-гении как Маск или Гейтс
Мы наткнулись на интересный Twitter-аккаунт, который публикует слитые в сеть e-mail переписки. Например, письмо Стива Джобса самому себе за год до смерти и Илона Маска, который ругает Twitter
Самые интересные мы собрали в одном материале: https://tproger.ru/articles/slivy-perepisok-mask-obsuzhdaet-twitter-google-dumaet-o-pokupke-youtube-a-dzhobs-pishet-sam-sebe/
#контент #статья #it
8 549
C++ overtakes Java in language popularity index
Read: https://www.infoworld.com/article/3682141/c-plus-plus-overtakes-java-in-language-popularity-index.html#tk.rss_java
8 549
How to Exit Program in Java?
Read: https://www.thejavaprogrammer.com/how-to-exit-program-in-java/
8 549
10 Examples of XOR Operator In Java
Hello guys, if you are wondering what does the XOR operator do in Java then you have come to the right place. XOR is a bitwise operator in Java, much like AND and OR and its very important because you can perform XOR operation using this operator. If you don't remember, XOR return true if the two values which you are comparing are different like one is true and other is false or vice-versa but it returns false or 0 if both operands are same like both are true or both are false. By using this technique you can solve many coding problems as you can check if the bits you are comparing is same or not. In this article, I will show you different example of XOR operator in Java after that you will understand this operator better.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/10-examples-of-xor-operator-in-java.html
8 549
Difference between @Component, @Controller, @Service, and @Repository Spring Annotations - Java
Hello guys if you are wondering what is the difference between @Component, @Controller, @Service, and @Reposistory annotation in Spring Framework then you have come to the right place. In the past, I have shared 15 Spring Boot Interview Questions and 30 Spring MVC questions and in this article, I am going to answer the fundamental and popular Spring questions about @Component, @Service, and @Repository annotation, but before we go into differences, let's understand the similarity first. All three of them are used to make a Java class a Spring bean, something which is managed by Spring Framework.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/difference-between-component-service-repository-in-spring.html
8 549
Top 35 Java String Interview Questions with Answers for 2 to 5 Years Experienced Programmers
Hello Java Programmers, if you are preparing for a Java developer interview and want to refresh your knowledge about String class in Java then you have come to the right place. In the past, I have shared 130+ Core Java Interview Questionsand 21 String Coding Problemsfor Interviews and in this article, I am going to share 35 Java String Questions for Interviews. The String class and concept is a very important class in Java. There is not a single Java program out there which is not use String objects and that's why it's very important from the interview point of view as well. In this article, I am going to share 35 String-based questions from different Java interviews.
Java Interview questions and tutorials
Read: http://www.java67.com/2018/06/top-35-java-string-interview-questions.html
8 549
Сливы переписок: Маск обсуждает Twitter, Google думает о покупке YouTube, а Джобс пишет сам себе
Сливы переписок IT-гениев с сайта Internal Tech Emails. Google отказался покупать YouTube, Джобс пишет сам себе, Гейтс не спит из-за Java.
Читать: «Сливы переписок: Маск обсуждает Twitter, Google думает о покупке YouTube, а Джобс пишет сам себе»
8 549
Как отличить реальные технологии от фантастики?
Когда-то беспроводные наушники были чем-то нереальным, а сегодня ими пользуются все. Попробуйте угадать, насколько далеко ушёл прогресс сегодня, в тиндер-тесте от Росатома.
Переходите по ссылке и свайпайте вправо, если думаете, что это проект Росатома, и влево, если подобных изобретений ещё не существует: https://tprg.ru/brV4
Реклама АНО «Корпоративная Академия Росатома»
8 549
How to calculate perimeter and area of square in Java? Example Tutorial
If you are looking for a solution of problem how to calculate perimeter and area of a given Square in Java then you have come at the right place. In this article, I have given step by step solution of this common coding problem. This was actually a homework exercise when I was learning Java program and since I was good at Maths, I know how to calculate Perimeter and Area of Circle and Square but big challenge for me was to convert that knowledge into code. Another big challenge for me was how to take input from user actually that was the mistake I made when I first solved this problem.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/calculate-perimeter-and-area-of-square.html
8 549
Top 20 Java Access Modifier Interview Questions Answers for 1 to 2 Years Experienced
Access modifiers is one of the essential concept in Java and every programmer should be familiar with, and because of its importance, its also a popular topic in Java interviews. Access modifier can be applied to class, method, fields, and variables and as the name suggests they control the access. Like who can access that particular class, method or variable. For example, public modifier provides universal access which means any public class, method or variable is accessible by everyone and everywhere. In other words, you can access a public class both within the package and outside the package.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/05/java-access-modifier-interview.html
8 549
Какой из циклов в Java быстрее: for или for-each
В Java есть два основных способа обхода коллекций: простой цикл for и цикл for-each, появившийся в JDK 5. Задумывались ли вы когда-нибудь об их разнице с точки зрения производительности?
Читать: https://habr.com/ru/post/703634/?utm_campaign=703634
8 549
Resilience4j 2.0.0 Delivers Support for JDK 17
Resilience4j, a lightweight fault tolerance library designed for functional programming, has released version 2.0 featuring support for Java 17 and dependency upgrades to Kotlin, Spring Boot and Micronaut. This new version also removes the dependency on Vavr, a functional library for Java, in order to become a more lightweight library.
By Johan Janssen
Read: https://www.infoq.com/news/2022/12/resilience4j-2-0-0/
8 549
Java News Roundup: JEPs Targeted for JDK 20, AWS Introduces Lambda SnapStart Feature
This week's Java roundup for November 28th, 2022 features news from OpenJDK, JDK 20, JavaFX 20, Spring Integration 6.0, Spring Vault 3.0, Spring Cloud 2022.0.0-RC3, AWS introduces Lambda SnapStart, Quarkus 2.14.2, 2.13.5 and 2.15.0.CR1, Apache Camel 3.18.4 and progress on JHipster upgrade to Spring Boot 3.0.
By Michael Redlich
Read: https://www.infoq.com/news/2022/12/java-news-roundup-nov28-2022/
8 549
Spring Type Conversion and Field Formatting — пишем первый конвертер или форматтер
В статье я хотел бы рассмотреть написание собственных конвертеров типов (Spring Type Conversion) и форматтеров полей (Spring Field Formatting), в том числе с использованием аннотаций.
Статья написана by junior for junior, поэтому прошу отнестись к изложенному ниже с изрядной долей снисхождения :)
Читать: https://habr.com/ru/post/703402/?utm_campaign=703402
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
