Java Custom Annotations Example

  • 26 July 2018
  • ADM

How to create Java Custom Annotation. A simple example of creating Annotations in Java and usage by calling the Reflection API.


How to read XML file in Java using SAX Parser

  • 04 April 2018
  • ADM

How to read XML file in Java using SAX Parser.


Tomcat default administrator password

  • 04 April 2018
  • ADM

How to activate the default tomcat manager application administrator password. This setting is for Tomcat 7 and newer.


How to marshal a JAXB object into org.w3c.dom.Document

  • 23 March 2018
  • ADM

How to marshal a JAXB object into org.w3c.dom.Document using Transformer class and formatted console print.


Git ignore file mode chmod changes

  • 22 March 2020
  • ADM

How to make Git to ignore file modified by chmod changes. Using core.fileMode git config.


How to setup a proxy with authentication for HTTP client in Golang

  • 22 March 2020
  • ADM

How to setup a proxy with authentication for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.