How to copy files in Java
How to copy files in Java with three examples: Classic method with streams, using FileChannel class and using Files class.
GET/POST request with HttpURLConnection in Java
How to send GET and POST requests using standard HttpURLConnection class from Java. Simple examples for both methods.
How to create XML file in Java using DOM
How to create XML file in Java using DOM. Simple example with pretty printing to output the content to console or to a file.
Configure database connection in Eclipse
How to configure database connection in Eclipse. Configure new Connection Profile to any database engines.
ISO8583 financial transaction message format
Introduction to ISO8583 financial transaction message format. Parts: message type indicator, one or more bitmaps and data elements.
How to read and write files in Java
How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.