How to convert String to int in Java
How to convert String to int in Java using Integer.parseInt and Integer.valueOf methods. Simple example provided.
How to generate tables from entities using EclipseLink
How to generate entities from tables using EclipseLink. Simple example using one-to-one database relationship. @MappedSuperclass example included
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.
Java Exceptions handling
How to handle exceptions in Java. Checked and unchecked exceptions example using custom implementation.
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.
How to convert object to / from JSON using Gson
How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.
Search
Other Posts
Follow Us On