Hi Yann, JPA has already some support there: http://openwebbeans.apache.org/meecrowave/meecrowave-jpa/index.html
For JPA choice was to NOT use @PersistenceContext etc since the implementation wouldn't respect the standards anyway and give the application the control over the units which opens a lot of door in term of enterprise customizations. We also have a JTA module: http://openwebbeans.apache.org/meecrowave/meecrowave-jta/index.html which provides @Inject TransactionManager etc. We don't have yet a JMS module but with microservice trend it can be a good addition. Do you have some ideas? Think integrating activemq 6 wouldn't be that hard, maybe just need a CDI friendly API like public void onSomeMessage(@Observes Message message) {} writing it I realize it is trivial to do it with a MessageListener registered in a startup event (@Initialized(ApplicationScoped.class) for instance). What would you miss? Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-01-26 11:38 GMT+01:00 Yann BLAZART <[email protected] >: > > Hello ! > > Very nice jobs around meecrowave. But in our application, there's often a > couple of JPA and JMS. > > It would be a must have into meecrowave ! :) > > > Regards. > > > This message and any attachments (the "message") is > intended solely for the intended addressees and is confidential. > If you receive this message in error,or are not the intended recipient(s), > please delete it and any copies from your systems and immediately notify > the sender. Any unauthorized view, use that does not comply with its > purpose, > dissemination or disclosure, either whole or partial, is prohibited. Since > the internet > cannot guarantee the integrity of this message which may not be reliable, > BNP PARIBAS > (and its subsidiaries) shall not be liable for the message if modified, > changed or falsified. > Do not print this message unless it is necessary,consider the environment. > > ------------------------------------------------------------ > ---------------------------------------------------------------------- > > Ce message et toutes les pieces jointes (ci-apres le "message") > sont etablis a l'intention exclusive de ses destinataires et sont > confidentiels. > Si vous recevez ce message par erreur ou s'il ne vous est pas destine, > merci de le detruire ainsi que toute copie de votre systeme et d'en avertir > immediatement l'expediteur. Toute lecture non autorisee, toute utilisation > de > ce message qui n'est pas conforme a sa destination, toute diffusion ou > toute > publication, totale ou partielle, est interdite. L'Internet ne permettant > pas d'assurer > l'integrite de ce message electronique susceptible d'alteration, BNP > Paribas > (et ses filiales) decline(nt) toute responsabilite au titre de ce message > dans l'hypothese > ou il aurait ete modifie, deforme ou falsifie. > N'imprimez ce message que si necessaire, pensez a l'environnement. >
