Чашечка Java
Open in Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Show more8 291
Subscribers
+324 hours
+127 days
-4930 days
Posts Archive
8 292
Joker 2021: прошедшая Java-конференция и общая статистика
Закончилась конференция для Java-разработчиков Joker 2021, проходившая с 25 по 28 октября 2021 года. Мероприятие стало четвёртым из девяти конференций, проводимых в этом году компанией JUG Ru Group в рамках осенне-зимнего сезона.
Обзор рассказывает об увиденных и услышанных докладах, о полученных при этом впечатлениях и о произошедших изменениях в проведении конференции формата онлайн.
Читать: https://habr.com/ru/post/584390/?utm_campaign=584390
30 Oct 2021, 14:33
8 292
Распознаем числа из прописи на Kotlin
Кому может быть полезна эта статья?
Извращенцам делающим ML на Java? Или может быть для обучения?
Хотя зачем эти оправдания? Весь код был написан because we can.
Русский язык обладает встроенными алиасами для некоторых чисел. Их мы будем с переводить в последовательность обычных чисел. А полученные последовательности нормализованных легче склеить в одно.
Под катом мы рассмотрим как превращать числа вида "Двенадцать тысяч шестьсот пятьдесят девять целых четыре миллионных" в форму вроде 12 659, 000 004.
Читать: https://habr.com/ru/post/586466/?utm_campaign=586466
30 Oct 2021, 07:24
8 292
Top 15 Spring Data JPA Interview Questions with Answers
Hello guys, If you are preparing for a Spring developer interview and looking for some Spring Data JPA Interview questions then you have come to the right place. Earlier, I have shared frequently...
Read: http://www.java67.com/2021/01/spring-data-jpa-interview-questions-answers-java.html
30 Oct 2021, 04:51
8 292
Java Serialization Example and Tutorial for Beginners [Guide]
Serializing an object in Java is never easy and many Java developers often get confused. There are so many rules, interfaces to implement, and then always a chance of data loss or an error during the...
Read: http://www.java67.com/2021/04/java-serialization-tutorial-example-.html
30 Oct 2021, 04:51
8 292
How to find Large Files and Directories with Size in Linux? [find + du Example]
One of the common problems while working in Linux is finding large 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...
Read: http://www.java67.com/2017/08/how-to-find-large-files-with-size-in-Linux.html
30 Oct 2021, 04:51
8 292
Oracle's JDK 17 - Free Again for Commercial Use
The Oracle JDK is available free of charge for production use again - under the new "Oracle No-Fee Terms and Conditions" (NFTC) license. This move reverses a 2018 decision to charge for Oracle JDK production use and does not affect Oracle's OpenJDK distribution. The NFTC applies to the recently released version 17 of Oracle JDK and future versions.
By Karsten Silz
Read: https://www.infoq.com/news/2021/10/oracle-jdk-free-again/
30 Oct 2021, 01:43
8 292
5 Best Free Online Courses to Crack AWS Cloud Practitioner Exam in 2021 - Best of Lot
Hello guys, if you are preparing for AWS Cloud Practitioner certification and looking for free online courses to boost your preparation, then you have come to the right place. In the past, I have...
Read: http://www.java67.com/2020/08/top-5-free-courses-to-pass-aws-cloud.html
30 Oct 2021, 00:48
8 292
e engine to analyze the Gradle build file and report syntax errors if exist. It will also get script classpaths from Gradle Build so that it can report compilation errors. The Gradle default imports are supported.
There are many more features in this extension. Please visit the GitHub documentation to see the full list of features! You can follow this link to get this Gradle extension.
More Convenient Code Actions
We have been constantly receiving feedback that the current code actions are sometimes hard to find. Previously, developer has to right click, select “Source Action” and then find all the Java code actions in the menu.
Now, developers can simply use the lightbulb icon (Quick Fix) to generate common Java functions. Here is a list of scenarios we support
* Generate Getters and Setters
* Generate hashCode() and equals()
* Generate toString()
Here is a quick demo:
Feedback and Suggestions
Please don’t hesitate to try our product! Your feedback and suggestions are very important to us and will help shape our product in future. There are several ways to leave us feedback
* Leave your comment on this blog post
* Open an issue on our GitHub Issues page
Resources
Here is a list of links that are helpful to learn Java on Visual Studio Code.
* Learn more about Java on Visual Studio Code.
Read: Java on Visual Studio Code Update – September 2021.
29 Oct 2021, 11:39
29 Oct 2021, ~11:55
8 292
Java on Visual Studio Code Update – September 2021
Hi everyone, welcome to the September edition of the Visual Studio Code Java update! In this post, we are going cover the new release of Gradle extension, more convenient Code Actions and recent 1.0 language server release.
Language Server for Java 1.0 Release
The 1.0 release of the Language Server for Java was officially released recently! We believe this is an important milestone and result of a multi-year collaboration between Microsoft and Red Hat. Please visit this special blog post to see the release highlights as well as future plans in detail.
Gradle for Java Extension Release
Better Gradle support has been one of the top asks in the community. To better address the Gradle needs for developers, we are excited to announce that we have now released the “Gradle for Java” extension (previously called “Gradle Tasks” extension). This extension was originally started by @badsyntax and is now maintained by Microsoft. Please note that this extension is not yet part of Extension Pack for Java and you may need to download it separately.
Let’s take a look at some highlights of this new version:
Local Gradle installation support
In previous version, Gradle wrapper in the project folder is the requirement for the extension. There was a feature request (Issue #1004) to support Gradle projects without wrapper, this feature was added to the recent release. Developers can now use the following settings to control the activation behavior.
* java.import.gradle.wrapper.enabled
* java.import.gradle.version
* java.import.gradle.home
More details about these settings can be found at https://github.com/microsoft/vscode-gradle#vs-code-settings-1
Dependency Management and Project View
Another exciting new feature is the project dependency view. Developers can now easily view the dependencies in a project from the extension.
To view the dependencies of a project, simply click on the “Dependencies” item and all dependencies of a project is shown below. These dependencies are grouped by Gradle configurations and you can expand each configuration to see the dependencies in detail. For omitted dependency (marked with a (*)), you can click on the inline button on the right to reveal the previously listed dependency.
Gradle Authoring Experience (Groovy)
Gradle file authoring experience in Groovy is also greatly improved! There are a few new features we want to highlight:
Auto completion
The Gradle language server supports basic auto completions for a Gradle file, when you’re trying to type a Gradle closures or properties in a Gradle script, the extension will automatically suggest available Gradle closures for you.
When you’re typing a dependency in “dependencies” closure, the extension will automatically search in the Maven central and suggest result for you.
Syntax Highlighting
When opening a Groovy Gradle file, the Gradle language server will start and provide language features for you. Basically, we offer Groovy syntax highlighting (using VS Code default style) in Gradle files. After language server starts, it will analyze the opened Gradle file and provide semantic tokens information, providing more precise highlighting results.
Document outline
The Gradle language server will provide the document outline for the current Gradle file. This type of view will help you to navigate to any part of the Gradle file easily
Error reporting
The Gradle language server will use Groovy compil[...]
29 Oct 2021, 11:39
29 Oct 2021, ~11:55
8 292
How to set the logging level with application.properties in Spring Boot - Example Tutorial
Hello guys, if you are wondering how to set the logging level on spring boot then you have come to the right place. In the past, I have shared the best Spring Boot courses and free courses to...
Read: http://www.java67.com/2021/10/how-to-set-logging-level-in-spring-boot-.html
29 Oct 2021, 07:42
8 292
Grails 5.0 Updates Underlying Frameworks and Consolidates Features
Grails 5.0 was released featuring deprecation of the ‘dot’-Based Navigation to configuration, default autowire by type in Data Services, the decoupling of Grails Gradle Plugin from the grails-core and the Grails Gradle Publish plugin is removed from the Grails plugin applications. Also, this release includes Apache Groovy 3, Micronaut 3, Gradle 7, Spring Boot 2.5, Spring 5.3 and Spock 2.0.
By Olimpiu Pop
Read: https://www.infoq.com/news/2021/10/grails-5-released/
29 Oct 2021, 05:46
8 292
10 Examples of HashMap in Java - Programming Tutorial
The HashMap in Java is one of the most popular Collection classes among Java programmers. After my article on How HashMap works in Java, which describes the theory part of Java HashMap and becomes...
Read: http://www.java67.com/2013/02/10-examples-of-hashmap-in-java-programming-tutorial.html
29 Oct 2021, 00:59
8 292
Top 5 Free Big Data Courses to Learn Hadoop, Spark in Java 2021- Best of Lot
Hello Java Programmers, If you want to learn Big Data technologies in 2021 like Hadoop, Apache Spark, and Apache Kafka and you are looking for some free resources like books, courses, and tutorials,...
Read: http://www.java67.com/2018/05/top-5-free-big-data-courses-to-learn-Hadoop-Apache-Spark.html
29 Oct 2021, 00:59
8 292
Как сделать проект на Java Spring Boot?
Разбор планирования и логики работы небольшого Back-end проекта на Java Spring Boot
Читать: https://habr.com/ru/post/586176/?utm_campaign=586176
28 Oct 2021, 15:29
8 292
Top 10 Java 9 and Module Tutorials and Courses to Learn in 2021 - Best of Lot
It's been more than a couple of years or so since JDK 9 was launched, and the new year is probably the best time to learn Java 9 and get yourself familiar with new features and enhancements on...
Read: http://www.java67.com/2018/01/top-10-java-9-tutorials-and-courses.html
28 Oct 2021, 13:05
8 292
Can You Override Static Method in Java? Method Hiding Example
Can we override the static method in Java?This is one of the most popular Java interview questions. The answer to this question is No, you cannot override the static method in Java because the method...
Read: http://www.java67.com/2012/08/can-we-override-static-method-in-java.html
28 Oct 2021, 13:05
8 292
Python как инструмент сборки
Обычно, начиная проект на Java (или любой другой проект), вы не хотите заново изобретать колесо. Вы де-факто выбираете систему сборки, структуру папок, окружение и т.д. То, что использует весь остальной мир.
Тем не менее, и Skija, и JWM сделаны с помощью скриптов Python вместо более традиционных Ant/Maven/Gradle/SBT. Почему? Давайте узнаем!
Maven
Когда мы только начинали Skija, я использовал Maven, потому что хорошо его знал. Очень скоро мы столкнулись с ограничениями Maven: это очень жесткая система. Он хорошо работает на стандартных проектах, но когда вам нужно что-то дополнительное, он становится препятствием.
А у нас был очень нестандартный проект. Skija — это проект 50/50 из Java и C++. Мы создаем нативные артефакты и упаковываем их в JAR-файлы. У нас есть несколько разных JAR, собранных из одного источника (по одному на платформу). Мы также предварительно обрабатываем исходники Java с помощью Lombok перед их компиляцией.
Забавный факт: единственной IDE, которая поддерживает одновременную разработку на Java и C++, является Android Studio. Нет, мы не были готовы пойти на эту жертву.
С каждым усложнением я упорно боролся за то, чтобы все работало с Maven. Но его негибкость делала простые вещи чрезвычайно сложными. Например, я не мог контролировать, какие файлы из каталога должны попасть в JAR, а какие нет. Я не мог указать в каком каталоге их искать.
Читать: https://habr.com/ru/post/586046/?utm_campaign=586046
28 Oct 2021, 07:15
8 292
How to use Linked List in Java? Example Tutorial
Hello friends, we meet again on our journey to Java. I hope you guys are enjoying Java and are trying hands-on too. Today we are gonna discuss a very easy topic (yeah, I mean it :p). But, do...
Read: http://www.java67.com/2021/10/how-to-use-linked-list-in-java-example.html
27 Oct 2021, 11:40
