codebulb.ch repositories

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:

published on May 29, 2016 by codebulb.ch

Project Lombok: Making Java more Groovy

Comparison of compile-time AST transformations with Lombok and Groovy, including JUnit tests which prove Lombok / Groovy code equality.

View blog post » View on GitHub »

published on May 22, 2016 by codebulb.ch

Delombok: Enterprise-safe Java AST transformations

Project setup for enterprise-safe Lombok / Delombok application.

View blog post » View on GitHub »

published on January 10, 2016 by codebulb.ch

Crudlet demo

Demo application of the Crudlet REST framework.

View blog post » View on GitHub »

published on January 10, 2016 by codebulb.ch

Crudlet

A simple, lean JAX-RS based framework to build CRUD REST-to-SQL web applications, e.g. as an AngularJS backend.

View blog post » View on GitHub »

published on November 15, 2015 by codebulb.ch

CrudFaces showcase

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

published on November 15, 2015 by codebulb.ch

CrudFaces

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

published on October 17, 2015 by codebulb.ch

JPA query languages compared

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.

View blog post » View on GitHub »

published on August 9, 2015 by codebulb.ch

LambdaOmega: Java Collections, Lambdas & Promises simplified

A simple wrapper API to make usage of Java collections, lambdas and CompletableFuture more simple, concise and enjoyable.

View blog post » View on GitHub »

published on July 26, 2015 by codebulb.ch

CompletableFuture: Clean callbacks with Java 8’s Promises

Demo implementations of CompletableFuture API usage, realized as JUnit tests.

View blog post » View on GitHub »

published on June 7, 2015 by codebulb.ch

Java 8 lambdas vs. Groovy closures

A comparison of 20+ Java 8 lambda code examples and their Groovy closure equivalent, including JUnit tests which prove Java / Groovy code equality.

View blog post » View on GitHub »

published on May 24, 2015 by codebulb.ch

Java EE 7 Bean scopes overview

A demo web application created to interactively compare 17 of the Bean scope definitions provided by Java EE 7 Web Profile.

View demo » View blog post » View on GitHub »

published on May 17, 2015 by codebulb.ch

RESTful JSF with POST-redirect-GET

Demo web application implementing RESTful, stateless CRUD best practices based on JSF and PrettyFaces.

published on May 3, 2015 by codebulb.ch

JSF: Validation Localization (I18N) by example

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.

View blog post » View on GitHub »

published on April 12, 2015 by codebulb.ch

Java EE 7 / Java EE 6 Bean types overview

Demo web application showcasing an overview and comparison of the five standards for Dependency Injection in Java EE 7 / Java EE 6 Web Profile.

View demo » View blog post » View on GitHub »

published on April 5, 2015 by codebulb.ch

6 rules of exception handling by example

Demo implementations of 6 rules crucial to exception handling design, each illustrated with an anti-pattern and a "best practice" solution, alongside JUnit tests.

View blog post » View on GitHub »

published on March 13, 2016 by codebulb.ch

Groovy by example: JSON handling

A collection of recipes for dealing with JSON parsing, writing, transforming, and (de)serialization in Groovy, accompanied by JUnit test implementations.

View blog post » View on GitHub »

published on September 20, 2015 by codebulb.ch

Groovy by example: XML / HTML transformation

A demo implementation of HTML transformation using Groovy's XmlParser and MarkupBuilder, showcasing best practices and common tips.

View blog post » View on GitHub »

published on June 28, 2015 by codebulb.ch

Painless Android development with Groovy and SwissKnife

A demo application showcasing Android development productivity gains with a tech stack based on Groovy, SwissKnife, and Sugar ORM.

View blog post » View on GitHub »

published on May 10, 2015 by codebulb.ch

Writing a code generator – with Java Regex, Groovy or ANTLR?

A comparison of code generation using Java Regex / Groovy / ANTLR with demo implementations and equality unit tests.

View blog post » View on GitHub »

published on March 22, 2015 by codebulb.ch

Groovy by example: Writing a builder

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.

View blog post » View on GitHub »

published on March 8, 2015 by codebulb.ch

10 most useful Groovy features

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.

View blog post » View on GitHub »

published on September 27, 2015 by codebulb.ch

RESTful software requirements specification

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.

View blog post » View on GitHub »

published on May 31, 2015 by codebulb.ch

AngularJS + MongoDB: Goodbye middle tier?

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.

View blog post » View on GitHub »

published on June 19, 2016 by codebulb.ch

QuickStart tutorial project setup

Angular 2’s official "QuickStart" tutorial as a simple, lean Angular 2 project seed.

published on June 19, 2016 by codebulb.ch

Tour of Heroes tutorial project setup

Angular 2’s official "Tour of Heroes" tutorial as a simple, lean Angular 2 project seed.

published on February 7, 2016 by codebulb.ch

hapi-bookshelf-crud Demo

Example implementation of a REST-to-SQL CRUD Node.js server with the hapi-bookshelf-crud npm package.

View blog post » View on GitHub »

published on February 7, 2016 by codebulb.ch

hapi-bookshelf-crud

CRUD REST-to-SQL rapid prototyping framework based on Node.js + Hapi + Bookshelf.js + Joi, e.g. for use as an AngularJS backend.

View blog post » View on GitHub »

published on January 31, 2016 by codebulb.ch

Node.js with Hapi + Bookshelf.js

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).

View blog post » View on GitHub »

published on July 12, 2015 by codebulb.ch

Using HTML5 right now: Web components by example

A demo implementation of HTML5 custom elements using native browser support as well as some widely-used polyfill shims.

View blog post » View on GitHub »

published on June 27, 2015 by codebulb.ch

Save action Groovy scripts plugin

An IntelliJ IDEA / Android Studio plugin which allows the user to automatically run custom Groovy scripts when a file is saved / synchronized.

View blog post » View on GitHub »