log4j.properties basic examples
log4j.properties basic examples. Output to the console and to the file.
How to create Null Object Pattern in Java
How to create Null Object Pattern in Java. Simple example using object and null object class implementation.
How to create Abstract Factory Pattern in Java
How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.
How to create Factory Pattern in Java
How to create a factory design pattern in Java using the example of creating a database table for multiple database engines.
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.
Split URL into components using regex
Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.
Search
Other Posts
Follow Us On