Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 281
订阅者
-124 小时
-37 天
-7130 天
帖子存档
8 280
How to test a Spring Boot application? @SpringBootTest Annotation Example
Unit testing and Integration testing are two skills which separates a normal developer from a professional Java developer and when it comes to testing Spring applications 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. Earlier, I have shared 20 Spring Boot testing questionsand in this article, I will teach you how to test your Spring Boot application using both unit testing and integration testing.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/how-to-test-spring-boot-application.html
8 280
Дюк, вынеси мусор! — Часть 4
С тех пор, как мы рассматривали принципы работы различных сборщиков мусора (раз, два, три), входящих в состав виртуальной машины Java HotSpot, прошел уже не один год. За это время было разработано еще несколько сборщиков, один из которых — ZGC — достаточно давно вышел из разряда экспериментальных и начиная с 15-й версии OpenJDK может похвастаться статусом production ready.
Раз есть такой хороший повод, давайте продолжим цикл, взяв сегодня на рассмотрение этот сборщик.
А давайте
Читать: https://habr.com/ru/post/680038/?utm_campaign=680038
8 280
Top Java Blogs Weekly: Best of 32/2022
Best of Top Java Blogs, year 2022, week 32
Read: https://www.topjavablogs.com/news/best-of-32-2022
8 280
Spring security: без фильтров по умолчанию, как и что из этого получится
Коротко, статья как напоминание мне, а может и вам, как быстро начать настраивать цепочки безопасности, что уже висит подключенным и как выключить все, что не нужно, быстро с нуля начать писать без обвесок, больше контроля и понимания.
Читать: https://habr.com/ru/post/680052/?utm_campaign=680052
8 280
Статический анализ кода в современной Java-разработке
Сегодня я хочу затронуть тему, которая будет полезна как Java-разработчикам, так и начинающим тех- и тимлидам. Я расскажу о том, как добиться высокого качества кода на вашем Java проекте и перестать волноваться о стилях кодирования.
Если вы идёте по пути подготовки развесистых страничек на wiki по стилям кодирования и правилам оформления кода, то это дурно пахнет. Есть другой более надёжный способ, как защитить вашу кодовую базу и добиться полного соблюдения всех принятых стандартов и соглашений. И это, конечно же, статический анализ кода.
Далее я покажу своё видение того, какие инструменты и в какой конфигурации должны применяться на Java проектах, а особенно в микросервисах.
Читать: https://habr.com/ru/post/680018/?utm_campaign=680018
8 280
Top 20 Golang Interview Questions with Answers
Hello guys, if you are preparing for Golang Developer Job interview and looking for frequnetly asked Golang Interview questions then you have come to the right place. Golang is one of the modern and in-demand programming language from Google and more and more companies have started using Golang for their flagship project like ByteDance is using Goalng for TikTok and their other projects. In the past, I have shared best Golang courses as well as free Goalng courses and in this article, I am going to share 20 common Golang Interview Questions with Answers. These questions covers essential Golang concepts which every Golang developer should be familiar with.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/golang-interview-questions-answers.html
8 280
Подборка актуальных вакансий
— QA Automation Engineer
Где: Москва, можно удалённо
Опыт: от 1 года
— Java Developer
Где: Москва, можно удалённо
Опыт: от 1 года
— Инженер в команду Clickstream
Где: Москва, можно удалённо
Опыт: от 3 лет
— Senior Android Developer
Где: Москва, можно удалённо
Опыт: от 3 лет
— Java Developer
Где: Москва, можно удалённо
Опыт: от 3 лет
— CTO
Где: Москва
Опыт: от 6 лет
#вакансии #работа
8 280
Java, реактивное программирование, Reactor, Spring Cloud Function, Streams, etc…
Реактивное программирование в Java — полезный инструмент со множеством применений. Его суть в асинхронной обработке поступающих сообщений, и есть несколько вариантов реализации этого механизма.
И Java в целом, и Spring Framework в частности подразумевают несколько аспектов реактивного программирования. Это касается Spring WebFlux в качестве замены Spring MVC. Также можно использовать Project Reactor в Java непосредственно, без Spring Framework. Однако Spring предоставляет средства декларативного определения функции Spring Cloud Function и средства интеграции приложений с использованием внешних очередей в рамках проекта Spring Cloud Stream. В комплексе эти средства позволяют широко использовать реактивное программирование, упрощая создание, размещение, масштабирование и обслуживание приложений.
Помимо создания новых приложений, Spring Cloud Function/Stream позволяют модифицировать и существующие приложения, облегчая жизнь разработчикам в реализации горизонально масштабируемых сервисов.
Статья является кратким обзором компонентов Spring Framework, позволяющих реализовывать программы в терминах функций асинхронной обработки сообщений. И ориентирована на разработчиков, уже знакомых со Spring Framework, но ещё не имеющих опыта построения реактивных приложений с декларативным управлением функциями-компонентами.
Читать: https://habr.com/ru/post/679750/?utm_campaign=679750
8 280
Top 21 Groovy Interview Questions with Answers
Hello guys, if you are preparing for Groovy Developer interview or a Java Developer interview where Groovy is mentioned as required skill then you should prepare for it. If you are looking for common Groovy Interview questions and their answers then you have come to the right place. Earlier, I have shared best Groovy books and online courses to learn Groovy and in this article article, I am going to share frequently asked Groovy Interview Questions with answers. These Groovy questions covers essential features of Groovy programming language and suitable for both beginners and programmers with 1 to 3 years of experience.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/groovy-interview-questions-with-answers.html
8 280
Хардкорный тест из 21 вопроса только для тех, кто уже знает и любит Java и хочет освоить Framework Spring.
Если сможете сдать — пройдёте на продвинутый курс для разработчиков по спец.цене.
Время прохождения теста ограничено 30 минут
Пройти тест: https://otus.pw/yUO8/
Это #партнёрский пост
8 280
Пять навыков Java, которые точно проверят на собеседовании в 2022 году
По данным Хабр.Карьеры за июнь, чаще всего среди всех IT-специалистов российские компании искали backend-разработчиков. При этом самым популярным языков программирования, на которых реализуют backend, является Java. Так, доля вакансий Java-разработчиков среди всех вакансий на backend составляет более 35%.
Программный директор факультета backend-разработки направления «Программирование» Skillbox, директор центра подбора IT-специалистов SymbioWay Даниил Пилипенко рассказал, какие умения должен показать джуниор Java-разработчик, чтобы успешно пройти собеседование.
Читать: https://habr.com/ru/post/679584/?utm_campaign=679584
8 280
Difference between table scan, index scan, and index seek in SQL Server Database? Example
Hello guys, a good understanding of how the index works and how to use them to improve your SQL query performance is very important while working in a database and SQL and that's why you will find many questions based upon indexes on Programming Job interviews. One of such frequently asked SQL questions is the real difference between table scan, index scan, and index seek?which one is faster and why? How does the database chooses which scan or seek to use? and How you can optimize the performance of your SQL SELECT queries by using this knowledge. In general, there are only two ways in which your query engine retrieves the data, using a table scanor by using an index.
Java Interview questions and tutorials
Read: http://www.java67.com/2017/12/difference-between-table-scan-index.html
8 280
How to find Nth Highest Salary in MySQL and SQL Server? Example LeetCode Solution
Nth Highest Salary in MySQL and SQL Server - LeetCode Solution
---------------------------------------------------------------
Write a SQL query to get the nth highest salary from the Employee table.
+----+--------+
| Id | Salary |
+----+--------+
| 1 | 100 |
| 2 | 200 |
| 3 | 300 |
+----+--------+
For example, given the above Employee table, the nth highest salary where n = 2 is 200. If there is no nth highest salary, then the query should return null.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/05/nth-highest-salary-in-mysql-and-sql-server-example.html
8 280
Vector API в Java: краткий обзор и тестирование
Некоторое время назад попалась на глаза статья про Vector API в Java.
Прочитал, заинтересовался. Наконец, недавно дошли руки посмотреть, что же это такое и как работает.
Результаты немного неоднозначные.
Читать: https://habr.com/ru/post/679492/?utm_campaign=679492
8 280
10 Examples of df Command in Linux and UNIX
Hello, In Today’s article we shall be talking about the df command in Linux. The objectives of this article are: What is the df command, and what does it mean? How is it used? I shall be providing 10 different examples or scenarios for it and when to use it
What does df mean?
The meaning of df in Linux is disk-free or disk file system. Which is used to display the file system in the likes of total storage space, available storage space and etc.
Df command in Linux is a command or syntax in Linux that you doing away with it is almost impossible
You may begin to wonder or ask Why or When do You need to use it?
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/10-examples-of-df-command-in-linux-and.html
8 280
How to use recursive grep command in Linux and UNIX? grep -iR Example tutorial
Hello guys, one of the most common tasks while working on programming projects is finding files containing some specific text like you have your application deployed in the Linux server, and you are migrating your database from one server to another. Now, you want to file all config files and scripts which are referencing your old database using the hostname or IP address, so that you can replace them with an alias. Well, you should always use an alias to connect to the database or any other system, but sometimes it happens you have to use a hostname. Anyway, how do you find all those files containing hostname in your Linux machine? Well, the grep commandis here to help you.
Java Interview questions and tutorials
Read: http://www.java67.com/2017/07/how-to-find-all-files-containing-matching-text-grep-command-example.html
8 280
Difference between Soft Link vs Hard Links in Linux/UNIX? Answer
Hello guys, if you are looking to find out the difference between a soft link and a hard link in Linux then you have come to the right place. Earlier, I have shared the free Linux courses for beginnersand in this article, I am going to explain the soft links and hard links in UNIX operator systems like Linux. There are two types of links in the UNIX system, hard links and soft links, also known as symbolic links or symlinks. Though both points to some other source, there is a lot of difference between them. The most important difference is that a hard link is a direct pointer to the inode of the original file. If you compare the original file with the hard link there won't be any differences between them.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/05/difference-between-soft-vs-hard-links-linux.html
8 280
6 Linux command Examples and One liners Every Programmer Should Remember
Hello guys, Linux is an important skill for any developer or DevOps engineer becuase most of the server-side applications run on Linux boxes. At least you should be familiar with essential Linux commands like ls, cat, ps, top, find, grep, awk, sort, uniq, kill, xargs, curl, lsof, etc. I have shared a lot of useful Linux tutorials in this blog and you can take a look at them to learn about those commands in detail. Today, I am going to share some of the useful Linux one-liners you can use in your day-to-day life. These one-liners are either example of one single command or multiple commands used together to do a certain task like finding duplicate rows in a text file or counting how many times each IP address appear in a text file, much like group by clause of SQL.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/03/linux-command-examples-for-beginners.html
8 280
How to Find large Files and Directories with size in Linux and UNIX? find + du command Example Tutorial
One of the common problems while working in Linux is findinglarge files to free some space. Suppose, your file system is full and you are receiving an alert to remove spaces or if your host is run out of space and your server is not starting up, the first thing you do is find the top 10 largest files and see if you can delete them. Usually, old files, large Java heap dumps are good candidates for removal and freeing up some space. If you are running Java applications like core Java-based programs or web applications running on Tomcat then you can remove those heap dump files and free some space, but the big question is how do you find those? How do you know the size of the biggest file in your file system, especially if you don't know which directory it is? We'll try to find answers to some of those questions in this article.
Java Interview questions and tutorials
Read: http://www.java67.com/2017/08/how-to-find-large-files-with-size-in-Linux.html
