Note: information on this page refers to Ceylon 1.2, not to the current release.
Example programs and applications
We're collecting examples here.
Examples of client-side Ceylon
We have three small demo application which illustrate the use of Ceylon in a web browser:
Examples of full-stack applications
- The Ceylon Web IDE is a great example of how to build a modern web application using Ceylon, making use of Ceylon's HTTP and JSON APIs, and interoperation with native Java libraries. The example even supports deployment to OpenShift.
- The DDDSample demonstrates the use of Ceylon in Java EE.
Learn how to use Ceylon with these Java frameworks:
Examples of libraries
The Ceylon SDK includes plenty of good examples of Ceylon code, including:
ceylon.collectiondemonstrates some very typical usage of generics.
ceylon.filedemonstrates the use of enumerated types and shows how to wrap a native Java API.
ceylon.regexis a cross-platform module that demonstrates the use of
ceylon.localeis a cross-platform module that demonstrates the use of resource loading.
ceylon.testdemonstrates some very typical usage of the metamodel.
ceylon.promisedemonstrates advanced use of abstraction over function types.
ceylon.jsonillustrates a rather cool use of union types.