This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.caelum.filter; | |
import java.io.IOException; | |
import java.util.Enumeration; | |
import java.util.HashMap; | |
import java.util.LinkedHashMap; | |
import java.util.Set; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.caelum.bean; | |
import javax.faces.component.UIForm; | |
/* | |
No faces-config.xml | |
<managed-bean> | |
<managed-bean-name>formularioBean</managed-bean-name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
daemon | |
maxconn 256 | |
defaults | |
mode http | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- ======================================================================= --> | |
<!-- FJ-31 build file --> | |
<!-- ======================================================================= --> | |
<project name="FJ-31" default="ear" basedir="."> | |
<property name="src.dir" value="${basedir}/src"/> | |
<property name="jboss.home" value="/home/SEU_USUARIO/jboss-6.0.0.Final" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="compilar" default="empacotar" basedir="."> | |
<property name="build.dir" value="alguma pasta dentro do projeto" /> | |
<target name="init"> | |
<echo message="Initilzando a construção do projeto" /> | |
<echo message="${build.dir}"/> | |
</target> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="argentum" default="executar"> | |
<property file="build.properties" /> | |
<path id="libs.classpath"> | |
<fileset dir="lib"> | |
<include name="*.jar" /> | |
</fileset> | |
</path> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- ======================================================================= --> | |
<!-- FJ-31 build file for jboss 7 --> | |
<!-- ======================================================================= --> | |
<project name="FJ-31" default="ear" basedir="."> | |
<property name="src.dir" value="${basedir}/src"/> | |
<property name="jboss.home" value="/home/SEU-USUARIO/jboss-as-7.1.1.Final" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
No JBoss AS 7 standalone-jms.xml (dentro da tag security-domains) | |
<security-domain name="fj31domain" cache-type="default"> | |
<authentication> | |
<login-module code="Database" flag="required"> | |
<module-option name="dsJndiName" value="java:/livrariaDS"/> | |
<module-option name="principalsQuery" value="select password from users where user like ?"/> | |
<module-option name="rolesQuery" value="select role, 'Roles' from roles where user like ?"/> | |
</login-module> | |
</authentication> | |
</security-domain> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<beans xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"> | |
</beans> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:aop="http://www.springframework.org/schema/aop" | |
xmlns:tx="http://www.springframework.org/schema/tx" | |
xmlns:security="http://www.springframework.org/schema/security" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd |
OlderNewer