Copyright notice for Google
2010-09-06
With this blog entry you will see a copyright notice on all pages of my
site. This notice was created for Google. I'm not feared that they will
steal my content but it's a kind of SEO.
more
JNDI names for EJBs
2010-09-03
At first there was an application based on EJB 2.1. For all EJBs there
were JNDI names in weblogic-ejb-jar.xml. Everywhere where you wanted to
call an EJB method you had to make a JNDI lookup. With new technology
the options increased.
more
Quick jar export from Eclipse
2010-09-01
Exporting a jar file from Eclipse is pretty simple. Select the current
project, choose File->Export, select jar and move on. But what if
you want to export just a port of the project. E.g. for test purposes
during development.
more
ejbPostCreate vs PostPersist
2010-08-28
As you may know from previous entries I'm on a project that migrates
from EJB 2.1 to EJB 3.0. A co-worker has the glorious task to migrate
the Entity Beans from EJB 2.1 to POJOs with JPA-Annotations and DAOs
(Data Access Objects). The old application made use of ejbPostCreate to
attach child data to persisted objects.
more
Bean Managed Transaction, JTA, and parallel Transactions
2010-08-25
Today I've searched for a way to let some code run always in a new
transaction whether there is already one running or not. So that you
may have multiple parallel transactions that are totally independent
from each other. Sounds like the RequiresNew
Attribute from CMT (Container Managed Transaction)? That's because
the old application used CMT and besides the attribute RequiresNew also
Required,
NotSupported,
and Supports.
But some code from a reference project that we sould incorporate used
Bean Managed Transaction. It was an Interceptor that started the
transaction at the begin of a SessionBean call and committed it at the
end.
more
JPA 2.0 on a Java EE 5 application server.
2010-08-22
Recently I wanted to use JPA 2 in a business application. The
application should run on Weblogic 10.3.0 which is a Java EE 5
application server. Weblogic has some problems with antlr but this is a
known
issue. Despite the fact that I provided a weblogic-application.xml
with the bugfix I got an exception:
more
Relaunch of my homepage
2010-08-07
I am proud to anouce the relaunch of my homepage. The old site got
outdated as there were conceptional and technical problems that
prevented the adding of new content. Here's a list of changes:
more
Newer