Hi!
A little question about integrating handlers for a few very specific situations:
If we provide support for JPA, then the following annotations are often being
used:
javax.persistence.PersistenceContext
javax.persistence.PersistenceContexts
javax.persistence.PersistenceUnit
javax.persistence.PersistenceUnits
They are really very handy, even if NO EJB container is involved.
So my question is: do we like to support this functionality in a standalone
manner?
In other words:
if (!EJBContainer available) {
inject PersistenceContext and PersistenceUnit
}
This is the way Spring works, and I personally find this quite handy.
We could easily implement this in an own optional module.
WDYT?
LieGrue,
strub