Latest Articles

30 August 2015
This article covers the optimistic and pessimistic locking mechanisms available in the Java Persistence API (using LockModeType)
29 July 2015
This article covers database optimistic locking in general and also demonstrates how to implement optimistic locking in Java Persistence API (JPA) entities by using the @Version annotation
26 June 2015
This article explains why do the Java Persistence API (JPA) often generates additional queries while dealing with OneToOne relationships
31 May 2015
This article will cover EJB concurrent access configuration (both container and bean managed) resorting to Lock, LockType and ConcurrencyManagement primitives.
19 April 2015
In this article we will cover the differences between TRANSACTION and EXTENDED Persistence Context (Entity Manager).
18 February 2015
In this article we will cover Asynchronous Servlets in Java. We will also implement a use case that demonstrates the concrete advantages of asynchronous processing with servlets.
22 January 2015
In this article we will cover Container vs Application Managed EntityManager (Persistence Context) and its relationship with JTA or RESOURCE LOCAL transaction management.
02 January 2015
In this article we will see how to package a JSF Flow in a JAR file.
1 2 3 4 Next
About the author
Gonçalo Marques is a Software Engineer with several years of experience in software development and architecture definition. During this period his main focus was delivering software solutions in banking, telecommunications and governmental areas. He created the Bytes Lounge website with one ultimate goal: share his knowledge with the software development community. His main area of expertise is Java and open source.

GitHub profile: https://github.com/gonmarques

He is also the author of the WiFi File Browser Android application: