2

Is it possible to use CDI as dependendcy injection container for VRaptor framework?

Chico Sokol
  • 1,254
  • 3
  • 16
  • 24

2 Answers2

4

Apparently not. But VRaptor 4 will support.
More info: http://www.slideshare.net/caelumdev/vraptor-cdiideias

Giovani Guizzo
  • 527
  • 3
  • 13
0

Yes, now it's possible. You can use vraptor-plugin-cdi.

https://github.com/garcia-jj/vraptor-plugin-cdi

  • nice! but actually I was loooking for something more integrated with vraptor (this plugin allow to inject dependencies only in component factories). some people are trying to do achieve this full integration here: [link](https://github.com/asouza/vraptor) – Chico Sokol Apr 02 '13 at 14:21
  • Yeah, me too. Let's wait the VRaptor 4. – Frederico Maia Apr 16 '13 at 01:54