<div dir="ltr">Hi,<div><br></div><div>a great idea. </div><div>What I would never do is the break official dependencies of Tomcat.</div><div>So if you want to use 3.1 servlet spec, you should go with Tomcat 8 (beta).</div>
<div>If you want to go with 3.0 servlet spec, you should go with tomcat 7.</div><div>See: <a href="http://tomcat.apache.org/whichversion.html">http://tomcat.apache.org/whichversion.html</a></div><div><br></div><div>What concerns backwards compatibility, I only see a solution if the code gets clearly separated.</div>
<div>I can think of the following approaches:</div><div>- Yanel on Tomcat 7 gets created in a new branch (either the current branch "master" gets forked into a branch called "tomcat6" and the new tomcat7-version gets commited to master, or you create a new branch called "tomcat7")</div>
<div>- Maybe it would be better to fully create a new github repository for the tomcat7 version</div><div><br></div><div>This way you can fully program against the new Servlet API (be it 3.1, 3.0 or the current version in Yanel).</div>
<div><br></div><div>You could also say that new features of Yanel only go into the latest version (e.g. tomcat7 branch). </div><div>Customers still being on tomcat6 do not have to pay attention to the switch.</div><div><br>
</div><div>Cheers, Balz</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 11:29 AM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I would like to upgrade the servlet spec of Yanel, because Yanel is<br>
currently using servlet spec 2.3, whereas the most recent version of the<br>
servlet spec is now 3.1<br>
<br>
This would allow us to make use of new interfaces like for example<br>
<br>
<a href="http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#getStatus%28%29" target="_blank">http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#getStatus%28%29</a><br>

<br>
The problem is that I guess many people are using for example older<br>
Tomcat versions, which do not support the newer servlet spec yet, see<br>
for example<br>
<br>
<a href="http://tomcat.apache.org/whichversion.html" target="_blank">http://tomcat.apache.org/whichversion.html</a><br>
<br>
Yanel itself includes Tomcat 7.0.25 and we made good experience with it,<br>
but of course we cannot expect that everyone is using newer Tomcat versions.<br>
<br>
WDYT?<br>
<span class="HOEnZb"><font color="#888888"><br>
Michael<br>
--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</font></span></blockquote></div><br></div></div>