Developing Java web applications using Vaadin
Conclusion
This small demonstration shows that it is not very complicated to run a professional web application framework on the Raspberry Pi. Admittedly, it takes some time to go through the individual steps. Likewise the first invocation of the browser could work more quickly. Still, response times on the fully initialized application are very good.
What's more, you don't necessarily have to build your application on the relatively slow Raspberry Pi CPU. It can be done instead on a desktop PC which offers better performance. When using a PC, you can then copy the WAR generated via Scp or a Windows tool such as WinSCP to the Jetty server. You can even use Maven to automate the copying process.
This article describes the basic steps for using Vaadim to develop your own applications on the Raspberry Pi. Once the you get accustomed to working with the program, it is possible to implement much larger projects. In comparison to available alternatives, the Vaadim framework offers more possibilities than for instance Drag & Drop or various charts [6]. We hope you have a lot of fun experimenting.
README
The Raspberry Pi can be used for many interesting projects and the programming tasks involved are usually not overly difficult. Using Vaadin in combination with the build management tool Maven makes for a good user interface.
Infos
- Vaadin: https://vaadin.com
- Vaadin-GUI-Demo area: http://demo.vaadin.com/sampler
- "Book of Vaadin": https://vaadin.com/book
- Raspbian: https://www.raspberrypi.org/downloads/raspbian
- PuTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty
- Comparison chart for Vaadin alternatives: https://vaadin.com/comparison
- Maven: https://maven.apache.org
- Jetty: http://www.eclipse.org/jetty
- WiringPi: http://wiringpi.com
- Pi4j: http://pi4j.com
« Previous 1 2 Next »
Buy this article as PDF
Pages: 6
(incl. VAT)