Problems with resource injection in EJBsHi guys, Im having troubles to get my connection factory using annotation resource. It works well with the JNDI lookup but it does not with the annotation, my connection factory is null. This is my c...
Thread @Alternative injection approach for EJB 3.1
@Alternative injection approach for EJB 3.1Hi @ all, the injection of CDI beans allows @Qualifiers and @Alternatives for inject an aonother implementation of services. But CDI doesn't support transaction propagatio, timerservice, security etc. ...
Thread Barrier service restart and dependency injection
Barrier service restart and dependency injectionI have a service depends on jboss.ha:service=HASingletonDeployer,type=Barrier When I stop the Barrier from jmx-console, my service also stopped and destroyed as well. Then if I start the barrier from jmx-console, t...
Ejb3 MBeans External Configuration ?Hello guy's, im kind of new here so first of all I want to thank you for the any support that you will give to me. Here is my question now, iv'e bean searching since 2 day's on and off .. I am an Jboss as 6 ...
Distributed transactionAll: Does anyone have an example of connecting to two databases using JPA (2 persistence.xml) and performing a XA transaction? Thanks
Thread /hibernate.cfg.xml not found in Jboss 6.0.0 Final
/hibernate.cfg.xml not found in Jboss 6.0.0 FinalI would like to know the package structure for placing the hibernate.cfg.xml . placing it in the src folder is not working... I am trying to use hibernate with EJB 3.0. please refer some useful links for...
WebServiceContext proxyRecent discussions showed that beans should have a WebServiceContext proxy injected before they become method ready, which in turn delegates to a ThreadLocal or throws an IllegalArgumentException if the context is not...
jboss-logging on JBoss 6.0.0 is limitedPreviously JBoss used log4j. This was very conveniant especialy for the abstract class AppenderSkeleton. We used this to programmatically add an appender. Now in jboss 6.0.0, they use jboss-logging and...
Thread Adding interceptor at runtime / dynamically
Adding interceptor at runtime / dynamicallyI'm trying to add EJB' AOP intreceptor for Weld, in some deployer. Should this work? Or when does EJB container assemble its AOP interceptors? As I tried debugging, but the interceptor is never hit. This is ...
Thread Cache configurations for EJB3 stateful beans
Cache configurations for EJB3 stateful beansWhile updating the reference docs for EJB3, i found this information for JBossAS-4.x related to Stateful bean caching: Stateful beans are stored in a cache. This cache is responsible for passivated stateful sessions...
Thread Externalizing Scope: Resolving EJB References and Endpoints
Externalizing Scope: Resolving EJB References and EndpointsWe currently leverage DeploymentUnit to address scoping while resolving EJB references or endpoints. For instance: http://anonsvn.jboss.org/repos/jbossas/projects/weld-int/trunk/ejb/src/main/java/org/jbo...
New component ejb3-heksTo make it possible to leap forward instead of walk I'm going to create a new component ejb3-heks. In essence it's a 'no holds barred' component, but for two conditions: keep it small document the intention of each ...
Enhancing the EJB3 PluginI have started a wiki outlining the enhancements to the EJB3 Plugin http://www.jboss.org/community/wiki/EJB3Pluginenhancement. We can discuss the details here and i can then update the wiki accordingly.
SessionContext.getBusinessObject no-interface viewI've committed https://jira.jboss.org/browse/EJBTHREE-2126 which brings BusinessObjectFactory as a plug-point. This can now be overriden within AS with a factory that handles no-interface view.
New metadata component ejb3-effigyI'm creating a new component which should form the single integration point between all core code and the metadata representation used by the runtime. For AS 6 this means JBMETA 2.x.
Thread EJB3 Passivation - Moving away from JBSER for AS6?
EJB3 Passivation - Moving away from JBSER for AS6?I was having a discussion with David and Lincoln yesterday about the https://jira.jboss.org/browse/JBAS-8557 issue which causes passivation failures. Although the issue with that specific JIRA appears to be a classloa...
Thread Deferring instance creation/injection to CDI
Deferring instance creation/injection to CDIThere are a number of JIRA items which currently require CDI to be able to intervene in the process of EJB and EJB interceptor instance creation process (these may not be all the items, but : https://jira.jbos...
Thread EJBTHREE-2143 EjbReferenceResolver for nointerface view
EJBTHREE-2143 EjbReferenceResolver for nointerface viewI'm going to prioritize https://jira.jboss.org/browse/EJBTHREE-2143 and start working on it today. The reason I had not touched it this long, was because even though the implementation was easy, it required some caref...