We should probably at least address the request in this forum post to make
the project stage extensible.
http://wiki.jcp.org/boards/index.php?t=419
- Dan Allen
Sent from my Android-powered phone:
An open platform for carriers, consumers
and developers.
On Jan 6, 2010 12:16 AM, "Cay Horstmann" <cay(a)horstmann.com> wrote:
On 01/05/2010 08:14 PM, Ed Burns wrote: >>>>>> >>>>>>
On Mon, 04 Jan 2010
11:21:50 -0800, Jim Drisco...
I think there are two unrelated issues.
1) Should one be able to change the project stage setting on the fly for a
deployed application? Clearly, this is tricky since it affects caching etc.,
and I agree that it isn't an important use case.
2) Should there be a way of setting the project stage without touching
web.xml? The usecase here would be for apps that can do without web.xml,
which is increasingly likely as web fragments catch on. I talked this over
with the GlassFish people a few months ago, and they were receptive to the
concept of global parameters for all web apps, such as setting the project
stage for all apps in a particular server instance.
Still, this points to the fact that the default for the project stage is
probably wrong. For developers and students, not fussing with web.xml is
very handy. At deployment time, it's an easy matter to add a web.xml, or a
parameter in an existing web.xml, that sets the project stage to production.
Cheers,
Cay
--
Cay S. Horstmann |
http://horstmann.com | mailto:cay@horstmann.com