| Author |
JSPs are not managed?
|
Mark Garland
Ranch Hand
Joined: Nov 11, 2006
Posts: 226
|
|
Hi,
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.
Servlets are listed as managed, and so get DI.
JSPs are listed as not getting DI.
But isn't a JSP just compiled into a Servlet anyhow? Seems an odd distinction?
Thanks,
MG
|
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%
|
 |
 |
|
|
subject: JSPs are not managed?
|
|
|