Chapter 12. A Bean’s Environment: The Joy of Deployment
You worked hard on that bean. You coded, you compiled, you tested. About a hundred zillion times. The last thing you want to touch is already-tested source code, just because something simple changed in the deployment configuration. Maybe the name of the database is different. Maybe you hard-coded a tax-rate (remember—bean’s can’t access property files). And what if you don’t even have the source code? Maybe you got it from Beans-r-Us, and they won’t sell you the source (not on your budget, anyway). EJB supports bean reuse through the Deployment Descriptor and a bean’s special environment.
Get Head First EJB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.