ntruchsess's blog
JPA and enum - how to map enums to values that contain characters that are illegal in java type identifiers
in JPA it is possible to map String-data to enumerated values. But you are limited to Strings that are legal to be used in enum-types. E.g. using '-' or plain numbers will not work. An enum using such characters will not compile:
where is the Tree in java.util.Collections?
I allways wandered why there's no generic api defined for trees under the umbrella of java.util.Collections api. And every time I needet to handle tree-structured data I ended up writing quite the same code with slight modifications once again.
announcing jMakiEventListener
As a new feature targeted to version 1.1 jMaki now integrates smoothly with dynafaces to forward messages from jMakis publish/subscribe bus to the server and back.
JSF 1.2: why you cannot store references to UIComponents in Component State
I just spend two days writing a bunch of base-classes for JSF component-collaboration that do the lookup of related components in the tag-handler allowing you to access the other UIComponents independent from the component-tree structure easily. Just like a logical structure in parallel to the component tree for each compound-component.
separating Markup from Component hirarchy in JSF
All JSP, facelets and JSFTemplating make use of xml (or xml-like) syntax to define a view in JSF.
going asynchonous with JSF?
The main idea behind jsf is to have a layer of abstraction in the description and the handling of user-interface-components. The components in the component-tree itself are (conceptually) independent of their visual representation on a particular human interface device.
In reall life this fails shortly - shure you can write additional renderkits and render wml or pdf instead of html.
unifying jMaki's widget-to-widget and widget-to-Server communication
the jMaki widget model allows for two ways of communication: there is in-page communication from one widget to others on the same page and communication in between a widget and the server
the first case of inter-widget-communication makes use of a high level of abstraction by using a publish/subscribe-mechanism to 'topics' and decriptive wireing called '





