In a majority number of cases the Java-Persistence API (JPA) to create/load/update entities cover all your needs. But sometimes you need to do something special inside the DB with help of stored-procedures. The good thing about JPA is that you…
In a majority number of cases the Java-Persistence API (JPA) to create/load/update entities cover all your needs. But sometimes you need to do something special inside the DB with help of stored-procedures. The good thing about JPA is that you…
TinyMCE is on it’s way to release new major update to 4.0. You may want to see a demo for a quick highlights of updates. Well, I just realized that I’m writing this post in TinyMCE 3.5.8. 4.0 it is…
Manage server throughput for large downloads Initially I want to explore the solutions to implement Servlet/OutputStream with limited throughput in order to limit single download to some bandwidth. It looks to be a perfect article which describe the way to…
In one of the previous post I show an example of how a4j-push and a4j-poll were used together. It help to solve several things and optimize code/requests a bit. But in reality it was not “real” push – it just…
It will be not easy to read and understand this article, so please remember that you always have a choice to not read it 🙂 So,.. in our app we have few background processes on the page which are periodically…
It happens that you want something to be re-rendered only if ajax-request is executed without errors. Or in other words – you want to be lazy if it possible and not perform “reRender” if you could. Just like that funny…
I find that this article (10 Eclipse Navigation Shortcuts…) is great and will save you a lot of time in development/coding if you are programming in Eclipse. I personally prefer Intellij Idea for java development, but in case of Android…
Task: Update the content of the page if the content is changed on server-side, in other words – show the most-fleshiest content to the user. The most simple solution that comes to mind is to use <a4j:poll/> component which will periodically…
I got a question about the jXLS performance, in short it was like “jXLS is a kind of slow for my big reports”. I mentioned that in my previous post (Creating Excel reports from java is easy) It’s true, especially…
It’s quite generic problem – to disable automatic form submit on ENTER, to avoid occasional submits which could lead either to page refresh or even to redirecting to another page. The general idea is to define onkeypressed event handler for…