Sun, Jul 27, 2014
Here I’d like to describe another interesting case I’ve been struggling with for recent few days. This involves the following use case: enable asynchronous events support for Tomcat/Spring multi-tenancy SaaS application, that can be pushed to listening client groups. To be specific, the event should be channeled to following groups: to specific user, to all users of specific tenant and to all users.
Fri, May 9, 2014
Suprisingly for me the controller state in AngularJS is not preserved between the controller invocations. I at least expected an option to switch it on and off on demand. For the classic application it was difficult to achieve that we may restore the state for a given view (eg. to be on the same page as we were leaving the view), what sounds great for me from the application usability point of view.
Thu, Oct 24, 2013
JCA can be really tricky to perform simple, common tasks. After latest usage of java cryptography I’d like to present below the simplest usage of cryptography methods, involving mainly symmetric (AES) and asymmetric (RSA/DSA) encryption plus some helper methods.
Fri, Oct 18, 2013
Apache Tika has a wonderful feature, that can transform source document (PDF, MSOffice, Open Office etc.) into HTML during content extraction, what can be used for example to make document preview directly on webpage without involving any third-party components. Sound pretty simple, but I’ve dug through a lot of google search results and I can’t find a simple working example anywhere.
Wed, Oct 16, 2013
Today I was playing a little about Play Framework. This is very nice lightweight application framework for Java and Scala. I was trying to make an app and deploy to Heroku, which is a PaaS platform where you can host you Play applications for free (with some limitations of course).
Mon, Oct 7, 2013
This article describes some complementation for Open Session In View pattern for Java/Spring. But first I want to show just my point of view about the pattern itself. Many people consider this as an anti-pattern and tell that it never should be used. I think exactly opposite, and here are some explanations.
Fri, Sep 20, 2013
Today I needed to perform some small task regarding country detection by Accepted-Language header in PHP. It quickly turned out that there’s no (or I cannot find) the reliable source for such mapping. Finally I’ve found it here.
Thu, Feb 28, 2013
My way to reflect permission system implemented on database/ORM level in full text indexing system based on
Thu, Oct 11, 2012
Nice dark syntax coloring scheme for Jetbrains IDEA.
Wed, Aug 22, 2012
Today my target was to implement various connections for POP3/SMTP email accounts. incuding:
- plain connection with no encryption
The key requirement here was to have it without java keystore file configured for storing and accepting server certificates. This should work transparently for the user.