For someone relatively new to the Java ecosystem, there is a pretty easy way to make frameworks like Qt and Django with your own signaling / receiver system, where components can say “I'm doing something” and other components can handle it quite loosely coupled?
I apologize in advance if this question has not passed the test of the “single objective answer”.
Edit: To add a little more context, this is related to the database-driven application tier for the web service. Certain resources, when they are saved, must also save an audit record containing additional contextual information. In Django, I would do this using a signaling mechanism or use one of several existing libraries that do just that. For the Scala program, I did my own hack thing using callback functions, but this is easier with first class functions. I have no doubt that frameworks like Swing provide opportunities for this kind of thing, but I (probably unreasonably) try to add this dependency to the fact that the application is currently quite vanilla (not that Django is not massive dependency on vanilla Python!)
source
share