Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Need guidance on migrating project from Jetty 6 to Jetty9



On 7 June 2017 at 12:20, Pritesh Gajjar <gajjar.pritesh@xxxxxxxxx> wrote:
What all things should be taken into consideration? Any step by step guide available?

Well a very non helpful answer would be to go step by step jetty-6 to 7, 7 to 8, 8 to 9, 9 to 9.1, 9.1 to 9.2, 9.2 to 9.3, 9.3 to 9.4

The point being there is a lot of time and changes from 6 to 9.

The best approach to take depends greatly on how you are using jetty?  As an embedded server or as a webapp container to deploy a standard WAR.

In the former case,  you need to restart with renaming the classes - there is a guide for 6 to 7 here: https://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7/Packages_and_Classes and that will get you over the hump of many name changes, but from 7 to 9 the changes are a bit more incremental and will depend on what parts of jetty you are using.

If you are just using jetty as a WAR container, I'd suggest starting from scratch and configuring a $JETTY_BASE according to the latest documentation and putting your webapp in there.

cheers





 
--
Thanks and Regards,
-Pritesh


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--

Back to the top