Monthly Archives: July 2017

Docker – Best practice to refresh on building image

Adding the date in docker file so that user can update the data for every change. Advertisements

Posted in docker, Programming | Leave a comment

Docker – Subnet address in Ubuntu

modify the following section. DOCKER_OPTS=”–bip 192.168.1.1/24″

Posted in docker, Programming | Leave a comment

Java – Spring boot with JAX-RS

Enabling Spring boot to use JAX-RS https://dzone.com/articles/using-jax-rs-with-spring-boot-instead-of-mvc http://blog.codeleak.pl/2015/01/getting-started-with-jersey-and-spring.html

Posted in Java, Programming | Leave a comment

Java 9 – useful commands to inspect Module

List modules Diagnostic module dependencies

Posted in Java, Programming | Leave a comment

Java 8 – general practice using Optional

0. Never, ever use null for an Optional variable. 1. Optional should be only used as a return value. : never use it for a field in Class and a method parameter. never use it in collections 2. Never try … Continue reading

Posted in Java, Programming | Tagged | Leave a comment