REFCODES.ORG change list version 1.2.2 The REFCODES artifacts version 1.2.2 have been deployed to Maven Central, see the change list for the updates REFCODES.ORG change list version 1.2.1 The REFCODES artifacts version 1.2.1 have been deployed to Maven Central, see the change list for the updates
refcodes-configuration: Managing your application's configuration Compose the way you need to retrieve (and store) your application's properties REFCODES.ORG change list version 1.2.0 The REFCODES artifacts version 1.2.0 have been deployed to Maven Central, see the change list for the updates The canonical model, an ace upon your sleeve Learn how the canoical model pattern helps you harness a bag full of functioanlity whilst keeping your effort low (and making the bits and pieces fit together magically) Dead simple Java application configuration Retrieve (and store!) your YAML, TOML, JSON, XML or whatever (profiled) properties from various locations, resources or folders, just as you need it! JVM-Con 2017 in Cologne This year I have been at the JVM-Con 2017 in Cologne as a speaker, the topic being "About sense and nonsense on extensive framework use"...
REFCODES.ORG change list version 1.1.9 The REFCODES artifacts version 1.1.9 have been deployed to Maven Central, see the change list for the updates REFCODES.ORG change list version 1.1.8 The REFCODES artifacts version 1.1.8 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.7 The REFCODES artifacts version 1.1.7 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.6 The REFCODES artifacts version 1.1.6 have been deployed to Maven Central, see the change list for the updates REFCODES.ORG change list version 1.1.5 The REFCODES artifacts version 1.1.5 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.4 The REFCODES artifacts version 1.1.4 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.3 The REFCODES artifacts version 1.1.3 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.2 The REFCODES artifacts version 1.1.2 have been deployed to Maven Central, see the change list for the updates Bare-Metal REST with just a few lines of code On building slim RESTful services and REST clients without a Heavy-Weight framework doing magic in the background and with a little help from Java 8's lambda expressions.
refcodes-rest: RESTful services using lambdas Build a RESTful lightweight service with just a few lines of code in three steps using lambda expressions. REFCODES.ORG change list version 1.1.1 The REFCODES artifacts version 1.1.1 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.1.0 The REFCODES artifacts version 1.1.0 have been deployed to Maven Central, see the change list for the updates
REFCODES.ORG change list version 1.0.5 The REFCODES artifacts version 1.0.5 have been deployed to Maven Central, see the change list for the updates
Better programs: Citations one should have heard of (part 2) This is the second part of a two-part series on citations one should have heard of and why them make you a better programmer ...
Better programs: Citations one should have heard of (part 1) The last years I stumbled over notable citations and excerpts or even parodies and other bits and pieces which I regard should accompany good software engineers to produce better code ... REFCODES.ORG change list version 1.0.4 The REFCODES artifacts version 1.0.4 have been deployed to Maven Central, see the change list for the updates The utility-builder pattern Combining a utility class's functionality with the builder pattern, add some spicy properties to it, and here comes the utility-builder pattern. Let's try a definition...
No more Mr. Nice Guy, no more code reviews!!! No more code reviews, Mr. Nice Guy! Did you ever spend more than one second on thinking about WHO has to use your code's INTERFACES ?!? Go away code review, I want good interfaces ... Yet another REST cheat sheet I believe that good interfaces are even more important than good code. Refactoring a bad interface bears far-reaching implications effecting the interface implementation(s) as well as all the interface consumers ...
REFCODES.ORG change list version 1.0.3 The REFCODES artifacts version 1.0.3 have been deployed to Maven Central, see the change list for the updates Good bye utility classes, here come builders (part 2) Part 2 on builders being a real alternative to utility classes, this time on doing ASCII art with a builder versus a utility class ... Good bye utility classes, here come builders (part 1) This first part of a two parts series on builders is on using the builder pattern for creating formatted text tables to your console... REFCODES.ORG change list version 1.0.2 The REFCODES artifacts version 1.0.2 have been deployed to Maven Central, see the change list for the updates Base! How low can you go? Base64, Base32, Base16, ... Just for fun I implemented a Base64 codec while replacing some utility classes (and third party dependencies) with builders ... REFCODES.ORG change list version 1.0.1 The REFCODES artifacts version 1.0.1 have been deployed to Maven Central, see the change list for the updates
JavaFX checkerboard for fun and cellular automaton experiments Doing some thinking on Boulder Dash being a cellular automaton and programming a petri dish for board games ... Off topic summertime workshops Summer break is over and I wasn't lazy ... trying to get an electrified flight plane into the air and refurbishing an old Merkur VISION arcade cabinet ...
REFCODES.ORG change list version 1.0.0 The REFCODES artifacts version 1.0.0 have been deployed to Maven Central, see the change list for the updates Of software development methodologies, teams and individuals Whilst pushing new methodologies into a software development team, one should understand the difference between methodologies of team relevance and of individual taste ...
Lambda up your jobs asynchronously! Java 8's lambda support has been added to the refcodes-jobbus as of version 1.0.0-SNAPSHOT ... Java 8: Obliged to do the Optional ... or is it optional? There seems to be some uncertainty on how to use the Optional class provided by Java 8 - I disect an example to get closer to an answer ... Get your jobs executed asynchronously - anywhere! Lately, asynchronous (distributed) execution of jobs experiences some revival, be it as of technical constraints or as of leveraging big data processing ... refcodes-jobbus: Asynchronous job execution Push your jobs onto the job-bus, let the job-bus execute your jobs asynchronously and grab the results later on - don't bother with where (local or remote) your jobs are being executed ... Publish ... subscribe ... observe ... event-bus? Lately some colleagues and me were reasoning on how to do client-side communication between web-page components ... with Java I recommend taking a look at the refcodes-eventbus ...
refcodes-eventbus: Observer + Publish–subscribe = Message broker Decoupling and channelling your asynchronous publish/subscribe message broker communication with the refcodes-eventbus ... refcodes-security: Chaos-based encryption as Java cryptographic extension (and without) Chaos-based encryption is easy to implement and easy to be attached to the Java Cryptographic Extension (JCE) ... Verschlüsselung im Chaos (Chaos-based encryption) This text I received in the late 1980s in Harare (Zimbabwe ) from the mathematician Sönke Rehder; back then as a pupil I coded the herein described algorithm in BASIC on an Atari 600XL ... refcodes-remoting: Face-to-face lightweight remote method calls Publish your Java object on your server; connect to it on your client; use it on your client as if you were using it on the server ... curious? Logging like the nerds log An introduction to the refcodes-logger framework; let's start with giving your logs some color and tidy them up! Then let's take over spring-boot's log output ... refcodes-logger: Fancy runtime-logs and highly scalable cloud logging How to log any kinds of structured data - including your runtime logs - into the cloud (NoSQL clusters) or your local fancy colorful and tidy formatted console ... refcodes-forwardsecrecy: High encryption throughput Encrypt with the security of asymmetric- and the throughput of symmetric encryption (in the cloud) ...
Having fun with the command pattern Doing an undo in your apps and how you prepare your methods to be called later ... refcodes-command: Do the undo Ever wondered how to easily implement and extend your application's undo functionality? refcodes-console: Parse your args Just about everything you'll need to comfortably parse your Java command line arguments ... Hello REFCODES.ORG! My blog to accompany my org.refcodes Java based Maven artifacts