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.
Read the full articleSuprisingly 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.
Read the full articleJCA 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.
Read the full articleApache 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.
Read the full articleToday 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).
Read the full articleThis 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.
Read the full articleToday 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.
Read the full articleMy way to reflect permission system implemented on database/ORM level in full text indexing system based on Lucene.
Read the full articleNice dark syntax coloring scheme for Jetbrains IDEA.
Read the full articleToday my target was to implement various connections for POP3/SMTP email accounts. incuding:
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.
Read the full article