I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite
Category: Java
Java programming related posts
Upgrade to Oracle JDK 10 on CentOS/RHEL
With the release of Java 10 only a few days ago, it seems only prudent to update to Java 10 on suitable systems since the support for Java 9 official ends with the release of Java 10. (Note that Java 8 still enjoys long-time support, so it might be the best choice to stick with … Continue reading Upgrade to Oracle JDK 10 on CentOS/RHEL
PlantUML (Open Source Awesomeness)
I've always had a soft spot for diagrams. I think that representing information in various visual ways tremendously helps our thinking and understanding. Unfortunately it is often a big headache to create (and maintain) diagrams. So I was very pleased today when I came across PlantUML. PlantUML is a Java library and web service which … Continue reading PlantUML (Open Source Awesomeness)
Java Logging – The Ultimate, Easy Guide
On first glance, logging looks like an exceedingly simple problem to solve. However, it is one of these problems which unfortunately become more and more complex the longer one looks at it. I think because of this, there are many frameworks in Java to support logging (since everyone seems to have thought they have found … Continue reading Java Logging – The Ultimate, Easy Guide
Determine Which JDK Version a JAR/Class File Was Compiled With
Today I came across a nasty error which occurred in a deployed Java application only but not during development or integration tests. The error went something like the following: Now I had a feeling that this had something to do with me trying to be ahead of the curve and use a Java 9 JDK … Continue reading Determine Which JDK Version a JAR/Class File Was Compiled With
A Handy Reference of Maven Parameters
I cannot count the times I have looked up the following through Google. Thus I decided to put together a few handy parameters (or properties or whatever is the correct term) for Maven builds. All the below are given with the goal install but they can safely be used with any other Maven goal as … Continue reading A Handy Reference of Maven Parameters
Installing Jenkins on Centos 7
I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7
Continuous Integration Server Overview
Since I plan to set up a continuous integration server in the near future, I had a quick look around for open source and cloud-based solutions; my main concern was finding something which will work for a small scale project and result in reasonable costs. Jenkins (Open Source) The best choice if you are looking … Continue reading Continuous Integration Server Overview
Selenium ChromeDriver Hangs on Startup
Problem ChromeDriver and Headless Chrome are a great solution for running automated JavaScript tests. Today I wanted to run some tests on a Linux Server (Centos 7) and although Chrome and ChromeDriver were installed correctly, my Java app would just hang after ChromeDriver is started: Starting ChromeDriver 2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4) on port 31042 Only local connections … Continue reading Selenium ChromeDriver Hangs on Startup
Install Latest JDK on Linux Server
Edit: Updated with new script version provided by MaxdSre. To install the Oracle JDK on a Linus server is often a tricky proposition. For one, the download page requires to confirm a prompt and only unlocks the download link after this prompt has been confirmed (via a cookie, I think). This makes it difficult to … Continue reading Install Latest JDK on Linux Server