I\'ve made a mavenized web application with spring, spring security... Now, I want to add ejb module for database access, I was looking on the internet but I didn\'t find
Have a look here: http://docs.spring.io/spring/docs/4.1.0.BUILD-SNAPSHOT/spring-framework-reference/htmlsingle/#ejb-access-local
You can inject EJB using setter injection. Configure your bean this way:
You can also use tag to be able to inject your EJB: