amber-docs
jib
Our great sponsors
amber-docs | jib | |
---|---|---|
58 | 46 | |
142 | 13,377 | |
0.7% | 0.8% | |
6.3 | 8.0 | |
3 months ago | 7 days ago | |
HTML | Java | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
amber-docs
-
Record Patterns point to Java language designers losing their compass
Record patterns are one step on the path to general pattern matching utility. The bigger building block is general deconstructors. I recommend reading Functional Transformation of Immutable Objects by Brian Goetz. The idea of "withers" shown there requires deconstructors:
- Which Kotlin features do you think Java still needs to steal, if any?
-
JDK 20 G1/Parallel/Serial GC Changes
https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
This is the vague plan.
-
Deconstruction patterns [Brian Goetz]
You may be joking but...
-
Java Records as Embeddables with Hibernate 6
Here is the much more detailed version: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/reconstruction-records-and-classes.md
-
Where does the dislike/hate for Java come from?
This kind of pattern matching is discussed in the design notes: https://github.com/openjdk/amber-docs/blob/master/site/design-notes/patterns/pattern-match-object-model.md
-
Making Lenses Practical in Java
True, but that only pushes the question of value down the line.
I'm curious about lenses because Java did have a serious problem that required a solution: working with "simple" data correctly was difficult. The chosen solution was ADTs, so we did buy into that. But the approach being explored for transforming records (https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...) only works one level at a time rather than for an entire path. So I wonder how valuable it would be to have a solution for paths. If the answer is that it's mostly valuable for an approach we haven't bought into yet, then we might not need to consider it just yet.
-
How I got involved in the Rust community
Just a heads up, something like that spread operator is actually coming sooner or later to java: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
Pattern matching (for records) is already a preview feature.
- Should you still be using Lombok?
- Cascade operator in Java
jib
- Nix is a better Docker image builder than Docker's image builder
-
Deploy Secure Spring Boot Microservices on Amazon EKS Using Terraform and Kubernetes
You need to build Docker images for each app. This is specific to the JHipster application used in this tutorial which uses Jib to build the images. Make sure you are logged into Docker using docker login. Navigate to each app folder (store, invoice, product) and run the following command:
-
Tool to build Docker images
JIB
-
Thin (ish) Clojure jars for better docker containers
It is pretty easy to do with https://github.com/GoogleContainerTools/jib.
-
Trying to spin up a Ktor app using docker containers. I keep getting "no main manifest attribute, in app.jar"
Save yourself the dockerfile and use jib: https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin
-
Fearless Distroless
I first learned about Distroless because it was the default option in Google's Jib. Jib is a Maven plugin to create Docker containers without dependency on Docker. Note that the default has changed now.
- Razvijanje mikroservisa na lokalnoj mrezi
-
Spring Boot pod takes 60 seconds to become ready; trouble handling spiky workloads
Optimize your Dockerfile by using a small base Java Image, use either Spring Boot's layers tools or Google Jib to build your docker file, and increase CPU/Memory requests and limits if you can.
-
CI/CD with Spring Boot and Jenkins Pipelines
In this section, we will setup the automated generation and deployment of a Docker container image. You will need a Docker Hub account and the Jib Gradle Plugin.
-
What is Docker All About and How to Deploy Spring Boot Application In Docker?
If you don't want to hack on your own scripts to package your app into a container, I can recommend the JIB maven plugin. A gradle version is also available.
What are some alternatives?
adoptium.net - Development of the website has moved to https://github.com/adoptium/website-v2
kaniko - Build Container Images In Kubernetes
jmolecules - Libraries to help developers express architectural abstractions in Java code
jkube - Build and Deploy java applications on Kubernetes
record-builder - Record builder generator for Java records
buildkit - concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
prettier-java - Prettier Java Plugin
Bazel - a fast, scalable, multi-language and extensible build system
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
docker-maven-plugin - INACTIVE: A maven plugin for Docker
vim-fibo-indent - Fibonacci Indentation for Vim.
shadow - Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.