JBoss development,
A new message was posted in the thread "Deployment of on-demand web
applications":
http://community.jboss.org/message/522078#522078
Author : Stan Silvert
Profile :
http://community.jboss.org/people/stan.silvert@jboss.com
Message:
--------------------------------------------------------------
mailto:stansberry@jboss.com wrote:
Re: the general approach to slimming -- on-demand vs. just keeping stuff out of
profiles...
That's really the core discussion. I like the on-demand approach, and felt like
actually coding after 1.5 months of mostly discussing, so I went for it. But if another
general solution is better, that's what we should do.
Stan, the thing I don't like about the multiple config approach is it somewhat mixes
apples and oranges -- whether I want something included in the initial boot of the server
vs whether I want it at all are two slightly different things.
That's true, they
are slightly different. But let's don't make the perfect the enemy of the good.
I have to agree with Bill on this one. Doing on-demand adds complexity to the system and
uses up valuable development time.
For example,
1) I'm developing with the "cluster" profile. Now I have to wait 18 seconds
on every boot for the admin-console. Ugh. (Believe me, I'm very conscious of the added
boot time from the current "all profile. )
2) I'm developing with the "development" profile. But now I want to look at
the jmx-console or admin-console. I have to switch profiles or create a custom profile to
get that. Ugh.
To solve #1, we would just need "clustered development" and
"clustered produciton" profiles.
For #2, I don't think developers typically use the admin console. (Maybe I'm
wrong?) JMX console should be enough for development and testing.
We'll never please everyone with our pre-defined profiles. But we can make profiles
that please most users most of the time.
My other point is that we need to do the development and production profiles anyway.
Other projects are going to that model and we'll be left behind if we don't
address the development vs. production issue head on. So why not kill two birds with one
stone and move on to other things?
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522078#522078