开发者

Inject logger in EJB with jboss 5

开发者 https://www.devze.com 2023-03-09 13:02 出处:网络
Hey guys and gals. How can i inject custom Logger in开发者_如何学Go EJB i\'m using jboss 5 ga. Make the custom logger an EJB and

Hey guys and gals. How can i inject custom Logger in开发者_如何学Go EJB i'm using jboss 5 ga.


  • Make the custom logger an EJB and inject it using @EJB annotation (assuming you are using EJB 3.0+).
  • Use an IoC such as Spring or Guice
0

精彩评论

暂无评论...
验证码 换一张
取 消