wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring with Tomcat - CDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring with Tomcat - CDI" Watch "Spring with Tomcat - CDI" New topic
Author

Spring with Tomcat - CDI

Joao Bpmn
Greenhorn

Joined: Aug 07, 2013
Posts: 3
Hello,
I need to be able to use CDI using Spring and Tomcat. I was reading in http://stackoverflow.com/questions/3055724/can-spring-understand-inject-replacing-weld-as-a-jsr-299-implementation , that with JSR 330 - https://code.google.com/p/atinject/ It may be possible.
I am using Jboss 7.0 and I have a JSF application using several CDI beans and an Activiti process and I want to be able to use Tomcat instead of Jboss. The application already uses Spring.
The application is similar to this: http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/
I have never tried anything similar and I am new to Activiti, but so far I havenĀ“t found any solution like this.
Has anyone tried this?
Thanks for your attention.
 
 
subject: Spring with Tomcat - CDI
 
Similar Threads
[JSF 2] @javax.faces.bean.ManagedBean or @javax.inject.Named ?
JSF 2.0 and CDI and Spring
How to call function upon loading of JSF application
Spring in Action : Conversation scope for JSF 2 ?
Differences between J2ee 1.5 & J2EE 1.6