Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi 3 Projects for Java Programmers

You're reading from  Raspberry Pi 3 Projects for Java Programmers

Product type Book
Published in May 2017
Publisher Packt
ISBN-13 9781786462121
Pages 286 pages
Edition 1st Edition
Languages
Authors (3):
Rajdeep Chandra Rajdeep Chandra
John Sirach John Sirach
Profile icon John Sirach
Pradeeka Seneviratne Pradeeka Seneviratne
Profile icon Pradeeka Seneviratne
View More author details

Table of Contents (8) Chapters

Preface Setting up Your Raspberry Pi Automatic Light Switch Using Presence Detection A Social and Personal Digital Photo Frame Integrating a Real-Time IoT Dashboard Wireless Controlled Robot Building a Multipurpose IoT Controller Security Camera with Face Recognition

Writing your first Java web application

The servlet you will be writing to control the Raspberry Pi's GPIO pin through the internet or any local area network requires a series of configurations to build and test in the Windows environment. Then you will deploy the project to the Raspberry Pi manually and run it on the Jetty server.

Creating a Maven project from Archetype

  1. Open the NetBeans IDE and from the menu bar, click on File | New Project. The New Project wizard will appear.
  2. In Choose Project (step 1), select Maven under Categoriesand Project from Archetype under Projects,as shown in Figure 6-4.
  3. Then, click the Next button to proceed:
Figure 6-4: Choose project
  1. In Maven Archetype (step 2), select maven-archetype-webapp under Known Archetypes, as shown...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}