Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 555
订阅者
无数据24 小时
-147 天
-1330 天
帖子存档
8 554
Как за пару часов с нуля сделать игру на Java?
Узнайте 25 мая в 20:00 мск на открытом уроке в OTUS! Вебинар приурочен к старту онлайн-курса «Специализация Java Developer» в OTUS.
На занятии вы посмотрите, как за несколько часов с нуля сделать небольшую консольную игру на Java. Прямо на ходу вы будете изучать принципы написания кода и продумывать логику игры.
Урок будет полезен тем, кто хочет:
— с нуля изучать Java;
— посмотреть, как с нуля на практике пишутся Java-приложения;
— научиться писать код на языке Java и получить базовые навыки программирования.
В результате вы увидите, как пишется код и создаются программы на языке Java.
Продолжить обучение на курсе можно в рассрочку. Зарегистрируйтесь, чтобы участвовать в открытом уроке: https://otus.pw/5Quw/
Реклама ООО «Отус Онлайн-Образование» LjN8KKEMb
8 554
Интеграция с 1С: то, о чем не рассказывают в книгах
Привет всем гуру всемогущих языков программирования! Меня зовут Иван, я возглавляю backend-направление в компании SimbirSoft. Для своей первой статьи на Хабр решил поднять вопрос, как правильно сделать интеграцию с любой платформой 1С, используя Java, С# и другие языки программирования.
Пару слов обо мне и моем опыте работы с вышеупомянутым стеком. В свое время я писал всевозможные интеграции со стороны 1С. Около трех лет приходилось решать интеграционные вопросы по взаимодействию с производственными системами (MES), системами управлениями складом (WMS), системами управления транспортом и даже со счетчиками учета электроэнергии. Но судьба забросила меня в мир Java, и мои взгляды на разные аспекты интеграции с 1С-платформами сильно изменились.
В этой статье я расскажу о своем опыте интеграции и сложностях, которые могут при этом возникнуть. Я искренне считаю, что множества проблем можно избежать, если специалист представляет, как работают механизмы интеграций в обеих платформах. Рассмотрим на примере Java, но эти подходы доступны и для других языков. Про интеграцию подробно рассказано в книге «Технологии интеграции 1С:Предприятия 8.3» Елены Хрусталевой. В этом материале я приведу несколько методов взаимодействия, плюсы и минусы подходов и их применимость для разных компаний. Помимо этого, рассмотрю самый удобный, на мой взгляд, метод, который не представлен в этой книге.
Статья будет полезна специалистам 1С, Java-разработчикам, а также проджект-менеджерам и владельцам продуктов.
Читать: https://habr.com/ru/companies/simbirsoft/articles/736802/?utm_campaign=736802
8 554
Apache Pulsar 3.0 Delivers a New LTS Version and Efficiency Improvements
The Apache Software Foundation has released version 3.0 of Apache Pulsar, the distributed messaging and streaming platform. Pulsar 3.0 introduces the Long-Term Support release and many performance and scalability improvements.
By Andrea Messetti
Read: https://www.infoq.com/news/2023/05/apache-pulsar-messaging/
8 554
How to set base URL for REST in Spring Boot? Example Tutorial
Hello guys, if you are wondering how to set base URL for REST API in Spring Boot
then you have come to the right place. Earlier, I have shared best REST API Courses for Java developers, REST API Books, and a complete guide to create RESTful Web service using Spring Boot,
in this article, I will show you how to set a base URL in any spring boot
application? If you don't know what is a base URL in a REST application or
website, let me give you a brief overview first. A base URL is the continuous element of your REST API or website's address. For
example, you'll notice that the address portion http://twitter.com displays in
the address bar whenever you log on to your Twitter account or visit a Twitter
profile from your computer. This is the primary or base URL.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/how-to-set-base-url-for-rest-in-spring.html
8 554
How to Enable Disable Spring Security in Spring Boot? Example Tutorial
Hello guys, if you are wondering how to enable and disable Spring Security in a Spring Boot based Java application then you have come to the right place. In the past, I have shared best Spring security courses, 25 Spring Security questions, as well multiple Spring security tutorials like how to use HTTP Basic auth in Spring Security etc. and in this article, I will share multiple ways to enable and disable Spring Security in a Spring boot application. But, before that, if you are new to Spring Security then find out what is Spring Security and how does it work? At its core, Spring Security is simply a bunch of servlet filters that assist you with adding authentication and authorization to your web application.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/how-to-enable-disable-spring-security.html
8 554
Java News Roundup: Azul Zulu Support for CRaC, Spring Boot Updates Mitigate CVEs, OpenJDK JEPs
This week's Java roundup for May 15th, 2023 features news from OpenJDK, JDK 21, Azul Zulu, point releases of Spring Boot, Spring Security, Spring Security Kerberos, Spring Integration, Spring Batch, Spring for GraphQL, Spring Authorization Server, Spring LDAP, Micronaut, Open Liberty, TornadoVM, Hibernate ORM, Apache TomEE, Apache Tika, OpenXava, JBang, JDKMon and Spring I/O conference.
By Michael Redlich
Read: https://www.infoq.com/news/2023/05/java-news-roundup-may15-2023/
8 554
Jetpack Compose Brings Performance Improvements, Better Tooling Integration, and Updates Material 3
At its Google I/O conference, Google has announced a new iteration of its Jetpack Compose UI toolkit for Android. Among its many improvements, Jetpack Compose has now better performance, extended support within Android Studio, a new Material 3 library, and more.
By Sergio De Simone
Read: https://www.infoq.com/news/2023/05/android-jetpack-compose-2023/
8 554
Тестируем работу с БД из SpringBoot: TestContainers, DBUnit и все-все-все
Привет! Все приложения что-то делают с данными. Некоторые преобразовывают их из одного формата в другой и счастливо про них забывают. Другим повезло меньше, и им приходится эти данные где-то хранить, чтобы обратиться к ним позже. Или чтобы другое приложение могло обратиться к ним позже. И самым распространенным способом для хранения до сих пор являются реляционные базы данных.
А еще для приложений пишут тесты, чтобы проверить корректность их работы. И когда возникает необходимость протестировать работу приложения с БД, то выясняется, что здесь могут быть свои тонкости. За подробностями добро пожаловать под кат.
Читать: https://habr.com/ru/articles/733408/?utm_campaign=733408
8 554
Telegram-бота для скачивания видео из VK на Spring Boot и деплоим в Kubernetes
В последнее время на Хабре несколько раз всплывала тема загрузки видео из VK для дальнейшего просмотра оффлайн. Я решил подойти к этому вопросу немного с другой стороны, и решить вопрос с помощью телеграм-бота.
Таким образом, убиваем сразу нескольких зайцев:
- не нужно ставить никаких дополнительный приложений или плагинов: скорее всего Telegram и так уже установлен на телефоне и/или на компе
- автоматическая синхронизация видео между устройствами - поставили на закачку на компе, пошли на улицу, а тот же файл - в телефоне
- Telegram позволяет загружать файлы для последующего просмотра/прослушивания оффлайн, и это работает с выключенным экраном из коробки (привет, премиум подписки vk/youtube)
Читать: https://habr.com/ru/articles/735902/?utm_campaign=735902
8 554
Top 5 Features Of Spring Boot 3 To Learn In 2023
Hello guys, if you want to learn Spring Boot 3 and wondering which features to start with then you have come to the right place. Earlier, I have shared 5 worth learning features from Spring Framework 6 and in this article, I am going to share 5 Spring Boot 3 features which are worth knowing and learning for every Java developer But, before we get to the best 5 features that you definitely need to check out in Spring Boot 3, let me tell you a bit about what Spring really is. Spring is basically a framework that can be used for developing various types of applications with the help of Java platforms. It also provides support for the Plain Old Java Objects, also known as POJOs, that developers can use for easily creating the Java SE Programming Model with full and partial Java EE.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/top-5-features-of-spring-boot-3-to.html
8 554
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 554
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 554
Jakarta Faces и Spring Boot
Spring Boot работает с Tomcat Embed. Tomcat не включает в себя поддержку Jakarta Faces и CDI. Не смотря на это, возможно добавить нужные зависимости и использовать Faces.
Эта статья о том, какая конфигурация нужна для запуска Jakarta Faces вместе со Spring Boot. Также я описал некоторые ошибки, которые могут встретится.
Читать: https://habr.com/ru/articles/736474/?utm_campaign=736474
8 554
Вопросы и ответы для собеседования по Kotlin. Часть 4
Вопросы и ответы для собеседования по Kotlin. Часть 1
Вопросы и ответы для собеседования по Kotlin. Часть 2
Вопросы и ответы для собеседования по Kotlin. Часть 3
Вопросы и ответы для собеседования по Kotlin. Часть 4 — вы находитесь здесь
Вопросы и ответы для собеседования по Kotlin. Часть 5 (скоро)
Читать: https://habr.com/ru/articles/736392/?utm_campaign=736392
8 554
How to upload a file and JSON data in Postman? Example Tutorial
How to upload a file and JSON data in Postman is a common question when you are dealing with REST APIs. In order to do this, you need to send through POST request. So in this article, we are going to explain this using different examples where you can upload a single file in different ways. upload a list of files, upload as an object or upload a list of objects containing images from postman. So before moving to the following different aspects of uploading a single file in different ways, let's assume that in your postman, you are using header named "Content-Type" with the value of "multipart/form-data".
Java Interview questions and tutorials
Read: http://www.java67.com/2022/05/how-to-upload-file-and-json-data-in.html
8 554
Spring Boot Backend + Vuejs Example [Java tutorial] - Part 1
In this tutorial, we will show you the Vue.js HTTP client and
Spring Boot Server example that uses Spring JPA to do the CRUD with the
H2 database and Vue.js as frontend technology to make requests and
receive responses. But before moving to the Spring Boot and VueJs
Example, Let's discuss what is Vuejs and its use cases.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/spring-boot-backend-vuejs-example-java.html
8 554
На чём программируют интернет вещей
Рассказываем, какие популярные и не очень языки программирования нужно знать, чтобы заниматься разработкой в IoT.
Читать: «На чём программируют интернет вещей»
8 554
Top 5 Spring 6 New Features Java Developer Should Learn In 2023
Hello guys, if you are wondering what is New in Spring Framework 6 release and what new feature it has got or what does it support now then you have come to the right place. In this article, I will share 5 key changes from Spring Framework 6 which are worth knowing for Every Java developer. Before we get to the top 5 features of Spring that you need to definitely learn in 2023, let me tell you a bit more about what Spring Framework really is. Spring is basically a framework that can be used for developing various types of applications with the help of Java platforms. It also provides support for the Plain Old Java Objects, also known as POJOs, that developers can use for easily creating the Java SE Programming Model with full and partial Java EE.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/top-5-features-of-spring-6-to-learn-in.html
8 554
Java + Spring Boot + Microservices Example - Step by Step Guide
Hello guys, if you are wondering how to create a Microservice in Java and Spring
Boot then you are at the right place. In the past, I have shared best Spring Boot courses for Microservices, Interview Questions
as well as essential Microservice design principles and patterns
like API Gateway, Circuit breaker, CQRS, Event sourcing etc and In this article, we will
cover the fundamentals of microservices with Spring Boot utilizing Spring cloud.
We will cover a few fundamental ideas and then we will make a little
microservices to give you an outline. I will also share step by step guide to
make Microservices in Java and then deploy them using Docker and Kubernetes on
Cloud.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/08/java-spring-boot-microservices-example.html
8 554
Azul Systems boosts Java startups with CRaC
Read: https://www.infoworld.com/article/3696972/azul-systems-boosts-java-startup-times-with-crac.html#tk.rss_java
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
