Чашечка Java
Kanalga Telegram’da o‘tish
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Ko'proq ko'rsatish8 537
Obunachilar
-124 soatlar
-117 kunlar
-3230 kunlar
Postlar arxiv
8 537
Java. Adapter Pattern in Game Server
Адаптер - это шаблон структурного проектирования, который позволяет объектам с несовместимыми интерфейсами взаимодействовать друг с другом.
Так же известен как “Обертка”.
Проблема
Чтобы продемонстрировать этот шаблон, я буду использовать упрощенный пример игровой механики, в которой есть интерфейс IEnemy, но один из врагов отличается от других и не имеет реализации метода атаки. Вместо этого этот конкретный враг (SpecialEnemy) накладывает заклинания .
о паттерне Адаптер
Читать: https://habr.com/ru/post/577220/?utm_campaign=577220
8 537
Java News Roundup: Jakarta EE 10 Core Profile, OpenJDK, Open Liberty, Payara, Groovy and Quarkus
This week's Java roundup for September 6th, 2021, features news from Jakarta EE 10 introducing a new core profile, JEP 417, JDK 18, Open Liberty 21.0.0.10-beta, Payara August 2021 Roadmap Update webinar, Quarkus 2.2.2.Final, a new Micronaut Java library, Hibernate Search 6.1.0.Alpha1, GraalVM Native Build Tools 0.9.5, updates to versions of Groovy, and the JakartaOne Livestream 2021 conference.
By Michael Redlich
Read: https://www.infoq.com/news/2021/09/java-news-roundup-sep06-2021/
8 537
Microsoft Announces Azure Spring Cloud Enterprise in Preview
Recently Microsoft announced Azure Spring Cloud Enterprise, a new managed service tier for Spring that is optimized for the needs of enterprise developers. The new enterprise tier is available in preview.
By Steef-Jan Wiggers
Read: https://www.infoq.com/news/2021/09/azure-spring-cloud-enterprise/
8 537
Top 30 JavaScript Interview Questions Answers for 1 to 3 Years Experienced
Building a career as a developer in the IT industry can be challenging if you lack stream-specific preparation. For instance, if you want to be a JavaScript developer, you have to dig deep into its...
Read: http://www.java67.com/2021/09/top-30-javascript-interview-questions.html
8 537
10 Best Python, Data Science and Cloud Computing Courses from Coursera in 2021 [UPDATED]
Hello folks, if you are looking for the best Coursera courses, certifications, and specialization to start your career in IT or make a career switch, then you have come to the right place. Coursera...
Read: http://www.java67.com/2020/09/best-coursera-specializations-courses-certifications-projects.html
8 537
Top Java Blogs Weekly: Best of 38/2021
Best of Top Java Blogs, year 2021, week 38
Read: https://www.topjavablogs.com/news/best-of-38-2021
8 537
What is Redux and how to use it? Example Tutorial
Managing state efficiently is very important in a react application. A React application depends on its state. React provides in-built support to manage the state but as the application grows, this...
Read: http://www.java67.com/2021/09/what-is-redux-and-how-to-use-it-example.html
8 537
How to Convert a List to Map in Java 8 - Example Tutorial
One of the common tasks in Java programming is to convert a list to a map and I have written about this in the past and today we'll see how Java 8 makes this task easier. Btw, be it Java 7 or...
Read: http://www.java67.com/2018/01/how-to-convert-list-into-map-in-java-8.html
8 537
4 Books to learn Java Programming from Scratch in 2021 - Best of lot
I receive half a dozen emails every day asking about which is the best to learn Java from scratch? Which book should I read in 2021 to learn Java? Or Which is the best Java for beginners? When I...
Read: http://www.java67.com/2018/02/3-books-to-learn-java-from-scratch-in.html
8 537
Can you Overload or Override main method in Java? Example
One of the common doubts among Java beginners while learning the overloading and overriding concept is, whether it's possible to overload the main in Java? Can you override the main method in...
Read: http://www.java67.com/2015/06/can-you-overload-or-override-main-in-java.html
8 537
Top 5 Free Courses to Learn React Native Courses for Beginners in 2021 - Best of Lot
Hello guys, if you are learning React Native to make cross-platform apps and looking for some free courses to learn React Native then you have come to the right place. In the past, I have shared the...
Read: http://www.java67.com/2020/07/5-free-courses-to-learn-react-native-in.html
8 537
How to use Map.compute(), computeIfPresent() and ComputerIfAbsent in Java? ConcurrentHashMap Example
The JDK 8 has added several useful methods in existing interfaces e.g. java.util.Map, java.util.Collection, and java.util.concurrent.ConcurrentMap. Thanks to default methods, the much-needed...
Read: http://www.java67.com/2017/12/java-8-compute-and-computeifpresent.html
8 537
Top 5 Free Angular Courses for Beginners to Learn Online in 2021 - Best of Lot
Google's Angular is one of the most popular JavaScript frameworks for creating web apps. It helps you in creating complex web applications in less time. It's maintained by Google, so you can...
Read: http://www.java67.com/2018/01/top-5-free-angular-js-online-courses-for-web-developers.html
8 537
What is Method Overloading, Overriding, Hiding, Shadowing and Obscuring in Java and Object-Oriented Programming?
Hello guys, today, I am going to explain a couple of fundamental object-oriented programming concepts in Java, like Overloading, Overriding, Hiding, Shadowing, and Obscuring. The first two are used...
Read: http://www.java67.com/2019/04/difference-between-overloading-overriding-hiding-shadowing-and-obscuring-in-java-oop.html
8 537
How to sort HashMap by values in Java 8 [using Lambdas and Stream] - Example Tutorial
In the past, I have shown you how to sort a HashMap by values in Java, but that was using traditional techniques of the pre-Java 8 world. Now the time has changed and Java has evolved into a...
Read: http://www.java67.com/2017/07/how-to-sort-map-by-values-in-java-8.html
8 537
Java 17 и Jakarta EE 9 — минимальные требования для Spring Framework 6
От переводчика: на конференции SpringOne были сделаны довольно важные анонсы относительно нового поколения Spring Framework, на Хабре это почему-то это прошло незамеченным. Судя по всему, в ближайшее время мы будем жить не просто в мире “Java 8/Java 11+”, а появится ещё один водораздел: “Spring 5/Spring 6+”. Чем это грозит? Например, если вы используете Hibernate 5.4, то придется принудительно обновиться на Hibernate 5.5+.
1 сентября на SpringOne было объявлено, что минимальные требования для Spring Framework 6 и Spring Boot 3, который будет доступен в 4 квартале 2022 года, сдвигаются в сторону увеличения:
* Java 17+ (c Java 8-17 в линейке Spring Framework версии 5.3.x)
* Jakarta EE 9+ (с Java EE 7-8 в линейке Spring Framework версии 5.3.x)
Читать дальше →
Читать: https://habr.com/ru/post/577080/?utm_campaign=577080
8 537
Представляем Spring GraphQL
Вслед за анонсом проекта Spring GraphQL и выходом майлстоуна 1.0 мы публикуем этот пост с более подробной информацией.
Читать: https://habr.com/ru/post/576968/?utm_campaign=576968
8 537
Top 6 HTML 5 and CSS 3 Online Courses for Beginners to Learn in 2021 [UPDATED] - Best of Lot
Hello guys, if you want to learn HTML and CSS to become a web designer and developer and are looking for the best HTML and CSS courses, you have come to the right place. In the past, I have shared...
Read: http://www.java67.com/2020/08/5-best-online-courses-to-learn-html-5.html
8 537
When to use PUT or POST in a RESTful Web Service? Answer
Hello guys, if you are confused about whether to use PUT or POST for updating a resource using RESTful web service then you have come to the right place. In the past, I have shared the best RESTful...
Read: http://www.java67.com/2016/09/when-to-use-put-or-post-in-restful-web-services.html
8 537
Внешние данные конфигурации в Spring
Большинство наших приложений зависят от внешних сервисов, например серверов баз данных, SMS-шлюзов и систем наподобие PayPal. Эти сервисы могут существовать более чем в одной среде, то есть в средах разработки и эксплуатации. Если мы хотим подключиться к эксплуатационной среде, мы должны сначала пройти через среду разработки. Таким образом, во время создания приложений нам приходится переключаться между средами. Это связано с тем, что у каждой среды своя уникальная конфигурация со своими параметрами подключения и прочими значениями.
Читать: https://habr.com/ru/post/576910/?utm_campaign=576910
