![Getting started with Java on the Raspberry Pi](/uploads/posts/2021-11/1636222713_3141_g_tting_start_d_with__ava_on_th__raspb_rry_pi.jpg)
Автор: Frank Delporte
Издательство: Leanpub
Год: 2020-05-05
Страниц: 357
Язык: английский
Формат: pdf (true)
Размер: 80.9 MB
Get started with the latest versions of Java, JavaFX, Pi4J, Spring and so much more. Learn the power (and fun!) of experimenting with electronics. All explained in many small and easy to understand examples.
Controlling physical things with some lines of code can seem like magic! Getting Started with Java on the Raspberry Pi provides a thorough introduction to Java as well as instructions for installing it on the Raspberry Pi. You also receive many tips and tricks for improving your skills as a developer.
And, above all, the book provides easy-to-understand examples on a wide variety of topics:
The magic of bits and bytes and solving the confusion of Java signed values with the help of an LED number display.
Beautiful user interfaces made with JavaFX so you can interact with the hardware.
Pi4J applications to be able to control different types of hardware like LEDs, buttons, displays, LED strips, relays boards and more.
Spring applications so you can interact with your RPi via web interfaces.
How to set up a queue so you can send and receive messages to and from Arduino boards or other RPis.
And a lot of other inspirational ideas and starter examples that will help you to build your dream do-it-yourself project. If you are new to Java, you will learn the language bit by bit by following the examples.
When I first managed to blink an LED connected to a Raspberry Pi with Java, I was super excited! Controlling physical things with some lines of code is magic! This book includes a lot of info and history about Java itself and how to install it on the Raspberry Pi. Also, a lot of tips and tricks to become or be a better developer.
My goal was to collect all the information I which would have been bundled at the time I started my own experiments with Java on the Raspberry Pi. If you are new to Java, you will learn the language bit by bit by following the examples. As an experienced Java programmer, you will learn how you can extend your knowledge and control the world around you with simple and inexpensive components.
This is not a book to learn every aspect of the Java language. There are already a lot of those written by way better programmers than me, so please check your bookstore or an online course if you want to get a real deep knowledge of the Java programming language. My goal was to bundle a lot of sample code and information, I collected while learning and experimenting, and to get anyone interested in Java to take a quick start by using the examples to set up their own experiments. By following these examples, you will also learn the language bit by bit.
Over the last couple of years, I focused on Java in my professional job. But on the other hand, I also got involved in CoderDojo (coding club for children) where I first was able to make a blinking LED with some simple code on Arduino and a Pi. If I see how kids learn to work with electronics and programming at CoderDojo, I’m jealous those things didn’t exist when I was a kid. Yes, I managed to control a relay-board with my Commodore 64 but it took me years to collect all needed knowledge and components to reach that goal. Now thanks to online shopping and knowledge sharing that same result can be achieved in days or hours… As a professional Java-developer with a love for open-source, I set myself as a personal goal for 2019 to run a recent Java version (Java 11 or newer) on the Pi, with a JavaFX user interface, and control an LED with it.
If you are an experienced Java programmer, you can extend your knowledge and learn to control the world around you with simple and inexpensive components.
Oh, and this is not an anti-Python or anti-C book! Java is the language I love and use the most, but for every problem you need to select the best solution. And in some cases, this could be Java or something else…
Скачать Getting started with Java on the Raspberry Pi
![](/templates/Mirlib/images/MirLib.png)
[related-news] [/related-news]
Комментарии 0
Комментариев пока нет. Стань первым!