How to create object using reflection in Java

  • 27 October 2016
  • ADM

How to create an object using reflection in Java. Simple examples for both situations provided: with parameters or without parameters.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

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


How to read and write JSON with json-simple

  • 21 April 2016
  • ADM

How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.


How to create thread pool in Java

  • 05 April 2016
  • ADM

How to create a simple thread pool in Java using ExecutorService, Executors, ThreadPoolExecutor and RejectedExecutionHandler classes.


How to generate java client classes from WSDL

  • 05 April 2016
  • ADM

How to generate java client classes from WSDL file using wsimport. Parameters used p, s wsdllocation and verbose.


How to create WSDL file with Eclipse

  • 20 May 2016
  • ADM

WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. WSDL stands for Web Services Description Language. The WSDL is an abstract definitions of ports and messages, being separated from the concrete implementation. Using this model to define the service allows the reuse of these definitions and also will allow to implement server and client independently.