Latest Articles

31 July 2013
In this tutorial we will see how to create a simple Stateful Session Bean (EJB) and use it in a web application context, more precisely a Java Servlet.
08 July 2013
In this tutorial we will see the available transaction propagation behaviours provided by the EJB container using @TransactionAttribute annotation.
30 June 2013
In this tutorial you will learn how to configure EJB Interceptors used to - as the name states - intercept calls to EJB methods.
23 June 2013
In this tutorial we will see how to inject beans from external - or 3d party - libraries in Java EE CDI
17 June 2013
In this tutorial you will learn how to configure a JTA transaction manager outside an enterprise container - using the Spring framework and Atomikos, both deployed in Tomcat - in order to implement distributed multiple resource (or XA) transactions.
08 June 2013
In this tutorial we will see how to implement Java EE CDI dependency disambiguation in a programmatic (or dynamic) way by inspecting injection points. The same applies for programmatic dependency resolution at runtime.
01 June 2013
In this tutorial you will learn how to inject multiple interface implementations with Java EE CDI (dependency disambiguation) avoiding org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [...] with qualifiers [...] at injection point [...]
25 May 2013
In this tutorial you will learn about the different ways to use @Inject annotation in order to perform Dependency Injection with Java EE CDI.
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: