Chapter 5. Polyglot Development and Modules

Our application is fully functional and people can use it for collaborative mind mapping. However, there is one crucial feature that we're missing: there is no way to get a finished mind map out of the application. It would be useful to have a capability to save mind maps as images, so that they could be sent over e-mail, printed, or uploaded to the websites. This is what we will implement in this chapter.

We will build a service that receives the SVG representation of the mind map that we created in the previous chapter and returns a PNG image of that mind map. We will use the Apache Batik library to do the heavy lifting of SVG generation. Along the way, we will see how Java libraries can be used in ...

Get Real-time Web Application Development using Vert.x 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.