I'm a fan of the web and I admire how powerful the browser has become. Since I'm almost always in a browser (even to type this blog) I would certainly love to see even more useful apps, like, perhaps, an online IDE. So, although I work with desktop apps I like this cloud and web app kool-aid a whole lot.
One of the advantages I see in web apps is how transparent they are. It's all text, with code in an easy scriptable language. It's easy to inspect and change. Easy to deploy.
But I don't work with web apps. I work with large desktop Swing applications, usually on top of the NetBeans Platform.
I routinely debug these Swing apps with the debugger, VisualVM, BTrace and simple apps or unit-tests that reproduce the issue.
And it occurred to me after a debugging session to me that Swing apps are quite transparent too! The fact that Java code is compiled is just a decoy. As a developer you have access to the source code anyhow but, even as an user, you have about the same freedoms as you have with a web app.
Just as I could look into the DOM hierarchy in the browser, I have the Swing hierarchy of components.
Although existing code is compiled, I could make a small BTrace script to see its execution and inspect parameters and values.
Without having to recompile, I can easily use reflection to look into private data and even tweak it.
So, although Swing would seem pure binary, there is nothing you don't have access to. It's an open book!
As part of the Apache NetBeans IP clearance we are combing through all the code and dependencies. One interesting thing we bumped into wa...
Note : This article is a living document and will be updated as I learn new useful information (last update 31st December 2016). I will mov...
(This article is on google docs too). Introduction I'll present here how to use Maven projects with NetBeans IDE via the MevenIDE pr...
I have used quite successfully a Raspberry Pi 2 running NetBSD 7 as a customer proxy and I assumed 7.0.2 would run on a Raspberry Pi 3. A...