The idea is simple — to make a RESTful XML API available in a browser-friendly format renderable with XSL stylesheets. With ReXSL you develop your web application as a RESTful "web service" while XSL stylesheets transform it to an HTML web site. These blog posts explain it in more details: XML+XSLT in a Browser, RESTful API and a Web Site in the Same URL.
The diagram explains how components are connected to each other. It is a classic Model-view-controller (MVC) pattern, where JAXB POJOs play a role of a Model. JAX-RS resources are Controllers. Stylesheets with a powerful XSL 2.0 language are Views.
We assume that you are familiar with Java 6, Apache Maven, XML, XSL 2.0, XPath 2.0, JAX-RS 2.0, JAXB 2, Java Servlet API, REST, HATEOAS, HTTP 1.1, TDD. If any of these technologies are new for you — we strongly recommend to learn them.
- Graphic design evolves in parallel with Java classes
- Web front-end is an API at the same time
- Layout is decoupled from data
This article explains how to create a working web application using ReXSL in five minutes: Quick Start Guide. For example, s3auth.com is an open source web application that is build using ReXSL framework: see its code in github.
Post us a message in our Google Newsgroup if you're interested or just curious what is it all about. Besides that, don't hesitate to submit a ticket to Github when something doesn't work or you need more features.