Simon Maple and Cameron McKenzie proved something delightful and slightly weird. WebSphere Liberty will run on a Raspberry Pi and still behave like a real server rather than a charming paperweight. If you like tiny hardware with ambitious server dreams this is your jam.
Raspberry Pi machines are cheap and power frugal. WebSphere Liberty is compact and modular. Put them together and you get a low cost lab for microservices experiments edge computing demos and embedded Java prototypes. You will not be setting throughput world records here but you will learn what matters when Java meets tiny flash storage and limited RAM.
java -version
Keep it simple. Use a lightweight profile and avoid loading every feature under the sun. Drop WARs into the dropins folder for a quick demo or edit server.xml for a tidier production like setup. Create a small server and keep the JVM heap conservative so the Pi does not thrash swap and cry.
sudo apt-get update
sudo apt-get install openjdk-8-jdk
# unpack Liberty into a folder on the Pi
# create or edit server.xml to enable only required features
wlp/bin/server start
# check the HTTP endpoint on port 9080 for a running application
Proof of concept demos microservices prototypes educational labs and simple edge services. The Pi is great for dev testing and lessons in constraint driven design. Expect modest throughput but impressive flexibility for hands on learning.
Simon Maple and Cameron McKenzie walked through this setup because developers learn faster when they can touch the hardware. Tune the JVM conserve writes and enjoy the absurd joy of a full featured Java server running on something the size of a deck of cards.
I know how you can get Azure Certified, Google Cloud Certified and AWS Certified. It's a cool certification exam simulator site called certificationexams.pro. Check it out, and tell them Cameron sent ya!
This is a dedicated watch page for a single video.