Чашечка Java
前往频道在 Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
显示更多8 551
订阅者
+524 小时
-87 天
-2730 天
帖子存档
8 551
Компиляторы против компиляторов
Давно хотел познакомиться с Rust. Язык с экосистемой сборки из коробки, компилятор в машинный код, но самое главное — автоматическое управление памятью, но без сборщика мусора. С учетом того, что управление памятью обещается как zero-cost в runtime — просто сказка! По по ходу изучения и возник вопрос – а насколько код Rust быстрее/медленнее компилятора в машинный код давно известного, например, Delphi?
Посмотреть на финалистов
Читать: https://habr.com/ru/post/678628/?utm_campaign=678628
8 551
Top Java Blogs Weekly: Best of 31/2022
Best of Top Java Blogs, year 2022, week 31
Read: https://www.topjavablogs.com/news/best-of-31-2022
8 551
Difference between Proxy and Decorator Pattern in Java
Though both Proxy and Decorator pattern looks very similar to each other structurally, there are some key differences between them. The main difference between Decorator and Proxy patterns comes from their Intent. Proxy word has a long-standing meaning and in software world also a Proxy class stands for its implementation class, which presents lots of options to the programmer, resulting in different kinds of proxy objects e.g. remote proxy, virtual proxy, and protection proxy. On the other hand, Decorator design pattern is used to add new functionality into an existing object without modifying its class. As we have seen in the previous example how you can use Decorator to add ingredients into Pizza or BufferedReader which adds buffering functionality into Reader class.
Java Interview questions and tutorials
Read: http://www.java67.com/2017/12/difference-between-proxy-and-decorator.html
8 551
Java — один из самых популярных языков программирования. Он универсален и выступает основой всех типов сетевых приложений.
Специалисты, работающие с этим языком, востребованы на рынке. Если хотите к ним присоединиться, участвуйте в бесплатном тематическом онлайн-интенсиве.
Узнайте подробности: https://clc.to/OwjbOA
Сразу после регистрации отправим вам на почту чек-лист по знаниям и навыкам, которые необходимы backend-разработчику для трудоустройства.
Никакой скучной теории — только самый интересный материал и мощная практика. За 3 дня вы примерите на себя профессию Java-разработчика и поймёте, в каком направлении двигаться дальше.
Спикером выступит директор центра подбора IT-специалистов SymbioWay Даниил Пилипенко.
Всех ждут подарки. Участвуйте, задавайте вопросы и получите сертификат на 10 000 рублей на любой курс Skillbox!
Присоединяйтесь к онлайн-интенсиву с 28 по 30 июля в 19:00 по московскому времени.
Это #партнёрский пост
8 551
10 Examples Of du Command in Linux
Here, we shall be looking at another command in Linux. The” du” command. Before giving the examples you can use with it I will be explaining the du itself, What is being used for and When to use it, and How to use it
So Firstly, What is DU or What does the command mean?<o:p
The full meaning of du is Disk usage. This helps in planning and maintaining the file’s space. The command is used to keep track of any files or directories that are taking up too many spaces in the hard disk drive. Now we shall be taking the examples one after the other.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/10-examples-of-du-command-in-linux.html
8 551
Java-разработчики, новость для вас: скоро состоится онлайн-чемпионат с призовым фондом 740 000 рублей
В августе на платформе All Cups пройдёт онлайн-чемпионат IT_One Cup.Java. Приглашают разработчиков уровня Middle и Senior.
В нём вы проверите себя в интересных задачах по реализации сервиса, соответствующего определённому API и способного пройти все проверки тестирования. Вас ждут два этапа — квалификационный раунд и финал.
Призовой фонд:
Топ-5 - денежные призы;
Топ-20 - мерч чемпионата.
А еще у сильнейших будет шанс получить оффер в крутую компанию.
Когда: с 5 по 20 августа
Регистрируйтесь до 10 августа: https://vk.cc/cfb6tv
#ивент
8 551
Коллекции в Kotlin: знакомство и основные функции
Зачем нужны коллекции в Kotlin — List, Set и Map — и как они работают. Как создать редактируемые классы MutableList, MutableSet и MutableMap.
Читать: «Коллекции в Kotlin: знакомство и основные функции»
8 551
3 Examples of for loop in Linux and Bash Script [Tutorial]
Hello guys, if you want to learn how to use for loop in bash or Linux then you have come to the right place. Earlier, I have shared free Linux coursesand free bash scripting courses, and today, I am going to share three simple examples of using for loop in Linux. If you are a Programmer, Software Engineer, or System Administrator working in a UNIX or Linux environment, then you will probably find the shell 'for' loop to be a handy tool for automating simple command-line tasks. This is the single command which has helped me a lot while doing production support and performing operational tasks.
Java Interview questions and tutorials
Read: http://www.java67.com/2021/04/for-loop-example-bash-linux-tutorial.html
8 551
10 ways to Quit/Exit from Vim Editor in Linux/UNIX? Examples
Hello guys, if you are stuck inside VIM editor and looking for a way to come out then you have come to the right place. In the past, I have shared the free Linux coursesand today, I am going to talk about Vim or VI editor, one of the most important tools for people working in Linux. You might not know but many developers struggle to get out of commands like Vim and telnet. I can say that because there was a time when I spend a good amount of time coming out from the telnet window.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/03/9-ways-to-close-or-exit-vim-editor-in-Linux.html
8 551
10 Example of ps -ef command in Linux and UNIX
Hello guys, It's been a long time since I wrote about the Linux command in this blog. In my last article, I have shared free Linux courses for beginnerswhich many of you guys have liked, that's why I am writing another post on Linux, this time about the "ps" command. If you have worked on a Linux machine then you are likely to be familiar with the "ps" command. The "ps" command is used to check the process status. It stands for "process statistics" and you can use the ps command to see all the processes and find things like PID which can be used to interact with the process. For example, you can kill a process by passing PID to kill command in Linux as shown here.
Java Interview questions and tutorials
Read: http://www.java67.com/2020/03/10-ways-to-use-ps-command-in-linux.html
8 551
in human-readable format(I.e, Mb, Gb, etc), To Display the Space Storage of a particular file, To Display the type of a file system, To Print grand total space of all file usage, To Display I-nodes of the information file system, To Print the information of a file’s system space usage, To Display information of file’s system information in byte, To Display information of file’s system information in byte Megabyte (MB)<o:p
Java Interview questions and tutorials
Read: http://www.java67.com/2022/07/10-examples-of-df-command-in-linux.html
8 551
10 Examples of df Command in Linux
Hello, In Today’s article we shall be talking about the df command in Linux. The objectives of this article are: What is the df command, and what does it mean? How is it used? I shall be providing 10 different examples or scenarios for it and when to use it
What does df mean?<o:p
The meaning of df in Linux is disk-free or disk file system. Which is used to display the file system in the likes of total storage space, available storage space and etc.<o:p
Df command in Linux is a command or syntax in Linux that you doing away with it is almost impossible<o:p
You may begin to wonder or ask Why or When do You need to use it?<o:p
WHY AND WHERE TO USE IT<o:p
As the name implies, disk-free or disk file system. You use it when you need to query some information if the file system. There is a general command of df and there are options, I mean many options you could use with it depending on what you are trying to do.<o:p
1. To Display all the file system<o:p
“df -a”<o:p
The command above displays information about all the files you have in there. The option -a enables us to do that.<o:p
2. To seek For help<o:p
“df --help”<o:p
This helps us to find help when necessary. Still the same command df with another option of -help <o:p
3. To Display file size in human-readable format(I.e, Mb, Gb, etc)<o:p
“df -h”<o:p
This displays the files in a more readable format, whether Mb, Kb, or Gb. Mb as in Megabyte, Kb as in Kilobyte, Gb as in Gigabyte.<o:p
4. To Display Space Storage of a particular file. <o:p
“df -h /cren/”<o:p
This command outputs the space storage of a particular file you have specified. In our case the file that we want to check the space storage is cren. Now note that there was the option -h before it. This means that the output will be in a human-readable format.<o:p
5. To Display the type of file system. <o:p
“df -T”<o:p
There could be times whereby you need to know what type of files you have in your system. The -T options make that possible by printing the type of the file(s), you could see "Type" column that contains different types of file.
6. To Print the grand total space of all file usage<o:p
“df -h --total”<o:p
This option is used to display the grand total of disk usage of all the file system<o:p
7. To Display I-nodes of the information file system<o:p
“df -i”<o:p
By using the command above the information about the file system is going to be displayed. You are able to do that with the option -I.<o:p
8. To print the information on a file’s system space usage<o:p
There are two things to this. It is either you are printing information from a local file or the remote one. The is a general command for that, which is: “df -Thl”.<o:p
But, if you are limiting that to the local file(s) then you are going to add the option “l” to it hence why we have:<o:p
“df -Thl”<o:p
9. To Display information of file’s system information in byte<o:p
“df -k”<o:p
This command makes the file information be displayed in bytes. The option -k makes this possible. This displays the information in more than one thousand byte blocks.<o:p
10. To Display information of file’s system information in byte Megabyte (MB)<o:p
“df -m”<o:p
The output of this command is similar to what we have at number 9. The difference is just that one is in kilobytes while the other is in megabytes.
CONCLUSION:
In This article, you learned what df is and what it can be used for, Why and where it is used. There are many things you could use df with to achieve a particular thing and it is not limited to the 10 examples provided here. It was explained that you can use df to Display all the file systems, To seek For help, To Display file size[...]
8 551
Освойте Spring и переходите на новый уровень в Java-разработке
В OTUS стартовал 18-й набор на онлайн-курс «Разработчик на Spring Framework». Это уникальная авторская программа, которой уже более 5 лет. Преподаватели курса — ведущие программисты крупных международных и российских IT-компаний. Среди них: DXC Technology, Deutsche Telecom IT Solutions, Quick Resto и другие.
На живых вебинарах с экспертами вы освоите:
- Создание сложных web-приложения на микросервисной архитектуре
- Современные возможности Spring
- Быстрое прохождение пути от идеи до production-grade
- Технологии вспомогательных проектов (Spring MVC, Spring Security, Spring Boot, Spring Reactive Stack, Spring 5)
Во время обучения вы выполните выпускной проект по Spring Framework, который усилит ваше портфолио.
Пройдите тест и займите место в группе по спец.цене: https://otus.pw/00ta/
Это #партнёрский пост
8 551
Нагрузочный клиент по тестированию Кафка в Avro формате на Java
Современный Фреймворк Spring Boot позволяет писать очень многие вещи писать современным программистам в две-три строчки, просто подключив нужную зависимость, для этого нужно уметь хорошо ориентироваться в возможностях этого Фреймворка, но есть вещи, которые всё же приходится писать руками.
В событийном сегменте сегодня для разработки очень популярна Kafka и Spring Boot её поддерживает, но, если рассматривать формат сериализации сообщений Avro, ключевая особенность которого максимально возможное сжатие и отсутствие ключей в передаваемых сообщениях, а наличие только значений.
Сегодня Spring Boot поддерживает не в полной мере Avro? для корректной работы этой технологи приходится использовать конфигурирование на основе обычного Spring, не Boot. А дело вот в чём:
Читать: https://habr.com/ru/post/678144/?utm_campaign=678144
8 551
17 Linux and SQL Interview Questions for 2 to 5 Years Experienced Java Programmers
Hello guys, If you have worked as a software developer or Java programmer then you know that SQL, Linux, and Networking fundamentals are essential skills for any Java developer, especially for server-side Java programmers. It actually doesn't matter whether you are applying for the job as a Java developer or C++ developer, Python developer or Ruby programmer, SQL and UNIX always have some role to play in your career. It's even essential for people who have less to do with programming like application support guys, business analysts, project managers, and subject matter experts. Hence, it's imperative for any programmer or IT professional to prepare both SQL and UNIX well before going for any job interview.
Java Interview questions and tutorials
Read: http://www.java67.com/2017/08/top-17-sql-and-unix-interview-questions.html
8 551
Top 25 Java Error and Exception Interview Questions Answers
1) The difference between checked and Unchecked Exceptions in Java?
For checked exceptions, the compiler ensures that they are either handled using try-catch, try-finally, or try-catch-finally block or thrown away. If a method, which throws a checked exception like IOException, and doesn't handle them or doesn't declare them in the throws class of the method, a compile-time error will occur. On the other hand, the compiler doesn't do similar checks for an unchecked exception, that's why it is known as un-checked. These are also called runtime exceptions because they extend java.lang.RuntimeException.
Java Interview questions and tutorials
Read: http://www.java67.com/2019/06/top-25-java-exception-interview-questions-answers.html
8 551
How to add or view SSL certificate in Java keyStore or trustStore? keytool command examples
The keytool command in Java is a tool for managing certificates into keyStore and trustStore which is used to store certificates and requires during the SSL handshake process. By using the keytool commandyou can do many things but some of the most common operations are viewing certificates stored in the keystore, importing new certificates into the keyStore, delete any certificate from the keystore, etc. For those who are not familiar keyStore, trustStore, and SSL Setup for Java application Here is a brief overview of What is a trustStore and keyStore in Java.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/09/keytool-command-examples-java-add-view-certificate-ssl.html
8 551
10 Advanced Core Java Interview questions for Experienced Programmers
Java interview questions for Senior and Experienced programmer
Java is very big and there is no way to prepare completely for any core java interview but there is a level of the question that depends upon your experience, if you are fresher then questions asked in Java interview are mostly based on fundamentals like Iterator vs Enumeration in Java, Why main is public static and void or maybe ArrayList vs LinkedList in Java. Things changes when you apply for a senior developer, Technical lead, or Team Lead Java position, questions asked on that level are more advanced and less popular among Java circles, you may be asked questions from design pattern, questions from multi-threading, Collections, and even asked to write code, design classes and prepare JUnit tests.
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/10-advanced-core-java-interview.html
8 551
10 AWT Swing Interview Questions Answers in Java
AWT and Swing Interview Questions are part of any Java interviews which involves GUI development work. Since AWT(Abstract Windows Toolkit) and Swing offers most popular Java GUI solutions, Yes, JavaFX has still lot of path to cover in terms of popularity and usability of Swing. In Investment banking, where Java rules on server side application development, Swing was heavily used in GUI development couple of years back. Now trends is shifting towards C# for GUI development due to couple of reasons e.g. good Swing developers are not easy to be found as compared to C# developers. By the way there are still many development work is going on Swing. One of the reason Swing developers are high in demand is because Swing is quickly becoming a niche technology.
Java Interview questions and tutorials
Read: http://www.java67.com/2013/01/10-awt-swing-interview-questions-answers-java.html
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
