marius.bogoevici wrote : Alen,
|
| You can try using one of the standard Spring mechanisms:
|
| - org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean or
the jee namespace
| - the @EJB annotation
|
| There is a sample showing the usage of the EJB annotation in
Ok, I managed to successfuly springify my POJOs now and can confirm that
jboss-spring deployer is working nicelly.
Is it possible to inject Spring Beans into @Interceptors?
I have Events that need to be executed after EJB business methods are called.
(For Example: after createTask() business
Alen,
You can try using one of the standard Spring mechanisms:
- org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean or the
jee namespace
- the @EJB annotation
There is a sample showing the usage of the EJB annotation in
Also, make sure that you use the context:annotation-config/ namespace element
in your Spring configuration, and make sure you don't have circular
dependencies ala EJB-SpringBean-EJB etc, which would make the process of
creating the components pretty awkward.
As a note, @Spring is a
OK,
I gave it a quick try. There is a problem with scenarios which imply a circular
dependency between the EJBs and the Spring Deployer.
If the Spring Bean depends on an EJB that needs to be injected with another
Spring Bean from the same ApplicationContext, an initialization failure is to
be