O'Reilly logo

Real-time Web Application Development using Vert.x 2.0 by Tero Parviainen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required