Skip to content

Instantly share code, notes, and snippets.

View renepanke's full-sized avatar

René Panke renepanke

View GitHub Profile
@renepanke
renepanke / creating_native_image_java.md
Created November 6, 2022 09:50
Guide to create a native image from a Java Maven project

Guide to create a native image from a Java Maven project

Prerequisites

  • GraalVM installed as JDK
  • Native Image installed via gu
  • Single jar file project

Guide

@renepanke
renepanke / java_api_design_guidelines.md
Last active October 26, 2023 14:06
Java API Design Guidelines

Java API Design Guidelines

Credits for this Gist go to Eamonn McManus and his blog post.

Evolveability

Once something is in the API it will stay there. The consequence of this is to never remove classes and methods.

Design Goals

@renepanke
renepanke / easy_json_based_config.md
Last active June 1, 2021 20:27
How to create an easy JSON based configuration class

How to create an easy JSON based configuration class

Credits for this Gist go to frankred/json-config-file.

1. Dependencies

To create a json based config you can easily use the following maven dependency:

<dependency>