uk
Feedback
Чашечка Java

Чашечка Java

Відкрити в Telegram

Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels

Показати більше
8 553
Підписники
+524 години
-87 днів
-2730 день
Архів дописів
В 2022 году Росатом приобрёл контроль над AT Consulting, купив IT-интегратора за 20 млрд рублей Компания усилила своё влияние как одна из крупнейших корпораций России в сфере IT, выполнила множество масштабных проектов, повлиявших на развитие отрасли IT-услуг, реализованных по заказу как российских, так и зарубежных компаний. Сейчас у них есть большое количество вакансий для IT-специалистов. Junior, middle, senior — найдётся вакантное место для любого уровня. Переходите по ссылке и найдите вакансию мечты: https://tprg.ru/NV3x Это #партнёрский пост

Java on Visual Studio Code Update – July 2022 Read: https://devblogs.microsoft.com/java/java-on-visual-studio-code-update-jul
Java on Visual Studio Code Update – July 2022 Read: https://devblogs.microsoft.com/java/java-on-visual-studio-code-update-july-2022/

Каналы по конкретным направлениям разработки, подборки полезных ресурсов, канал для начинающих, новости, мемы — в экосистеме
Каналы по конкретным направлениям разработки, подборки полезных ресурсов, канал для начинающих, новости, мемы — в экосистеме Tproger есть канал для каждого разработчика. Если ещё не подписаны на какой-то из каналов по интересующей вас теме, то исправляйте это: @tproger_channels

Получение generic-типа в runtime src В Java 5 появились generic-типы, а вместе с ним и концепция type erasure, которая буквально означает стирание информации о generic-типе после компиляции. Действительно, во многих случаях это просто синтаксический сахар, помогающий писать типо-безопасный код на уровне компиляции, и в runtime с такими типами работать нельзя. Например, невозможно получить тип Tвнутри ArrayList<t, поэтому он в своей реализации создает массив Object[], а не T[]для хранения элементов. Однако, в ряде случаев это очень даже возможно. Например, можно объявить поле import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.BeanPostProcessor; ... @Autowired private Set<beanpostprocessor beanPostProcessors; и spring в него заинжектит все объекты контекста, которые реализуют интерфейс BeanPostProcessor. Можно написать и так: import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; ... List<string strings = new ObjectMapper() .readValue("[1, 2, 3]", new TypeReference() {}); // все элементы strings - строки (не Integer и не Long) List<integer ints = new ObjectMapper() .readValue("[1, 2, 3]", new TypeReference() {}); // все элементы ints - Integer (не String и не Long) Можно написать даже так: Читать: https://habr.com/ru/post/588252/?utm_campaign=588252

Top 50 Java Coding Interview Questions for 3 to 5 Years Experienced Hello guys, if you are learning to code and programming,
Top 50 Java Coding Interview Questions for 3 to 5 Years Experienced 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

Top 18 CSS Interview Questions and Answers for 1 to 2 years experienced CSS is one of the three core technologies of the Worl
Top 18 CSS Interview Questions and Answers for 1 to 2 years experienced CSS is one of the three core technologies of the World Wide Web(WWW). A website is incomplete without CSS. The first feature of a website noted by the visitors is its presentation. It does not matter how excellent the behind-the-scenes of a website are, if the client-side view is not appealing, the website is almost a failure. Thus, CSS is as important as JavaScript.  A web development job interview is incomplete without CSS questions. Even, there is a job market for CSS professionals. CSS can be tricky. Initially, it seems simple and easily understandable. But you advance through various concepts, you will find it is quite complicated and complex. Java Interview questions and tutorials Read: http://www.java67.com/2021/09/-css-interview-questions-and-answers-for-.html

21 Examples to convert Data Types in Java - Tutorial Hello guys, converting one data type to another, for example String to I
21 Examples to convert Data Types in Java - Tutorial Hello guys, converting one data type to another, for example String to Integer or String too boolean is a common task in Java and every Java programmer should be familiar with how to convert common data types like String, Integer, Long, Float, Double, Date, List, Map, Set, to each other. In the past, I have shared several tutorial where I have shown you how to carry out such conversion in Java and this articile is nothing but a collection of such tutorial so that you can learn all of that knowledge in one place. You can also bookmark this page as I will be adding new data type conversion tutorials into this list as and when I write them, and you can also suggest if you struggle to convert a particular type to another and I will try to cover them here. Java Interview questions and tutorials Read: http://www.java67.com/2022/07/21-examples-to-convert-data-types-in.html

Top Java Blogs Weekly: Best of 30/2022 Best of Top Java Blogs, year 2022, week 30 Read: https://www.topjavablogs.com/news/bes
Top Java Blogs Weekly: Best of 30/2022 Best of Top Java Blogs, year 2022, week 30 Read: https://www.topjavablogs.com/news/best-of-30-2022

Как стать уверенным разработчиком на главном языке «энтерпрайза» Java? Например, записаться на курс по Java-разработке от Хекслета. Курс поможет освоить язык, алгоритмы и структуры данных, работу с микросервисами, фреймворком Spring Boot, базами данных и инфраструктурой. На Хекслете курс спроектирован так, что его невозможно просто «отсидеть» или «прослушать». Именно поэтому студенты могут получить оффер ещё во время обучения, а некоторые работодатели указывают их курсы как преимущество при найме. Узнайте подробнее о программе курса, преподавателях и выпускниках и начните изучать Java уже сейчас: https://tprg.ru/vMIh Это #партнёрский пост

Double, Float — не вещественные числа Во многих источниках тип double и float, числа с плавающей запятой/точкой зачем-то называют вещественными. Такое чувство что кто-то когда-то совершил ошибку или не внимательно написал эту глупость и все как один начали её повторять, совершенно не задумываясь о чём они говорят. Ладно это были бы просто троечники студенты и любители, так эту ошибку говорят и те, кто обучают специалистов. И эта проблема терминологии не одного ЯП, их правда много (Java, C++, C#, Python, JS и т.д.) везде, где бы я не искал, всегда находятся статьи, ответы, лекции, где дробные числа называют вещественными! Читать: https://habr.com/ru/post/677294/?utm_campaign=677294

Top 15 Java Enum Interview Questions Answers for 3 to 5 Years Experienced Enum was introduced in Java 5 and since then it's b
Top 15 Java Enum Interview Questions Answers for 3 to 5 Years Experienced Enum was introduced in Java 5 and since then it's been very popular among Java developers and widely used in different Java applications. Since Enum in Java is much more versatile than Enum in C or C++, it also presents lots of interesting use cases, a couple of them, we have seen in my article 10 ways to use Enum in Java. But, despite being so popular, many Java programmers are still not aware of the functionality provided by Enum and the subtle details of using Enum in Java code. Java Interview questions and tutorials Read: http://www.java67.com/2013/07/15-java-enum-interview-questions-amswers-for-experienced-programmers.html

Top 43Java IO and File System Interview Questions with Answers for 1 to 3 Years Experienced Good knowledge of Java IO API is important for any Java developer but many of them barely pay attention to Java IO and NIO API, and that's why they often struggle during Java interviews when a question related to Input-Output operation is asked. In the past, I have shared many Java interview questions on topics like Collections, Concurrency, JVM internals, Garbage Collection, OOP, Design Patterns, and Data structure based coding problems, which received good feedback and helped many Java developer on their Java Interview preparation. Consequently, many of my readers were also asking about Java IO and File-based interview questionsand this was one of the pending items on my TODO list for quite some time. Java Interview questions and tutorials Read: http://www.java67.com/2020/02/40-java-io-and-files-interview-questions-answers.html

Top 20 MySQL Interview Questions with Answers Hello guys, if you are preparing for MySQL and Database interview or a Java dev
Top 20 MySQL Interview Questions with Answers Hello guys, if you are preparing for MySQL and Database interview or a Java developer role with MySQL experience and looking for frequently asked MySQL interview questions and answers then you have come to the right place. Earlier, I have shared popular SQL Interview Questionsand common SQL queries from Interviews and in this article, I will share frequently asked MySQL database interview questions with answers. MySQL is very vital as far as web application is concerned. Therefore, this is an area that cannot be taken for granted. This simply means that various questions regarding MySQL have to be asked whenever you are seeking a job. Java Interview questions and tutorials Read: http://www.java67.com/2022/05/top-20-mysql-interview-questions-with.html

10 Easy Ways to Create and Sell NFTs (Non Fungible Tokens) in 2022 First, you have to know or understand what NFTs are before
10 Easy Ways to Create and Sell NFTs (Non Fungible Tokens) in 2022 First, you have to know or understand what NFTs are before getting to know how you can create and sell them. NFT is the short form of Non-fungible Tokens. NFTs are digital assets with a unique identity kept and verified on a blockchain (a digital ledger). Each NFT is non-fungible, meaning it can’t be readily exchanged for another asset of similar value. Common NFT assets include images, video, music, GIFs, and collectibles. Java Interview questions and tutorials Read: http://www.java67.com/2022/07/10-easy-ways-to-create-and-sell-nfts.html

Подробно о мониторинге и профилировании JVM Управление доступными ресурсами в облачной среде по запросу – тема, которая бывает очень непростой. Но эта работа стоит того, поскольку вы сможете использовать ресурсы гораздо эффективнее. Поэтому многие компании и проекты решаются мигрировать на облачные платформы, в частности, на Azul, AWS, Google Cloud или другие. С точки зрения программиста, есть одна истина, которая сохраняется и в облаке: рекомендуется понимать поведение и ограничения того JVM-приложения, что вы развернули (или не приложений, а подов, минимальных развертываемых единиц в Kubernetes). Платформа Java является многопоточной, и, даже если вы не собираетесь использовать какие-либо доступные для этого API, платформа все равно порождает множество потоков-демонов, работающих в фоновом режиме. Такие потоки нужны не только для очистки и подхватывания неиспользуемой памяти. Они относятся к платформе, а что насчет фреймворков? Фреймворки Java пытаются обслуживать большие эксплуатационные мощности; следовательно, инициируется работа множества вспомогательных потоков. Ниже мы немного заглянем под капот. В этой статье будет подробнее рассмотрено, как устроены популярные фреймворки Quarkus и Spring-Boot, сколько потоков они инициируют, чтобы обслужить все результаты. Давайте вместе пробежимся по примерам и для начала разберемся, какова разница между мониторингом и профилированием. Читать: https://habr.com/ru/post/677212/?utm_campaign=677212

Стать Java-разработчиком без гроша в кармане? Это реально! Ребята из Kata Academy запустили курс Java-разработки с оплатой после гарантированного трудоустройства. За 5 лет они уже выпустили и трудоустроили более 600 человек. Вам осталось лишь пройти вступительные тест и начать обучение с 28 июля: https://tprg.ru/1fQR Это #партнёрский пост

Что общего у нуля, -1 и большого простого числа: Psychic Signatures в мире Java Уязвимость ​​CVE-2022-21449 или “Psychic Signatures”, которая была обнаружена в Java 15-18, позволяет обойти механизм проверки ECDSA-подписи и подделать исходное сообщение. Если приложение использует уязвимую версию Java для валидации JWT-токенов на базе алгоритма ES256, злоумышленник может получить доступ к приложению от лица любого пользователя. Подробное описание причины проблемы можно найти в этой статье, но первоначальный proof of concept не дает полного представления о том, какие приложения подвержены этой уязвимости. Чтобы исправить этот пробел, а также иметь возможность «поиграть» с приложением, которое максимально приближено к реальному, я создал стенд. На нем можно протестировать все возможные векторы атаки. Для тех, кто не боится спойлеров Читать: https://habr.com/ru/post/676924/?utm_campaign=676924

Top 25 React Native interview Questions Answers Hello guys, if you are preparing for React Native Developer interview and loo
Top 25 React Native interview Questions Answers Hello guys, if you are preparing for React Native Developer interview and looking for common React Native Interview questions and answers then you have come to the right place. Earlier, I have shared best free online courses to learn React Nativeand in this article, I am going to share 25 React Native Questions you can prepare for any Job interview. Mobile application development has advanced at a rapid pace in the last decade. As the usage of mobiles has increased immensely, more and more companies have figured that mobile applications are the future. So because of this increasing demand for mobile applications, the technology has advanced to keep up with the expectations. Java Interview questions and tutorials Read: http://www.java67.com/2022/05/top-25-react-native-interview-questions.html

Top 10 C++ Interview Questions with Answers for 1 to 2 years Experienced Today, for a change I am not sharing any Java interv
Top 10 C++ Interview Questions with Answers for 1 to 2 years Experienced Today, for a change I am not sharing any Java interview questions, but I am sharing a few C++ interview questions. There is a good demand for developers who know both Java and C++, particularly in the investment banking domain, as a lot of high-performance applications like client connectivity, exchange connectivity, and order management systems (OMS) are written in C++. If you know both Java and C++ then you have a great chance to get a job in big investment banks like Barclays, Nomura, Deutsche Bank, and other Wall Street Firms. Java Interview questions and tutorials Read: http://www.java67.com/2019/04/top-10-c-interview-questions-and-answers.html