Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I am not getting one bullet in HFSJ (KB) book. In ServletConfig object they have given that, ServletConfig Parameters are configured in the DD(deployment descriptor). Please any body could light on the point, I am confused about the which parameters of ServletConfig there are trying to explain. Is that the one for Database connection / Bean look parameters ?? or something else.
ServletConfig object is used by the Servlet Container to pass information to the Servlet during it's initialization. Servlet can obtain information regarding initialization parameters and their values using different methods of ServletConfig class.Initialization parameters are name/value pairs used to provide basic information to the Servlet during it's initialization like JDBC driver name, path to database, username, password etc.
If you want to configure the parameters and their values for a particular servlet, then you can go for ServletConfig. And you can retrieve them using the API with respect to the ServletConfig object inside that Servlet (for which you had configured in web.xml).