Here you find the public source code repositories of codebulb.ch. These GitHub repositories contain either sample code presented within the context of a codebulb.ch blog post or the source code of public open source projects.
You can either use this GitHub Page or the GitHub Profile to navigate through the available repositories. On this GitHub page, repositories are categorized by topic, and sorted by publish date.
Jump to the topic of your choice:
Comparison of compile-time AST transformations with Lombok and Groovy, including JUnit tests which prove Lombok / Groovy code equality.
Project setup for enterprise-safe Lombok / Delombok application.
A simple, lean JAX-RS based framework to build CRUD REST-to-SQL web applications, e.g. as an AngularJS backend.
Demo showcase of the CrudFaces JSF framework (including persistence integration).
View demo » View blog post » View on GitHub »
This project is licensed under the terms of the Apache License 2.0
A JSF framework and component library which makes it easier to write best-practices compliant modern JSF applications.
View blog post » View on GitHub »
This project is licensed under the terms of the Apache License 2.0
A comparison of writing persistence queries using SQL or JPQL dynamic or named queries, the Criteria API or Querydsl, with example queries running in a unit test.
A simple wrapper API to make usage of Java collections, lambdas and CompletableFuture more simple, concise and enjoyable.
Demo implementations of CompletableFuture API usage, realized as JUnit tests.
A comparison of 20+ Java 8 lambda code examples and their Groovy closure equivalent, including JUnit tests which prove Java / Groovy code equality.
A demo web application created to interactively compare 17 of the Bean scope definitions provided by Java EE 7 Web Profile.
Demo web application implementing RESTful, stateless CRUD best practices based on JSF and PrettyFaces.
Demo web application which illustrates validation / I18N / accessibility basics and best practices, ready to be used as part of a blueprint for a new JSF project.
Demo web application showcasing an overview and comparison of the five standards for Dependency Injection in Java EE 7 / Java EE 6 Web Profile.
Demo implementations of 6 rules crucial to exception handling design, each illustrated with an anti-pattern and a "best practice" solution, alongside JUnit tests.
A collection of recipes for dealing with JSON parsing, writing, transforming, and (de)serialization in Groovy, accompanied by JUnit test implementations.
A demo implementation of HTML transformation using Groovy's XmlParser and MarkupBuilder, showcasing best practices and common tips.
A demo application showcasing Android development productivity gains with a tech stack based on Groovy, SwissKnife, and Sugar ORM.
A comparison of code generation using Java Regex / Groovy / ANTLR with demo implementations and equality unit tests.
A demo BuilderSupport implementation showcasing key concepts as well as best practices for implementing custom builders in Groovy. Its features are explained in the accompanying blog post.
A simple demo project showcasing Groovy’s “top 10 features” as they are presented in the accompanying blog post. The project includes unit tests which prove Groovy / Java code equality.
An example implementation of applying common software engineering best practices such as REST, object-orientation and DRY on the specification as well as on the implementation phase, featured in a demo application built on AngularJS with Restangular, connected to a Java EE 7 JAX-RS REST server.
An example implementation of a very lightweight tech stack featuring AngularJS, Restangular, RESTHeart and MongoDB for direct access from the UI layer to the backend, without a middle tier.
Angular 2’s official "QuickStart" tutorial as a simple, lean Angular 2 project seed.
Angular 2’s official "Tour of Heroes" tutorial as a simple, lean Angular 2 project seed.
Example implementation of a REST-to-SQL CRUD Node.js server with the hapi-bookshelf-crud npm package.
CRUD REST-to-SQL rapid prototyping framework based on Node.js + Hapi + Bookshelf.js + Joi, e.g. for use as an AngularJS backend.
Node.js based implementation of a CRUD REST-to-SQL server, for a side-by-side comparison with its Java EE 7 equivalent (as implemented in the Crudlet Demo project).
A demo implementation of HTML5 custom elements using native browser support as well as some widely-used polyfill shims.
An IntelliJ IDEA / Android Studio plugin which allows the user to automatically run custom Groovy scripts when a file is saved / synchronized.