A tiny framework for creating web apps in Ceylon


Before starting your application, it is a good idea to set up a logger, because gyokuro logs useful information during startup (especially when it scans packages for annotations). The preferred way do to this is to use ceylon.logging:

import ceylon.logging { ... }

shared void run() {
    defaultPriority = trace;

This will result in the following logs:

$ ceylon run
    [1449317571409] TRACE Scanning members in package
    [1449317571414] TRACE Scanning member SimpleRestController in package
    [1449317571429] TRACE Binding function makeDuckTalk to path /rest/duck/talk

Next: application.