I noticed that DataLogic (or is it MarkLogic?) and SqlServer 2005 both support xquery for RDBMS access and (seem to; haven't tried this myself yet) offer xquery inside JSP/ASP. That leads me to wonder whether java code could disappear from the presentation layer. I.e. JSP/ASP would only contain html plus xquery code that accesses the DBMS directly, without the usual model and controller layers. The app I have in mind doesn't need/use a business rules layer so I've not worried about that.
Has anyone tried this? (BTW I know xquery needs java to work; I'm more thinking of reducing the number of languages programmers need to learn to get a web app on the air).