CDI with ejb 3.1 , weld-logger on glassfish v3.0.1

前端 未结 2 655
猫巷女王i
猫巷女王i 2020-12-11 13:48

Scenario: 1) create maven ear project, create war project inside 2) add beans.xml to war project`s WEB-INF/ 3) creat simple @Steateless bean

project - http://drp.ly

2条回答
  •  佛祖请我去吃肉
    2020-12-11 14:03

    looks like we cant use Injection of weld logger in ejb in a case of glassfish ejb container because of it is ejb container managed bean and it dont see producer

    Current design is to separate ejb and war module - at list it forks for me.

提交回复
热议问题