Blog

Websphere does not insert record with Eclipselink

Have you started a new JavaEE project based on EJB and JPA (Eclipselink) then tested on Glassfish and everything is OK. But on the WebSphere it seems that Eclipselink does not insert records in DB. That is because of the Target-server property of Eclipselink that should be set when using on WAS.

Mocking vs Fake Objects

Categories :
Sometimes in a large scale projects we need to replace some layers that are not implemented yet with something to enable us testing upper layers. Most of the time we hear about Mocking as a solution. But actually there are other acceptable solutions. Here we examine these solutions.

Code coverage Arquilian and Jacoco

Categories :
Enabling code coverage analysis for integration tests by Arquilian and Jacoco is sometimes boring. Here we document our experiments on using Jacoco with Arquilian for Code coverage.

JPA flushes before query execution

Tags :
Categories :
By default, the JPA flush mode is set to AUTO. That means that the EntityManagers performs a flush operation automatically as needed. In other words, if entities with pending changes are used in a query, the persistence provider will flush changes to the database before executing the query.

There is no installed container capable of handling this application EAR

Tags :
Deploying some EJB modules warping in an EAR file in GlassFish 3.1.2 and getting this strange error: There is no installed container capable of handling this application EAR SEVERE: Module type not recognized for module ..... SEVERE: There is no installed container capable of handling this application EAR.
  • Previous
  • 1
  • Next

All Categories