Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any good J2EE value list handler pattern implementations?

Are there any good value list handler implementations available?

I've found valuelist, but it seems to be stagnating... besides I really need good control of links the taglib generates, because I need to call some JavaScript from it.

Currently I solve it by rewriting the taglib in freemarker and using valuelist's backend.

Does anyone know a better way?

like image 839
miceuz Avatar asked Oct 15 '22 18:10

miceuz


1 Answers

Core J2EE Patterns 2nd Edition recommends implementing this pattern using a wrapper for javax.sql.RowSet. The RowSet allows for a disconnected, scrollable ResultSet. Sun provides a tutorial for the RowSet in chapter 5 of the JDBC Tutorial.

like image 171
Eric Weilnau Avatar answered Oct 18 '22 23:10

Eric Weilnau