Blog: software cave

223 blogs updated: 64 min. ago
How to delete file in Java
File management (good old CRUD: create, read, update, delete) is quite common operation in software development. In this short post I would ...
05-03-2018 16:13:06 software cave Beginners
Mapping a map of simple types in JPA using @ElementCollection
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...
05-03-2018 10:03:05 software cave Beginners
Mapping collection of simple type in JPA using @ElementCollection
JPA framework provides good support for mapping collections of value types. The value types can be either simple types like Integer or Strin...
11-02-2018 13:12:42 software cave Beginners
Importing WSDL with Java and Maven
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...
18-02-2017 16:26:39 software cave Beginners
Objects utility class in Java
Today I would like to quickly mention java.util.Objects class. The JavaDoc documentation for this class says: This class consists of static ...
15-02-2017 16:45:22 software cave Beginners
Default and static methods in interfaces in Java 8
Before Java 8 interfaces could only contain static fields (usually simple constants) and abstract methods. Java 8 provided the ability to de...
13-02-2017 16:34:58 software cave Beginners
Database schema creation in JPA using SQL scripts
Recent versions of JPA provide a feature to automatically create the database objects (like tables, sequences or indexes), load initial data...
12-02-2017 17:36:08 software cave Beginners
Reading text file line by line in Java
Reading text files from hard disk is quite common task in software development practice. Usually we are interested in processing it line by ...
18-12-2014 20:55:05 software cave Beginners
Iterating through Java list backwards
The most natural method of iterating through a list in Java is to start from the first element of the list and then move forward until the l...
13-12-2014 09:32:08 software cave Beginners
serialVersionUID field in Java
Java run-time associates with each serializable class a special version number known as serialVersionUID. This number is later used during d...
06-12-2014 10:13:28 software cave Beginners

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.