Home » DevOps

DevOps

Docker for Java Developers: Develop on Docker

1. Introduction In the last part of the tutorial we learned a number of ways to package (and run) Java applications as Docker containers. In this part we are going to focus more on how Docker impacts our development practices in a quite positive ways. Table Of Contents 1. Introduction 2. Docker from your IDE 2.1. Eclipse 2.2. IntelliJ IDEA ...

Read More »

New Webinar: How Intuit Automates Root Cause Analysis at Scale

Hear from Intuit’s Staff Tools Engineer, Omer Azmon, how the team working on QuickBooks is automating root cause analysis For the developers working in Intuit’s Small Business Group, ensuring quality in their flagship product means confronting the challenges of daily code releases and noisy logs. With frequent deployments, developers need to quickly identify where errors originate so they can be ...

Read More »

Exclusive Book Offers (75% off): DevOps for Networking, DevOps Bootcamp, Implementing Modern DevOps

Hello fellow Geeks! Today, we have some exciting news for you! Java Code Geeks and Packt have teamed up to offer you weekly discounts on their extensive library of books. This week, we are offering discounts on three books to help you understand and master DevOps. Check them out! DevOps for Networking Steven Armstrong Frustrated that your company’s network changes ...

Read More »

Kubernetes 1.8: Using Cronjobs to take Neo4j backups

With the release of Kubernetes 1.8 Cronjobs have graduated to beta, which means we can now more easily run Neo4j backup jobs against Kubernetes clusters. Before we learn how to write a Cronjob let’s first create a local Kubernetes cluster and deploy Neo4j. Spinup Kubernetes & Helm minikube start --memory 8192 helm init && kubectl rollout status -w deployment/tiller-deploy --namespace=kube-system ...

Read More »

Kubernetes: Copy a dataset to a StatefulSet’s PersistentVolume

Neo4j Clusters on Kubernetes This posts assumes that we’re familiar with deploying Neo4j on Kubernetes. I wrote an article on the Neo4j blog explaining this in more detail. The StatefulSet we create for our core servers require persistent storage, achieved via the PersistentVolumeClaim (PVC) primitive. A Neo4j cluster containing 3 core servers would have the following PVCs: $ kubectl get ...

Read More »

Docker for Java Developers: Build on Docker

Over the first few parts of the tutorial we went through basics of the Docker and the multitude of the ways to interface with it. It is time to apply the knowledge we have acquired to real-world Java projects, starting the discussion from the topic of how Docker affects the well-established build processes and practices. Table Of Contents 1. Introduction ...

Read More »

Dockerized Java EE 8 applications with GlassFish 5.0

GlassFish 5.0 represents the reference implementation of Java EE 8. We can dockerize Java EE 8 applications by using a GlassFish base image, such as the official oracle/glassfish. The Dockerfile of a zero-dependency Java EE 8 application looks like follows: FROM oracle/glassfish:5.0 COPY target/application.war $GLASSFISH_HOME/glassfish/domains/domain1/autodeploy/ A Docker container of that image starts the application server and auto-deploys our application. application.war ...

Read More »

Testing Code that requires a mail server

Almost all applications has one common requirement, they need to send an email notifying something to a registered user. It might be an invoice, a confirmation of an action or a password recovery. How to test this use case might be challenging, using mocks and stubs are ok for unit tests, but having a component test that tests the whole ...

Read More »

Docker for Java Developers: Docker over HTTP/REST

From the previous parts of the tutorial we already know that Docker not only has an awesome command line tooling, but exposes a feature-rich Docker Engine API as well. As of now, the officially supported clients are provided for Go and Python languages. Certainly, not very encouraging news for Java developer, but there is a light at the end of ...

Read More »