Чашечка Java
Відкрити в Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
Показати більше8 554
Підписники
-424 години
-197 днів
-2530 день
Архів дописів
8 554
Amazon Corretto, Java 17 adoption soar, New Relic reports
Read: https://www.infoworld.com/article/3694513/amazon-corretto-java-17-adoption-soar-new-relic-reports.html#tk.rss_java
8 554
How To Implement Security in Microservices Architecture
Hello guys, if you are wondering how to secure your Microservices, like put authentication and authorization then you have come to the right place. Security is a critical aspect of any software architecture, and microservices architecture is no exception. With its distributed and decentralized nature, microservices architecture presents unique security challenges that must be addressed to ensure the integrity, confidentiality, and availability of the system.In this article, we will discuss some best practices for implementing security in microservices architecture.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/04/how-to-implement-security-in.html
8 554
Третий выпуск шоу о качественном коде «Паттерны и практики написания кода» уже на канале Avito Tech
На этот раз Бэкендер Юрий Афанасьев объясняет, чем рефакторинг отличается от оптимизации и в каких случаях от второй нужно отказаться.
Смотрите лекции Юры и совершенствуйте свой код: https://tprg.ru/6jOw
Реклама ООО «Авито Тех» LjN8JwJsv
8 554
OpenJDK proposals would bolster Java integrity, encryption
Read: https://www.infoworld.com/article/3694549/openjdk-proposals-would-bolster-java-integrity-encryption.html#tk.rss_java
8 554
Advantages and Disadvantages of Abstraction in Java
Read: https://www.thejavaprogrammer.com/advantages-and-disadvantages-of-abstraction-in-java/
8 554
Java News Roundup: New OpenJDK JEPs, Payara Platform, Spring and Tomcat Updates, WildFly 28
This week's Java roundup for April 17th, 2023 features news from OpenJDK, JDK 21, JMC 8.3.1, BellSoft, Spring Boot, Spring Security, Spring Session, Spring Authorization Server, Spring Integration, Spring for GraphQL and Spring Shell, WildFly 28, Payara Platform, Open Liberty 23.0.0.4-beta, Micronaut 3.9, Apache Tomcat updates, Ktor 2.3, JHipster Lite 0.32, JBang 0.106.3 and Gradle 8.1.1.
By Michael Redlich
Read: https://www.infoq.com/news/2023/04/java-news-roundup-apr17-2023/
8 554
Бесплатный тематический онлайн-интенсив по Java
Java — один из самых популярных языков программирования. Специалисты, работающие с этим языком, востребованы на рынке. Если хотите к ним присоединиться, участвуйте в бесплатном интенсиве.
Никакой скучной теории — только самый интересный материал и мощная практика. За 3 дня вы примерите на себя профессию Java-разработчика и поймёте, в каком направлении двигаться дальше.
Он пройдёт с 27 по 29 апреля в 15:00 по московскому времени.
Узнайте подробности и регистрируйтесь тут: https://epic.st/PT2-R
Сразу после регистрации вы получите гайд по профессии Java-разработчика. Из него вы узнаете, сложно ли изучить Java, сколько зарабатывают специалисты и как начать карьеру в этой сфере.
А ещё вас ждут подарки. Участвуйте, задавайте вопросы и получите сертификат на скидку 10 000 рублей на любой курс Skillbox.
Узнайте подробности и регистрируйтесь тут: https://epic.st/PT2-R
Реклама ООО «Скилбокс»
8 554
What is try with resource in Java? Example tutorial
In Java we normally use resources like file, network connection, socket connection, database connection etc ,dealing with resources is not a difficult task but what if after using the resources programmers forget to close the resources. As we know in Java everything is Object so if we forget to close or shut down the resource its responsibility of GC that will recollect it when its no longer used but we can reduce resource exhaustion by explicitly closing the resources as soon we done with our job with the resources. Some resources like database connection are very precious and would surely run out of resources if waited for finalization. Many database servers only accept a certain number of connections so if forget to close properly will create problem.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/12/how-to-use-try-with-resource-in-java.html
8 554
How to get the first and last item in an array in Java? Example Tutorial
Firstly, before going about finding the first and the last item of an array in java. We need to fully understand what an array is and how it works. What then is an Array? An array is a data structure in java that holds values of the same type with its length specified right from creation time. Think of a container, like a crate of eggs or coke. What I am trying to say is that when you are creating your array, the items coming in must be the same as you have specified as length and you must specify how many items are coming. If you have stated that the items coming are integers, so it is and no other data type (e.g string, char e.t.c) can be there and vice versa. Or you can say an array is a collection of similar type of elements which has contiguous memory location.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/12/how-to-get-first-and-last-item-in-array.html
8 554
How to use Deque Data Structure in Java? Example Tutorial
Hello friends, I am really glad to see you all again here. And I know you are
here to learn new and valuable Java concepts and continue your journey on
Java. Today we are gonna learn something that is really important
logically. yes! you heard right, we are going to learn about Deque data structure in Javaand how to use Deque in the Java program.
Deque is a special data structure, a double-ended queue that allows you to
process elements at both ends, I mean you can add and remove objects from both
front and rear end. It's a short form of Double-Ended Queue and pronounced as
"Deck".
Java Interview questions and tutorials
Read: http://www.java67.com/2021/11/how-to-use-deque-in-java-example.html
8 554
Difference between array and Hashtable or HashMap in Java
A couple of days back someone asked me about the difference between an array and a hashtable, though this is a generic data structure and programming question, I'll answer it from both a general programming perspective as well on Java perspective where Hashtable is not just a data structure but also a class from Java Collection API. Even though both array and hashtable data structure are intended for fast search i.e. constant time search operation also known as O(1) search, the fundamental difference between them is that array require an index while hash table requires a key which could be another object.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/08/difference-between-array-and-hashtable.html
8 554
Anonymous Class to Lambda Expression in Java 8? Example Tutorial
Hello guys, you may be thinking why I am talking about Anonymous classnow when many Java programmers have already switched to Java 8 and many have already moved on from Anonymous class to Lambda expression in? Well, I am doing it because I am seeing many Java programmers who find it difficult to write and read code using lambda expression in new Java 8 way. It's also my own experience that if you know the problem first, you can better understand the solution (lambda expression). Some of you might remember, the opening scene of MI 2 (Mission Impossible 2), when Nekhorovich says to Dimitri that "Every search for a hero must begin with something that every hero requires, a villain. Therefore, in our search for a hero, Belairiform, we created the monster, Chimera".
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/3-examples-of-anonymous-class-to-lambda.html
8 554
Top 20 YAML Interview Questions Answer for Developers and DevOps Engineers
Hello guys, if you don't know YAML stands for Yet Another Markup Language and its one of the popular language for defining system rules. YAML is used in Spring Integration and most popularly in Ansible for defining Ansible playbook which you can use to install or uninstall application and do other stuff. Because of that reasons YAML has become quite popular and you may be asked about basic questions in YAML if you are going for a Developer or DevOps Interview where YAML skills are required. At the very minimum you should know how to read YAML and how to write YAML, particular declaring list and key-value pair in YAML. It's not a big topic but knowing basic really help during interview.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/09/top-20-yaml-interview-questions-answer.html
8 554
Java FileReader + BufferedReader Example
There are multiple ways to read a file in Java e.g. you can use a Scanner as we have seen in the last example, or you can use the BufferedReaderclass. The advantage of using a BufferedReader to read a text file is speed. It allows faster reading because of internal buffering provided by BufferedReader. Other Reader classes like FileReader access the file or disk every time you call the read() method but BufferedReader keeps 8KB worth of data in its internal buffer which you can read it without accessing the file multiple times. It's loaded when you access the file the first time for a subsequent read.
Java Interview questions and tutorials
Read: http://www.java67.com/2016/08/BufferedReader-Example-how-to-read-text-file-in-java.html
8 554
10 Examples of print(), println() and prinf() methods In Java - PrintStream
Hello guys, if you are working in Java or just started with Java then you have must come across statements like System.out.println("Hello world") to print something on console or command prompt. This is actually the first statement I wrote in Java when I started programming and at that time I didn't realize how it work and what is System and PrintStream class and what is out here but now I know and I am going to explain all this to you in this article, along with PrintStream class and its various print methods like print(), println() and particularly printf() to print various objects in Java. But, Before we get to the 10 examples of Printstream printf() in Java,
let me tell you a little bit more about what exactly Printstream is.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/11/10-examples-of-printstream-print.html
8 554
Top 20 Artificial Intelligence Interview Questions and Answers
Hello guys, if you are preparing for AI developer interview and looking for AI Interview questions and answers then you have come to the right place. Earlier, I have shared Python Interview Questions and Machine Learning Interview Questions and in this article, I am going to share 20 common Artificial Intelligence Interview Questions with answers for 1 to 2 years experienced professionals. If you have worked in the field of AI then you most likely know the answers of all of these questions but if you cannot answer then you can always check these best AI Courses to learn and improve your AI fundamental concepts.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/ai-interview-questions-with-answers.html
8 554
Top 20 Bootstrap Interview Questions Answers for Web Designers and Developers
Hello guys, if you are preparing for web design and development interview and looking for Bootstrap interview questions then you have come to the right place. Bootstrap is one of the most popular CSS Framework and almost all websites uses Bootstrap for their classy look and feel and bigger buttons and form elements. Earlier, I have shared HTML 5 Interview Questions and best online courses to learn HTML, CSS and Bootstrap courses and today, I am going to share bootstrap interview questions with answers. Here
is a chance for you to make sure that you go into that Bootstrap
interview with your head up high. Being ready for that interview is the
major step that you can make as you seek to impress the interview panel
on the interview day.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/06/top-20-bootstrap-interview-questions.html
8 554
Chain of Responsibility Pattern in Java? Example Tutorial
Hello guys, if you have been doing Java development then you must have come across design pattern, tried and tested solution of common software problem. In the past, we have looked at several popular Object Oriented Design Patterns in Java like Adapter, Decorator, State, Strategy, Template, Composite, Command, Observer, Factory, Builder, Visitor etc, and today I am going to talk about Chain of Responsibility design pattern in Java. The Chained or Chain of Responsibility Pattern is a design pattern that allows a request to be passed along a chain of objects until it is handled by one of the objects in the chain. This pattern is helpful for situations where it is not known in advance which object in the chain should handle the request, or where the request needs to be handled by multiple objects in the chain.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/chain-of-responsibility-pattern-in-java.html
8 554
3 ways to convert String to JSON object in Java? Examples
It's very common nowadays to receive JSON String from a Java web service instead of XML, but unfortunately, JDK doesn't yet support conversion between JSON String to JSON object. Keeping JSON as String always is not a good option because you cannot operate on it easily, you need to convert it into a JSON object before you do anything else e.g. retrieve any field or set different values. Fortunately, there are many open-source libraries which allows you to create JSON object from JSON formatted String like Gson from Google, Jackson, and json-simple. In this tutorial, you will learn how to use these 3 main libraries to do this conversion with step-by-step examples.
Java Interview questions and tutorials
Read: http://www.java67.com/2016/10/3-ways-to-convert-string-to-json-object-in-java.html
8 554
Алгоритм оценки математического выражения с использованием JavaFX
Как обрабатывать подобные выражения с помощью кода и графического интерфейса?
Фанатам Тьюринга точно будет интересно)
Читать: https://habr.com/ru/articles/731244/?utm_campaign=731244
Вже доступно! Дослідження Telegram за 2025 — головні інсайти року 
