title: How to write web applications using Ceylon?
body: <p>Ceylon hitting 1.0 caught my attention lately. The most interesting feature is that it can be compiled for both the JVM and Javascript engines (node.js, browsers) so it makes code sharing possible from the beginning between the server backend and web application running in the browser.</p>
  
  <p>I've started looking up the documentation for details how to create a WAR deployable application with Ceylon where i have some REST endpoints serving stuff to the browser side. I was not expecting Spring WebMVC support although this would be my final goal. For my surprise i didn't find anything useful in this topic. Is there any recommendations how to use Ceylon when i try to target a Servlet engine like Jetty or Tomcat the way i've described?</p>
  
  <p>Right now i'm doing the following in a Java application:</p>
  
  <ul>
  <li>Create a Maven webapp project</li>
  <li>Put JQuery Javascript client code and other static stuff to src/main/webapp</li>
  <li>Write some Spring MVC controllers to server JSON resources</li>
  </ul>
  
  <p>A similar thing would be great where the client code is transposed from Ceylon code aswell. As i see Ceylon uses it's very own project layout and build system although i would be more happy to use Maven or Gradle to not steer away too much from existing projects.</p>