Чашечка Java
Открыть в Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Больше8 550
Подписчики
-224 часа
-147 дней
-2730 день
Архив постов
8 550
What is Normalization in SQL? 1NF, 2nd NF, 3rd NF and BCNF Example Tutorial
What is Normalization?
Normalization is one of the essential concept of relational database. It is the process or technique to remove duplicate data from tables and thus reduce the storage size. It also helps to maintain integrity of data. Normalization likewise assists with coordinating the information in the data set. It is a multi-step process that sets the information into even structure and eliminates the copied information from the relational tables. Normalization coordinates the segments and tables of a data set to guarantee that data set integrity constraints appropriately execute their conditions. It is an orderly method of deteriorating tables to take out information overt repetitiveness (redundant) and unfortunate qualities like Insertion, Update, and Deletion anomalies.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/08/what-is-normalization-in-sql-1nf-2nd-nf.html
8 550
10 points on TCP/IP Protocol, Java Programmers should Know
TCP/IP is one of the most important protocol as its backbone of HTTP, internet and most of the communication happens today. It's also important from technical interview perspective, you might have already seen difference between TCP and UDP multiple time during interviews ( I have seen). I believe every programmer, not just Java developer should know what is TCP/IP protocol? How it works and the below points I am going to mention. These are basic points and most of you already know but during Interview I have found many developers who doesn't really know what TCP/IP offers and how it works and what are the pros and cons of TCP/IP protocol. That's where, I think this article will help you. Anyway, let's jump into technical details now.
Java Interview questions and tutorials
Read: http://www.java67.com/2015/03/10-points-on-tcpip-protocol-java.html
8 550
How ThreadLocal variables works in Java? Explained
Hello guys, ThreadLocal variable is an interesting concept and class from Java API. Not many developer knows about it and very few know how to use it correctly. A couple of years ago it was also a popular Java interview questions for experienced developer but over the years, it lost the popularity as more and more people are now asking about Phaser, CompletableFuture, ForkJoinPool, and other newly added concurrency utilities. ThreadLocal variables, as name suggests is local to thread, which means every thread has there own copy. This means they don't need to look at the main memory when they want to use that variable and best thing is that the variable is not even shared between threads so no locking or synchronization is needed.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/how-threadlocal-variables-works-in-java.html
8 550
Java class data sharing upgrade would boost startup times
Read: https://www.infoworld.com/article/3685108/java-class-data-sharing-upgrade-would-boost-startup-times.html#tk.rss_java
8 550
Top 10 Java NIO Interview Questions Answers for 5 to 10 Years Experienced Programmers
Hello guys, I have been sharing a lot of Java interview question in this blog and so far I have shared Java interview questions on Core Java, Collections, Java 8, Multithreading, design patterns, Garbage Collections, Spring Framework, Hibernate, SQL and many other topics, but I haven't share many questions on Java NIO, one of the most underrated topic for Java Interviews. Java NIO is very important not just for interviews but also for writing high-performance server side Java application. It is newer and better addition of Java IO and introduced for better performance reason.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/04/top-10-java-io-and-nio-interview.html
8 550
Top 20 Access Modifier Interview Questions Answers for 2 to 3 Years Experienced Java Developers
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 550
How to use @JsonCreator and @JsonPropertOrder Jackson JN Annotation in Java? Examples
Hello guys, if you are dealing with JSON in Java then you may have come across Jackson, one of the popular JSON library in Java. Jackson provides many cool annotations to serialize and de-serialize JSON to Java object and vice-versa. Earlier, I have showed you 3 ways to convert JSON to Java object and 10 free Jon Tools for programmers and in this article, we will deep dive into two popular Jackson annotations @JsonCreator, @JsonProperty, and @JsonProperOrder. But, Before I tach you exactly how you can use the @JsonCreatorannotation, let me briefly tell you a bit more about what Java really is.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/how-to-use-jsoncreator-jackson-in-java.html
8 550
How to convert List Of of Object to Map of Object (key, value) In Java? Example Tutorial
Hello guys, if you have a list of object and you want to conver into Map of object or key value pair then you can use different ways like looping over list and then adding values to map, or you can use Collectors.toMap() by using Stream API, You can even use flatMap() function if you want to convert list of one type of object to Map of another type of object. All this is possible and I will show you code example of how to do that in this article, But, before we get into the process of how you can convert a list of one object to another in Java, let me tell you a bit more about what Java really is.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/how-to-convert-list-of-of-object-to-map.html
8 550
Java CDS improvements would help boost startup times
Read: https://www.infoworld.com/article/3685108/java-cds-improvements-would-help-boost-startup-times.html#tk.rss_java
8 550
Spring Data JDBC и генерация ID
Каждый раз, когда необходимо сделать сервис на Java, работающий с реляционной базой, я не могу определиться, прямо как та обезъяна, которая хотела быть и умной, и красивой. Хочется делать запросы на обычном SQL, по-минимуму обкладываясь различными "магическими" аннотациями, но при этом лень самому писать RowMapper'ы, готовить PreparedStatement'ы или JdbcTemplate, и тому подобное, за что любят обзывать Java многословной. И каждый раз руки тянутся к Spring Data JDBC, который, вроде как, и был задуман как нечто среднее. Но с ним тоже, зачастую, можно вляпаться в какую-то ерунду на ровном месте.
Потребовалось мне сохранять новые записи в таблицу. Казалось бы, в чем вопрос - берешь CrudRepository и все у тебя работает из коробки. Но на практике возникло несколько нюансов, например:
Читать: https://habr.com/ru/post/709848/?utm_campaign=709848
8 550
Top 25 Dynamic Programming Interview Questions for Interviews
Hello guys, if you are preparing for tech interview or any Java developer interview then apart from preparing for Data Structure and Algorithms, and System Design, you should also prepare for Dynamic Programming questions. Dynamic programming or DP is a technique to solve a problem by breaking a big program into small sub-problem and then combining the result. It's very similar to Recursion and that's why Recursion also plays an important role in solving Dynamic programming questions. When it comes to Interview, DP is one of the toughest topic to master.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/dynamic-programming-interview-questions.html
8 550
Difference between JIT and JVM in Java? Answered
The main difference between JIT and JVM is that JIT is part of JVM itself and its main function is to improve the performance of JVM by directly compiling some hot code (code that executes above a certain threshold) into native instruction. JIT stands for Just In time compilation and JVM stands for Java Virtual Machine. JVM is a virtual machine used in Java programming platforms to execute or run Java programs. The main advantage of JVM is that JVM makes Java platform-independent by executing bytecodes. Java source code is compiled into class files, which contain bytecode.
Java Interview questions and tutorials
Read: http://www.java67.com/2013/02/difference-between-jit-and-jvm-in-java.html
8 550
[recovery mode] Интеграция Primefaces в приложение на Spring Boot. Часть 1 — настройка зависимостей и базовый проект
В данной статье описывается пример интеграции библиотеки компонентов пользовательского интерфейса Primefaces, построенной на основе фреймворка JavaServer Faces (JSF), в MVC приложение на Spring Boot.
Читать: https://habr.com/ru/post/709170/?utm_campaign=709170
8 550
МегаФон ищет Backend разработчика (Java)
Офис в любом филиале компании или удалённо по РФ
Что нужно делать:
— заниматься разработкой и поддержкой сервисов взаимодействия с клиентами на Java 8-17, Spring;
— участвовать в планировании микросервисной архитектуры;
— взаимодействовать с разработчиками back/front, аналитиками, тестировщиками;
— участвовать в Code review.
Оставляйте свой отклик тут
Или пишите рекрутеру: @helend4216
#вакансия
8 550
Как я написал книгу по Java
Статья о том, как я написал и полностью довёл до издания мою первую книгу по Java, про что эта книга, какие у неё особенности и где можно её купить. Приводится список глав с кратким описанием их содержания.
Читать: https://habr.com/ru/post/709176/?utm_campaign=709176
8 550
Just, a New CLI for Spring Boot Applications
Just, a command line tool requiring zero configuration, increases the Java development experience while building Spring Boot applications. Just automatically reloads the application when there is a change in source code, build files or Docker compose files. The project also supports the creation of (native) applications and (native) Docker images.
By Johan Janssen
Read: https://www.infoq.com/news/2023/01/just-spring-boot-cli/
8 550
Java News Roundup: Ideal Graph Visualizer Open-Sourced, TomEE MicroProfile 5.0 Certification
This week's Java roundup for January 2nd, 2023, features news from JDK 20, JDK 21, Ideal Graph Visualizer open-sourced, Spring Tools 4.17.1, Open Liberty 23.0.0.1, Quarkus 2.15.2, Quarkus OpenAPI Generator 2.0, Apache Tomcat CVE, Apache TomEE certification, Apache James 3.7.3, Apache Camel 3.20.1, MyFaces Core 4.0-RC3, Ktor 2.2.2, JHipster Lite 0.25, JobRunr 5.3.3, SourceBuddy 2.1, CircleCI CVE.
By Michael Redlich
Read: https://www.infoq.com/news/2023/01/java-news-roundup-jan02-2023/
8 550
How to Calculate Area and Perimeter of Square in Java? Example Tutorial
Hello guys, if you are learning and looking for programming exercises then you have come to the right place. I have share many programming exercises and homework in this blog and today, I am going to share another simple programming assignment for beginners. Yes, we ae going to write a program which will calculate the area and perimeter of a square in Java. If you don't remember,area of a square is nothing but the multiplication of side with itself or square of side, while perimeter of a square is 4 times of its side because in case of square, each side is equal.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/how-to-calculate-square-area-perimeter.html
8 550
Теория категорий в API для консистентности Apache Cassandra
Для Apache Cassandra проектирование структуры таблиц выполняется для нужд одного конкретного приложения, а перед программистом встают проблемы дублирования данных (один запрос читает одну таблицу, в которой есть все нужные поля) и контроля инициализации значений для колонок, входящих в первичный ключ
В статье предлагается вариант организации клиентского API для решения проблем с консистентностью данных и инициализации требуемых полей на базе комбинации паттернов проектирования Factory Method, Builder и Finite State Machine
TLDR: Если представить паттерн Factory Method как предел в терминах теории категорий, т.е. кортеж с проекциями, и инициализировать фабрику при помощи паттерна Builder, то можно получить удобный API для создания объектов с дублирующимся данными
Читать: https://habr.com/ru/post/709508/?utm_campaign=709508
8 550
Top Java Blogs Weekly: Best of 2/2023
Best of Top Java Blogs, year 2023, week 2
Read: https://www.topjavablogs.com/news/best-of-2-2023
Уже доступно! Исследование Telegram 2025 — ключевые инсайты года 
