Questions tagged [jsr299]

Contexts and Dependency Injection for the Java EE platform

The specification: JSR 299

18 questions
0
votes
0 answers

Spring MVC and CDI (Weld)

Is it possible to use Spring MVC and Weld in a Web Application? I'm also using WildFly 10.1 as my Server and RestEasy.
Fábio
  • 3,291
  • 5
  • 36
  • 49
0
votes
1 answer

Useful environment for CDI / weld web-applications

I am new to weld and consider what environment is useful for a web-application using CDI (Weld). I want to use JSF or Wicket for presentation and JPA/Hibernate for my persistence layer (including Transaction-Management). The obvious scenario is to…
mastercrusty
  • 1
  • 1
  • 1
0
votes
2 answers

Weld @Inject ApplicationScope bean creates new instance in every inject point

I'm trying to understand CDI using Weld. Got the next structure: @ApplicationScoped public class MainFacade { @Inject private FooFacade fooFacade; private static int ins=0; public MainFacade() { super(); ins++; …
Minolan
  • 173
  • 3
  • 11
1
2