Wednesday, April 18, 2012

Creating HTML pages from POJO data

If the task is to produce HTML document from some POJO bean, what is the simplest approach one can follow to get is done? Document is no more complicated then series of tables with headers and some merged elements here and there.



Solution we have today works, but is (concern) very highly coupled with the code engine that produces the bean and I'd like to either rewrite it or use an existing solution.



(concern) The main goal is too not worry about tags, html values, table structure etc and to keep these things as much out of .java as possible.



If at all possible, do provide examples. Thank you.





No comments:

Post a Comment