Split URL into components using regex

  • 23 May 2016
  • ADM

Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


How to get date and time in Java

  • 09 May 2016
  • ADM

How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.


How to install Apache Ant on Mac OS X

  • 24 May 2016
  • ADM

How to install Apache Ant on Mac OS X in 4 easy steps:download, extract, move to destination folder and edit the environment variables.


How to create Java Application with Eclipse

  • 04 April 2016
  • ADM

How to create Java Application with Eclipse. First Java Hello World application. Command line run example.


How to prepare a Windows Java Development Machine

  • 05 April 2016
  • ADM

How to prepare a Windows Java Development Machine using Eclipse, NetBeans, Ant, Maven, MySQL, MongoDB, GIT, SVN.