How to convert a string to a boolean type in Golang

  • 11 November 2017
  • ADM

How to convert a string to a boolean type in Golang using strconv.ParseBool method.


How to convert a boolean to a string in Golang

  • 26 June 2020
  • ADM

How to convert a boolean to a string in Golang strconv.FormatBool method.


JAXB Hello World Marshalling / Unmarshalling Example

  • 03 August 2017
  • ADM

JAXB Hello World Marshalling/Unmarshalling example: Object to XML and XML to Object.


How to send emails using JavaMail

  • 08 February 2017
  • ADM

How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.


How to make a file read only in Java

  • 26 January 2017
  • ADM

How to make a file read-only in Java. Simple example using File.setReadOnly() and File.setWritable(boolean) methods.


How to create Abstract Factory Pattern in Java

  • 03 November 2016
  • ADM

How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.