Is possible to add ALPN to the boot class path in a Java 7 application? If yes, how can we do it?
There're many samples on Internet telling how to do it via Java 8 and Undertow, Tomcat, Jetty, etc..
Do I need to add a security library into my VM? It seems Java 8 already includes them.
Yes, you can add ALPN to Java 7. Follow the same instructions as you would for Java 8:
Just make certain to use the correct version of alpn-boot for your JVM version. See the table here for version compat: http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions