JAXB Hello World Marshalling / Unmarshalling Example
JAXB Hello World Marshalling/Unmarshalling example: Object to XML and XML to Object.
How to create a Java project with Maven
How to create a Java project with Maven. Simple steps to generate the project, import in Eclipse and run the application.
GET/POST request with Apache HttpClient
GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.
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.
How to convert object to / from JSON using Jackson
How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.
Search
Other Posts
Follow Us On