Blog: software cave |
240 blogs
updated: 69 min. ago
|
||
Java supports enumeration types (in short enum) since Java 5. Enumeration is used to define a list of constants which can be later reference...
|
||
Sometimes I come across Java code that unexpectedly throws NullPointerException in ternary operator. It is especially surprising if this par...
|
||
Creating a text file (with given contents) is pretty straightforward task in Java. Recent Java versions and popular libraries like Apache Co...
|
||
Most of the objects in Java are mutable. It means that their state/fields can be changed after the object was created. The examples of those...
|
||
Removing empty directory in Java is as simple as calling File.delete() (standard IO) or Files.delete() (NIO) method. However, if the folder ...
|
||
File management (good old CRUD: create, read, update, delete) is quite common operation in software development. In this short post I would ...
|
||
In the previous post I have shown how to easily map a collection (e.g. Set or List) of simple types in JPA. Today I would like to present ho...
|
||
JPA framework provides good support for mapping collections of value types. The value types can be either simple types like Integer or Strin...
|
||
SOAP web services are often used in commercial software. If we plan to use existing SOAP web service, we should receive a WSDL file which de...
|
||
Today I would like to quickly mention java.util.Objects class. The JavaDoc documentation for this class says: This class consists of static ...
|
||
Made better & faster using https://www.yourkit.com/ Java Profiler