About Oleg Varaksin
List/Grid Author Archives Subscribe to the RSS feed of Oleg Varaksin

JSF: choice between legacy components and fashionable performance killers
This blog post was originated due to performance issues in one big web application. Everybody optimizes Java code, but it seems nobody try to optimize the JavaScript code. Strange, ...

Passing complex objects in URL parameters
Imagine you would like to pass primitive data types, complex Java objects like java.util.Data, java.lang.List, generic classes, arrays and everything what you want via URL parameters ...

JSF – Eager CDI beans
Everybody knows eager managed beans in JSF 2. @ManagedBean has an eager attribute. If eager=’true’ and the scope is application, then this bean must be created when the ...

GET / POST with RESTful Client API
There are many stuff in the internet how to work with RESTful Client API. These are basics. But even though the subject seems to be trivial, there are hurdles, especially for beginners. In ...

Configure timeout for CDI conversations
CDI conversation scope is a nice feature when developing JSF applications. Imagine you have large data tables which take a long time to be loaded. You normally don’t want to place ...

JSF Event-based communication: New-school approach
In the last post, we learnt event-based communication on basis of Observer / Event Listener and Mediator ...

JSF Event-based communication: Old-school approach
Web applications written in JSF consist of beans which interact among each other. Communication between beans is one of the main design patterns when developing a web application. ...

Dynamic forms, JSF world was long waiting for
The new PrimeFaces Extensions release 0.5.0 brought a new DynaForm component. Normally, we can build a form quite straightforward by ...

Custom JSF validator for required fields
JSF components implementing EditableValueHolder interface have two attributes ‘ required’ and ‘ requiredMessage’ ...

High Performance Webapps – Data URIs
I continue to write tips for perfomance optimization of websites. The last post was about jQuery objects. This post is about data URIs. Data URIs are an interesting concept on the ...



