Although I can't really understand the question (I mean, the real question behind the question), an alternative to GWT is JSF, which does exactly what you asked, and more.
Check out a JSF2 implementation: I recommend Primefaces (http://www.primefaces.org/showcase/ui/home.jsf).
You create your pages using a special markup (XML that contains HTML and JSF tags), and on the server side you have your supporting beans (which are annotated POJOs, by the way).
I think this is the best way to go if you have complex business logic in the background, as it integrates in the whole Java EE universe (but you can also use JSF on its own, in a simple servlet container like Tomcat).
You don't have to compile JSF pages, the Faces servlet processes them on the fly and generates the appropriate HTML + Javascript, where necessary. This makes advanced features like composite components possible (that's one reason to ditch JSPs IMHO). And the best part is that you still have full access to the low level bits, so you can do (but don't have to!) custom Javascript if you'd like to, overwrite CSS styles, and you can even develop your own tag library if you find that there's something missing from the JSF libraries you choose.