blog.tsaplin.com
Pure Java way to publish annotated POJO through JMX – Coding Recklessly
http://blog.tsaplin.com/pure-java-way-to-publish-annotated-pojo-through-jmx
Pure Java way to publish annotated POJO through JMX. September 1, 2014. May 17, 2016. When it comes to JMX, the technology seems to be useful in some monitoring use cases, but apparently, it has almost nothing to do with developed functionality. So we often just want everything to work right out of the box, without considerable effort and ugly code. No problem, then. There are several open-source projects out there which allow to publish Java objects using annotations. Leave a Comment Cancel reply. Why J...
blog.tsaplin.com
Packaging of Java applications for Mac OS X with Maven on Linux or Windows – Coding Recklessly
http://blog.tsaplin.com/packaging-of-java-applications-for-mac-os-x-with-maven-on-linux-or-windows
Packaging of Java applications for Mac OS X with Maven on Linux or Windows. December 14, 2014. December 15, 2014. Apple uses application bundles for packaging applications. An application bundle is simply “a directory that allows related resources such as an application’s executable and its graphics to be grouped together, appearing as a single file to the user.”. There are a couple of maven plugins which attempt to help creating application bundles. One of them is osxappbundle-maven-plugin. Detailed inf...
blog.tsaplin.com
Pinning Eclipse to the Unity Launcher on Ubuntu – Coding Recklessly
http://blog.tsaplin.com/pinning-eclipse-to-unity-launcher-on-ubuntu
Pinning Eclipse to the Unity Launcher on Ubuntu. August 10, 2014. July 13, 2015. The Eclipse distribution which you can install using Ubuntu’s Software Center is usually quite old. So you just download the latest version from the official web site. Everything is fine except the fact that now you have no way to pin the application to the Unity Launcher. I usually follow the instructions below to work round this limitation. Sudo tar xvfz eclipse-standard-luna-R-linux-gtk-x86 64.tar.gz. In the context menu:.
blog.tsaplin.com
Why Java’s Runnable doesn’t let us throw exceptions but Callable does? – Coding Recklessly
http://blog.tsaplin.com/java-runnable-throws-exceptions
Why Java’s Runnable doesn’t let us throw exceptions but Callable does? December 7, 2014. December 15, 2014. Recently coming across the subject I remembered that already questioned it in the past. While this seems obvious at first glance there is still something to clarify. Why then Callable has throws declaration? Hey, I am Vitaly Tsaplin and this is my blog. I live in Basel (Switzerland) and I am employed by the Genedata AG as a Software Engineer. Pure Java way to publish annotated POJO through JMX.
blog.tsaplin.com
Using lambdas causes strange “variable X might not have been initialized” error – Coding Recklessly
http://blog.tsaplin.com/using-lambdas-cause-variable-not-initialized-error
Using lambdas causes strange “variable X might not have been initialized” error. December 14, 2014. December 14, 2014. Unlike code appearing in anonymous class declarations, the meaning of names and the this and super keywords appearing in a lambda body, along with the accessibility of referenced declarations, are the same as in the surrounding context (except that lambda parameters introduce new names). Would you expect that? Packaging of Java applications for Mac OS X with Maven on Linux or Windows.
blog.tsaplin.com
Software development on steroids: free web-based tools for better productivity – Coding Recklessly
http://blog.tsaplin.com/software-development-on-steroids
Software development on steroids: free web-based tools for better productivity. August 18, 2014. July 13, 2016. Whoever you are, an independent developer, freelancer or a team, your daily activities go far beyond just writing the code. You have plenty of issues in your backlog, a lot of code to test, a bunch of code repositories to manage and lots of binary dependencies to store somewhere (probably not in the code repository). Project URL: http:/ www.redmine.org/. GitLab offers git repository management,...
blog.tsaplin.com
Java version comparison – Coding Recklessly
http://blog.tsaplin.com/java-version-comparison
August 28, 2014. August 29, 2014. I recently was given a task to allow only certain versions of Java to run an application. So, for example, we could say that our app requires Java 7 and won’t probably work with new upcoming Java 9 releases (to be on the safe side). We could also define some specific versions of Java which have known issues or bugs. Then we could show a warning message or even quit an application. The format should be numeric and in lower case. Boolean operators (&, ,! JavaVersionMatcher...