Enterprise Java
-

Types of Entity Managers: Application-managed EntityManager
JPA specification defines few types of EntityManagers / Persistence Contexts. We can have: extended and transactional-scoped EntityManagers, container-managed or application-managed…
Read More » -

EJB Inheritance is Different From Java Inheritance
Despite the fact that EJB inheritance sometimes uses Java inheritance — they’re not always the same. Just as you could…
Read More » -

Defining EJB 3.1 Views (Local, Remote, No-Interface)
This post will talk about possible ways of defining EJB views using annotations (I’ll just mention about using EJB Deployment…
Read More » -

JUnit and EasyMock cooperation
Developers always need to take care about code which they produced. They should be ensured that code works properly after…
Read More » -

REST with Apache Camel
There are many ways to expose an HTTP endpoint in Camel: jetty, tomcat, servlet, cxfrs and restlet. Two of these…
Read More » -

Indexing data in Solr from disparate sources using Camel
Apache Solr is ‘the popular, blazing fast open source enterprise search platform’ built on top of Lucene. In order to…
Read More » -

Spring MVC: Creation of a simple Controller with Java based config
This is the first article on my blog related to Spring MVC. The beginning is always exciting, so I will…
Read More » -

Bidirectional @OneToMany / @ManyToOne association
One of goals in programming is representing of models from real world. Very often an application need to model some…
Read More » -

Bidirectional @OneToOne primary key association
It’s time to continue articles about Hibernate. The last one was dedicated to unidirectional @OneToOne association. So today I will…
Read More »





