All, I am +1 for Java7. However, I would like to propose ridding ourselves of Tomcat entirely and embedding a network stack such as Netty (http://netty.io) with a servlet bridge. We have one JSP in the system that generates JSON resources. It could be easily eliminated with a simple servlet that generates JSON from a ResourceBundle. Outside of this JSP. I don't see any other requirements for a JEE container besides hosting a servlet. We would gain a far simpler, self-contained deployment model (a single jar). Additionally, we would gain greater control of the startup and shutdown lifecycle, as well as, threading dynamics. If there is interest in this approach, I have thoughts on how to achieve this embedding and create a lightweight daemon framework that could be used for all CloudStack daemons.
As an aside, I also think we should replace our hand-rolled NIO code with Netty as well. Thanks, -John On Jun 26, 2013, at 9:39 PM, Mike Tutkowski <mike.tutkow...@solidfire.com> wrote: > +1 Sounds like a good idea to move forward to 1.7. > > > On Wed, Jun 26, 2013 at 7:22 PM, Joe Brockmeier <j...@zonker.net> wrote: > >> On Wed, Jun 26, 2013, at 05:36 PM, Hugo Trippaers wrote: >>> However at a certain point we should start to advice people to run >>> CloudStack on java 1.7 as there are no more public security updates to >>> java 1.6. >> >> Previously: http://markmail.org/thread/s2dzo5ib7ox46l4f >> >>> So summarized proposal, make 4.2 the last version to support 1.6 and >>> switch maven source version to 1.7 after we cut the release branch for >>> 4.2. The new reference platform for the next release would be jdk 1.7 and >>> tomcat7 (meaning packaging will be tested on those platforms). >>> >>> So what do you all think of this? If we are ok to do this i would like to >>> start with this right after the release branch cut. This constitutes a >>> major architecture change so i would want this to be in as early as >>> possible in the release cycle. >> >> I'm in favor of this. >> >> Best, >> >> jzb >> -- >> Joe Brockmeier >> j...@zonker.net >> Twitter: @jzb >> http://www.dissociatedpress.net/ >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™*