A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
JSPs are not managed?
Joined: Nov 11, 2006
Dec 20, 2010 02:36:14
I'm reading EJB3 in Action, page 440.
The authors are discussing how you only get DI if the classes are "managed" - i.e. their lifecycle is managed by the container.
are listed as managed, and so get DI.
JSPs are listed as not getting DI.
But isn't a
just compiled into a
anyhow? Seems an odd distinction?
28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
It is sorta covered in the
JavaRanch Style Guide
subject: JSPs are not managed?
spring dependency lookup
EJB client with DI - @EJB injection doesn't work
Dependency Injection in ServletContextListener
different between managed class and helper class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014