To Polyglot Or Not To Polyglot?
To Polyglot Or Not To Polyglot?
Join the DZone community and get the full member experience.
Join For FreeDownload Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

I do quite a lot of Swing-based application programming with a remote backend. On the other hand there are a lot of projects using Java on the server side and HTML, JavaScript on the client. When I compare debugging possibilities for both cases I see a very big advantage of the usage of the same language on the client and server. E.g. debugging of Swing application which calls some remote Java method I can do quite easily because:
1. I can do step-by step debugging from client code to server code and back in a single debugging session (server must be executed in the same process)
2. I can use only one IDE for debugging instead of bunch (Firebug, Eclipse or whatever)
3. Mapping between variables is transparent because I have Java at both sides! I don't have to think which Java type is mapped to which in JSON or in some Webservice
Personally I didn't work with Groovy + Scala + Whatever +Java mix programs but I suppose that similar problems with debugging could appear.
Your opinions, use cases guys?
(I didn't posted it as a comment to Andreas's post because I'd like to stress attention on use cases.)
Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}
{{ parent.urlSource.name }}