HTML (eu tirei os "<" do código pq o fórum não aceita postar html)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html" lang="pt-BR">
head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
title>Registrar Usuário</title>
/head>
body>
	form id="_id0" method="post" action="/elearning/registra.jsf;jsessionid=6DEA75A9029C1A7956AC203523E2E65F" enctype="application/x-www-form-urlencoded">
		h3>strong>Cadastro de Alunos</strong></h3>
		table>
tbody>
tr>
td>Nome: </td>
td><input type="text" name="_id0:_id3" style=" height : 19px;" /></td>
/tr>
tr>
td>Nome de Usuário: </td>
td><input type="text" name="_id0:_id5" style=" height : 19px;" /></td>
/tr>
tr>
td>Senha: </td>
td><input type="password" name="_id0:_id7" value="" style=" height : 19px;" /></td>
/tr>
tr>
td>Confirmação de Senha: </td>
td><input type="password" name="_id0:_id9" value="" style=" height : 19px;" /></td>
/tr>
tr>
td>Tipo de Logradouro: </td>
td><input type="text" name="_id0:_id11" style=" height : 19px;" /></td>
/tr>
tr>
td>Logradouro: </td>
td><input type="text" name="_id0:_id13" style=" height : 19px;" /></td>
/tr>
tr>
td>Número: </td>
td><input type="text" name="_id0:_id15" value="0" style=" height : 19px;" /></td>
/tr>
tr>
td>Complemento: </td>
td><input type="text" name="_id0:_id17" style=" height : 19px;" /></td>
/tr>
tr>
td>Bairro: </td>
td><input type="text" name="_id0:_id19" style=" height : 19px;" /></td>
/tr>
tr>
td>Cidade: </td>
td><input type="text" name="_id0:_id21" style=" height : 19px;" /></td>
/tr>
tr>
td>UF: </td>
td><input type="text" name="_id0:_id23" style=" height : 19px;" /></td>
/tr>
tr>
td>Curso que deseja realizar: </td>
td><select name="_id0:_id25" size="1">	<option value="1">Banco de Dados</option>
/select></td>
/tr>
/tbody>
/table>
		input type="submit" name="_id0:_id27" value="Cadastrar" />
	input type="hidden" name="_id0" value="_id0" /></form>
/body>
/html>
Bean01:
[code]package elearn.mb;
import java.sql.SQLException;
import elearn.beans.Aluno;
import elearn.beans.Bairro;
import elearn.beans.Cidade;
import elearn.beans.Endereco;
import elearn.beans.Log;
import elearn.beans.Perfil;
import elearn.beans.TLog;
import elearn.beans.User;
import elearn.dao.AlunoDAO;
import elearn.dao.BairroDAO;
import elearn.dao.CidadeDAO;
import elearn.dao.EnderecoDAO;
import elearn.dao.LogDAO;
import elearn.dao.PerfilDAO;
import elearn.dao.TLogDAO;
import elearn.dao.UserDAO;
public class AlunoController
{
private Endereco end;
private Aluno aluno = new Aluno();
private Bairro bairro;
private Cidade cidade;
private Log log;
private TLog tlog;
private User user;
private Perfil perfil = new Perfil();
public Perfil getPerfil()
{
	if(perfil == null)
		perfil = new Perfil();
	return perfil;
}
public void setPerfil(Perfil perfil)
{
	this.perfil = perfil;
}
public Aluno getAluno()
{
	if (aluno == null)
		aluno = new Aluno();
	return aluno;
}
public void setAluno(Aluno aluno)
{
	this.aluno = aluno;
}
public Bairro getBairro()
{
	if (bairro == null)
		bairro = new Bairro();
	return bairro;
}
public void setBairro(Bairro bairro)
{
	this.bairro = bairro;
}
public Cidade getCidade()
{
	if (cidade == null)
		cidade = new Cidade();
	return cidade;
}
public void setCidade(Cidade cidade)
{
	this.cidade = cidade;
}
public Endereco getEnd()
{
	if (end == null)
		end = new Endereco();
	return end;
}
public void setEnd(Endereco end)
{
	this.end = end;
}
public Log getLog()
{
	if (log == null)
		log = new Log();
	return log;
}
public void setLog(Log log)
{
	this.log = log;
}
public TLog getTlog()
{
	if (tlog == null)
		tlog = new TLog();
	return tlog;
}
public void setTlog(TLog tlog)
{
	this.tlog = tlog;
}
public User getUser()
{
	if (user == null)
		user = new User();
	return user;
}
public void setUser(User user)
{
	this.user = user;
}
public String insere()
{
	try
	{
		CidadeDAO cdao = new CidadeDAO();
		cdao.add(cidade);
		end.setCd_cidade(cdao.getLastInsert());
		System.out.println("cidade funcionou!");
		BairroDAO bdao = new BairroDAO();
		bdao.add(bairro);
		end.setCd_bairro(bdao.getLastInsert());
		System.out.println("bairro funcionou!");
		LogDAO ldao = new LogDAO();
		ldao.add(log);
		end.setCd_log(ldao.getLastInsert());
		System.out.println("log funcionou!");
		TLogDAO tldao = new TLogDAO();
		tldao.add(tlog);
		end.setCd_tlog(tldao.getLastInsert());
		System.out.println("tlog funcionou!");
		EnderecoDAO edao = new EnderecoDAO();
		edao.add(end);
		user.setCd_end(edao.getLastInsert());
		System.out.println("endereco funcionou!");
		PerfilDAO pdao = new PerfilDAO();
		perfil.setNome("aluno");
		perfil.setUser_name(user.getUser_name());
		pdao.add(perfil);
		user.setCd_perfil(pdao.getLastInsert());
		System.out.println("perfil funcionou!");
		UserDAO udao = new UserDAO();
		udao.add(user);
		aluno.setCd_user(udao.getLastInsert());
		System.out.println("user funcionou!");
		AlunoDAO adao = new AlunoDAO();
		adao.add(aluno);
	} catch (SQLException e)
	{
		e.printStackTrace();
		System.out.print("Erro ao cadastrar ao banco!");
		return "fail";
	}
	System.out.println("funcionou!");
	return "success";
}
}
[/code]
Bean02:
[code]package elearn.mb;
import java.sql.SQLException;
import java.util.Map;
import java.util.TreeMap;
import elearn.beans.Curso;
import elearn.dao.CursoDAO;
public class CursoController
{
private Curso curso;
public Curso getCurso()
{
	if (curso == null)
		curso = new Curso();
	return curso;
}
public void setCurso(Curso curso)
{
	this.curso = curso;
}
public String insere()
{
	try
	{
		curso.setHtml_curso("/html/"+curso.getHtml_curso());
		CursoDAO dao = new CursoDAO();
		dao.add(curso);
	} catch (SQLException e)
	{
		return "fail";
	}
	return "success";
}
public Map<String, Integer> getListCombo() throws SQLException
{
	CursoDAO dao = new CursoDAO();
	TreeMap<String, Integer> map = new TreeMap<String, Integer>();
	for (Curso cd : dao.getList())
	{
		map.put(cd.getNome(),cd.getCd_curso());
	}
	return map;
}
}
[/code]
registra.jsp
[code]<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html" lang="pt-BR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Registrar Usuário</title>
</head>
<body>
<f:view>
<h:form>
<h3><strong>Cadastro de Alunos</strong></h3>
<h:panelGrid columns="2">
<h:outputText value="Nome: " />
<h:inputText value="#{alunoController.user.nome}"
style=" height : 19px;" />
<h:outputText value="Nome de Usuário: " />
<h:inputText value="#{alunoController.user.user_name}"
style=" height : 19px;" />
<h:outputText value="Senha: " />
<h:inputSecret value="#{alunoController.user.pass}"
style=" height : 19px;" />
<h:outputText value="Confirmação de Senha: " />
<h:inputSecret style=" height : 19px;" />
<h:outputText value="Tipo de Logradouro: " />
<h:inputText value="#{alunoController.tlog.tlog}"
style=" height : 19px;" />
<h:outputText value="Logradouro: " />
<h:inputText value="#{alunoController.log.log}"
style=" height : 19px;" />
<h:outputText value="Número: " />
<h:inputText value="#{alunoController.end.num}"
style=" height : 19px;" />
<h:outputText value="Complemento: " />
<h:inputText value="#{alunoController.end.comp}"
style=" height : 19px;" />
<h:outputText value="Bairro: " />
<h:inputText value="#{alunoController.bairro.bairro}"
style=" height : 19px;" />
<h:outputText value="Cidade: " />
<h:inputText value="#{alunoController.cidade.cidade}"
style=" height : 19px;" />
<h:outputText value="UF: " />
<h:inputText value="#{alunoController.end.uf}"
style=" height : 19px;" />
<h:outputText value="Curso que deseja realizar: " />
<h:selectOneMenu value="#{alunoController.aluno.cd_curso}">
<f:selectItems value="#{cursoController.listCombo}"/>
</h:selectOneMenu>
</h:panelGrid>
<h:commandButton action="#{alunoController.insere}" value="Cadastrar" />
</h:form>
</f:view>
</body>
</html>[/code]