- From: Andrea Campi <
>
- To:
- Subject: [chef] Re: Re: Re: rewriting my tomcat LWRP, how best to group options?
- Date: Tue, 17 Apr 2012 15:17:10 +0200
On Tue, Apr 17, 2012 at 2:59 PM, Edward Sargisson
<
>
wrote:
>
So maybe there's an idea of a "jee_container" cookbook to represent Tomcat,
>
JBoss, WAS, Jetty, etc.
>
>
The setup would go something like:
>
application (WAR location, datasources, JMS, mail, etc. Results in the WAR
>
being download and deployed, a context.xml written and external properties
>
file and log properties file written into place from template)
>
jee_container (has a LWRP/recipe for each supported container, JVM settings,
>
JMX settings, etc)
Not sure a jee_container cookbook is needed, but indeed the java
cookbook could come with an "abstract" LWRP that the "concrete" LWRPs
(Tomcat and so on) could inherit from / mix in.
This would prevent an endless duplication of pretty much the same
stuff all over the place.
Frankly, it looks to me that trying to design a complete solution for
*everything* would be really hard and time-consuming. I'd rather work
in "agile" way and start with just a couple of stacks; then factor out
commonalities and build from there.
Tomcat is the prime candidate since that's what the "legacy"
application cookbook had; Glassfish may as well be a second example.
Andrea
- [chef] Re: Re: rewriting my tomcat LWRP, how best to group options?, (continued)
- [chef] Re: rewriting my tomcat LWRP, how best to group options?, Andrea Campi, 04/15/2012
- [chef] Re: Re: rewriting my tomcat LWRP, how best to group options?, Bryan Berry, 04/15/2012
- [chef] Re: Re: rewriting my tomcat LWRP, how best to group options?, Peter Donald, 04/16/2012
- [chef] Re: Re: rewriting my tomcat LWRP, how best to group options?, Edward Sargisson, 04/17/2012
- [chef] Re: Re: Re: rewriting my tomcat LWRP, how best to group options?, Andrea Campi, 04/17/2012
Archive powered by MHonArc 2.6.16.