HTTP URLConnection with proxy in Java

  • 08 February 2018
  • ADM

How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.


How to Check Alexa Rank in Java

  • 16 November 2017
  • ADM

How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings


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 deep clone an object in Java

  • 25 July 2017
  • ADM

How to deep clone an object in Java. The clone method from the parent object needs to clone each child object separately and added to the cloned parent object.


How to clone an object in Java

  • 25 July 2017
  • ADM

How to clone an object in Java. This method works only when the object cloned has only simple variable.


6 methods how to loop a Map in Java

  • 15 June 2017
  • ADM

How to loop a Map in Java. 6 different methods to loop through a map. The main difference is the looping method.