Zero Magic

by Patrik Duditš

Hello!

I'm Patrik Duditš and I've been doing Java development for almost 25 years now. During that time I haven't been writing all that much, and maybe this will change with this blog.

Publishing Roq to Netlify

First step in resurrecting the blog was to make it deploy to Netlify. It ended up being quite straightforward.

2 minute(s) read

Archive

These are some old articles written ages ago I didn't have heart to just discard in this incarnation of blog

Log directly to Logstash from Payara

Instead of parsing Payara's JSON or regular log output it is possible to configure logback to send the data to logstash directly.

8 minute(s) read

Semi-automatic Jenkins upgrade on Windows

A method to upgrade Jenkins using it's facilities for upgrade at restart when it is not possible to let Jenkins download the update itself.

3 minute(s) read

Your Java EE App on Kubernetes

Your Java EE App on Kubernetes In previous post we managed to run Payara on Kubernetes. This is of course bit dull without applications deployed. Next we will create an actual aplication, that will deploy with official Payara container. We will use the full profile Payara, just to demonstrate, that microservices can be built using standard distribution. Let's see what we will need to have our app in Kubernetes as well: .war Maven project...

6 minute(s) read

Installing Fabric8 on Azure Container Service

Notes from attempts at using Fabric8 (a discontinued Kubernetes PaaS) on Azure before AKS.

5 minute(s) read

Running Payara in Kubernetes

Running Payara in Kubernetes In the first part of hopefully longer series I will focus at the tasks one should do to get plain server -- without the app, but a Java EE full profile one -- up and running in Kubernetes cluster. Installing the tools For this series I will be using my Windows 10 Home notebook. Particulary important consequence of that is, that Hyper-V is not availble . I will therefore use VirtualBox. Step 1...

4 minute(s) read

Setting up Angular2 CLI with Maven in enterprise network

Using Nexus and maven-frontend-plugin for developing in obnoxious proxy situation.

8 minute(s) read

Java EE 7 Training resources

I've done a training with two-day Java EE overview. This is annotated browser history of the things I showed. Links and descriptions relevant for year 2016, but some may be current yet nowadays.

3 minute(s) read

400 Bad Request when using Glassfish REST API

400 Bad Request when using Glassfish REST API When you try to automate your Glassfish administration duties with its REST API using POST or DELETE methods, and all you get is HTTP response 400 and zero content, you forgot to read this: REST requests that add, update, or delete objects must specify the X-Requested-By header with the value GlassFish REST HTML interface. It is intended to prevent CSRF attacks as noted in Jason...

1 minute(s) read

Enabling SOAP message signing for EJB webservice client in Glassfish

Standard XML digital signature is matter of configuration in JAX-WS.

2 minute(s) read