| | | | | | | | |
| | | | | | | | |
| Jakarta Struts 1.2.* | Java ServerFaces | Java Enterprise Turbine | | | | | |
speediness 1(god) – 5(bad) | 2 | 5 | 2 | | | | | |
easy to use | big framework | until the point you need self made components | just one XML config file to define forms - actions must be also here defined and could be extended with java classes | | | | | |
action handling | via abstract method invocation on extended Action class | via method invocation with reflection - no parameters possible | both types (abstract method and reflection(with dynamic count of parameters)) inplemented | | | | | |
defining formular parts and reusing them | no - jsp do not support this | no - jsp do not support this | yes | | | | | |
change the form definition or values on the fly | no - jsp do not support this | no - jsp do not support this | yes | | | | | |
formular initialising/resetting | yes/yes | yes/by event | yes/yes | | | | | |
formular handling | yes | yes | yes | | | | | |
validation client side | yes | no | yes | | | | | |
validation server side | yes | yes,but form based | yes | | | | | |
Error messages using localisation keys | yes | no | yes | | | | | |
Using collections/maps with localisation keys | yes | no | yes, via hashmap | | | | | |
easy to use ajax | yes – ajaxtags | yes – myfaces and ajaxanywhere | yes – ajaxtags | | | | | |
Could be used with SecurityFilter | yes | yes | yes | | | | | |
Could be used with FrontController Servlets | yes | yes | yes | | | | | |
jsp taglib support | yes | yes | yes | | | | | |
predefined components – displaying tables etc. | displaytag library | myfaces | displaytag librariy | | | | | |
support of macros – for the views | no | no | yes | | | | | |
support to split views up | jsp-includes or tiles | myfaces tiles | yes | | | | | |
fast development support by tools | yes | yes | no – but has debug modus | | | | | |
no servlet container needed to develop the views | no | no | yes | | | | | |
REST compatible | yes | no | yes - request attribute REQUEST_TYPE set to GET/DELETE/PUT/POST | | | | | |