JavaFX can be used to create user interfaces for embedded systems like the Raspberry Pi and BeagleBone Black. While Java's "write once, run anywhere" mantra does not directly apply to embedded due to different requirements and constraints, much code can be reused from mobile and desktop applications by focusing on content over elaborate graphics, limiting the number of nodes in the scene graph, and avoiding memory-intensive operations. With optimization, JavaFX applications can run well on embedded devices with as few as 3-60 nodes in the scene graph.