Sort of. I already played around with a MessageBodyWriter that creates a read-only HTML representation of any POJO with no need for any templates, but its pretty darn ugly (both the HTML and the java that writes it). To close the loop we'd need to generate the FORM tags too.
--------------------------
Sent using BlackBerry
----- Original Message -----
From: Craig.McClanahan_at_Sun.COM <Craig.McClanahan_at_Sun.COM>
To: users_at_jersey.dev.java.net <users_at_jersey.dev.java.net>
Sent: Fri Nov 07 11:28:49 2008
Subject: Re: [Jersey] Web applications using XMLHttpRequest and JAX-RS REST/JSON Web Services
Robertson, Jeff wrote:
I've often wished for a web framework in which there are no HTML(ish) view templates.. The view for each model class is determined by convention with help from annotations. Is anyone trying this?
Hmm ... does JAX-RS itself count? Especially after we do a little more about form beans?
Craig