Seria o fim dos servidores de aplicacao?the decline of Java application servers when using docker containers Esse tutorial tem por objetivo apresentar os passos necessarios para a atualizacao do JBoss AS 7.1.1.Final "Brontes" para que seja possivel rodar aplicacoes utilizando o JSF 2.2.Vamos la!O primeiro passo e efetuar o download dos jars de 'impl' e 'api' do Mojarra 2.2Para isso, use as urls abaixo : http://mvnrepository.com/artifact/com.sun.faces/jsf-implhttp://mvnrepository.com/artifact/com.sun.faces/jsf-apiNo momento em que escrevo esse post, as ultimas versoes sao:jsf-impl-2.2.12.jar jsf-api-2.2.12.jarColoque o jar de 'impl' na seguinte pasta: <jboss_home>/modules/com/sun/jsf-impl/mainEdite o arquivo 'module.xml' nesse diretorio e altere o atributo 'resource-root-path' para o nome do jar de 'impl' que voce copiou. No nosso caso, 'jsf-impl-2.2.12.jar'.A versao final do XML ficou assim:<?xml version="1.0" encoding="UTF-8"?><module xmlns="urn:jboss:module:1.1" name="com.sun.jsf-impl"> <properties> <property name="jboss.api" value="private"/> </properties> <dependencies> <module name="javax.faces.api"/> <module name="javaee.api"/> <module name="javax.servlet.jstl.api"/> <module name="org.apache.xerces" services="import"/> <module name="org.apache.xalan" services="import"/> </dependencies> <resources> <resource-root path="jsf-impl-2.2.12.jar"/> <!-- Insert resources here --> </resources></module>Agora coloque o jar de 'api' na seguinte pasta:<jboss_home>/modules/javax/faces/api/mainEdite o arquivo 'module.xml' nesse diretorio e altere o atributo 'resource-root-path'para o nome do jar de 'api' que voce copiou. No nosso caso, 'jsf-api-2.2.12.jar'.Ainda no arquivo 'module.xml', adicione a linha abaixo na secao 'dependencies':<module name="com.sun.jsf-impl"/>A versao final do XML ficou assim:<?xml version="1.0" encoding="UTF-8"?><module xmlns="urn:jboss:module:1.1" name="javax.faces.api"> <dependencies> <module name="javax.el.api" export="true"/> <module name="javax.servlet.api" export="true"/> <module name="javax.servlet.jsp.api" export="true"/> <module name="javax.servlet.jstl.api" export="true"/> <module name="javax.validation.api" export="true"/> <module name="com.sun.jsf-impl"/> </dependencies> <resources> <resource-root path="jsf-api-2.2.12.jar"/> <!-- Insert resources here --> </resources></module>Pronto, seu JBoss esta rodando JSF 2.2. Este e um otimo tutorial para quem vive tendo que atualizar manualmente o Java no Linux. Browsers como o Firefox impedem ou dificultam muito a vida de quem precisa acessar bancos por exemplo se o plugin do Java estiver desatualizado. Seguindo as dicas abaixo, apos a instalacao do Java, o mesmo sera atualizado automaticamente.A quick tip for Debian users who want to install and stay up to date with the latest Oracle Java 8 (JDK8): the WebUpd8 Java 8 PPA works on Debian too since the package is just an installer and all you have to do is manually add the PPA repository to the Software Sources.As a reminder, the Oracle Java 8 PPA repository does not host any Java files but only an installer that automatically downloads and installs Oracle Java 8, like the flashplugin-installer package for instance.To add the WebUpd8 Oracle Java PPA repository to the Software Sources in Debian (tested on Debian Squeeze, but it should work with any Debian version), use the following commands: su - echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 apt-get update apt-get install oracle-java8-installer exit And that's it, Oracle Java 8 (both JDK8 and JRE8) should now be installed and you should receive automatic updates with future Oracle Java 8 versions, under Debian.Setting Java environment variablesTo automatically set up the Java 8 environment variables, you can install the following package: sudo apt-get install oracle-java7-set-default If you've already installed oracle-java6-set-default or oracle-java7-set-default, they will be automatically removed when installing oracle-java7-set-default (and the environment variables will be set for Oracle Java 8 instead).Fonte: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html Depois de