<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-689822921880012917</id><updated>2012-02-16T03:03:32.237-08:00</updated><title type='text'>ADOLFO ELOY</title><subtitle type='html'>A little about programming</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-7337706171924406715</id><published>2011-10-06T16:47:00.000-07:00</published><updated>2011-10-06T17:10:55.128-07:00</updated><title type='text'>Mais de uma aplicação em um web container</title><summary type='text'>A algum tempo, tenho trabalhado em um projeto WEB com Java semelhante a um portal. Neste portal, as aplicações são executadas em um mesmo container (que pode ser "clusterizado"). Para a construção deste portal, podemos ter alguns iframes que chamam aplicações distintas. Alguns problemas ocorreram durante o desenvolvimento, e um destes problemas merece uma pequena atenção. Imagine um problema </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/7337706171924406715/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=7337706171924406715&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7337706171924406715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7337706171924406715'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2011/10/mais-de-uma-aplicacao-em-um-web.html' title='Mais de uma aplicação em um web container'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-4243192283640053229</id><published>2011-07-11T15:46:00.000-07:00</published><updated>2011-07-11T15:52:40.906-07:00</updated><title type='text'>Opinião sobre o livro Use a Cabeça! Rails</title><summary type='text'>Introdução   Além de deixar minha opinião sobre o livro Use a cabeça - Rails, este post também é uma forma de documentar algumas técnicas para se trabalhar com AJAX e formulários no Rails 3 bem como mostrar algumas das diferenças encontradas nas duas versões do framework. Não considero o livro muito bom nem péssimo. Mas como na maioria dos livros, no final a gente sempre aprende alguma coisa (</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/4243192283640053229/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=4243192283640053229&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4243192283640053229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4243192283640053229'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2011/07/opiniao-sobre-o-livro-use-cabeca-rails.html' title='Opinião sobre o livro Use a Cabeça! Rails'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-6537690572493716659</id><published>2011-04-13T00:00:00.000-07:00</published><updated>2011-04-13T01:14:46.647-07:00</updated><title type='text'>Exemplo de utilização do framework Apache SHIRO para segurança</title><summary type='text'>Este mês iniciei o desenvolvimento de um projeto web de complexidade média. Para este projeto o lema principal é: simplicidade e agilidade no desenvolvimento.Na minha opinião, construir uma aplicação web JEE não é tarefa tão simples. Geralmente alguns frameworks precisam ser configurados e devidamente integrados. Para um projeto parecido, cheguei a utilizar JSF, Spring, Spring-Security e </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/6537690572493716659/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=6537690572493716659&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6537690572493716659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6537690572493716659'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2011/04/exemplo-de-utilizacao-do-framework.html' title='Exemplo de utilização do framework Apache SHIRO para segurança'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-3WWX4MXAbyM/TaVT7epfqDI/AAAAAAAAAFE/C4nXsKdkkkE/s72-c/estruturaprojeto.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-5602939125591148929</id><published>2011-03-27T16:45:00.000-07:00</published><updated>2011-03-27T16:53:20.388-07:00</updated><title type='text'>Question about overloading</title><summary type='text'>When studying for the OCP Java SE 6 Programmer I've get wrong in a question from ExamLab that follows:Given the code, what will be the result of attempting to compile and run the following program?public class Lanka {   public Lanka(Object o) {      System.out.println("Object In");   }   public Lanka(Integer o) {      System.out.println("Integer In");      }   public Lanka(Number o) {      </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/5602939125591148929/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=5602939125591148929&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/5602939125591148929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/5602939125591148929'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2011/03/question-about-overloading.html' title='Question about overloading'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-4372340318345866983</id><published>2011-01-16T16:29:00.000-08:00</published><updated>2011-03-27T19:00:14.443-07:00</updated><title type='text'>Ambiguous Varargs Declaration</title><summary type='text'>Preparing to my certification OCPJP 6, I realized the inquisition mock exam provided on coderanch forum. This mock exam arrises a lot of doubts that I thought I woudn't have when doing my exam.At this post, I will describe a really tricky situation. So tricky that it lead me to wrong two questions at this mock exam.Take a look at the code that follows:public class Test1 { public static void main(</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/4372340318345866983/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=4372340318345866983&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4372340318345866983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4372340318345866983'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2011/01/ambiguous-varargs-declaration.html' title='Ambiguous Varargs Declaration'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-7366965330797626187</id><published>2010-09-07T10:36:00.000-07:00</published><updated>2010-09-07T11:13:08.598-07:00</updated><title type='text'>Utilizando o maven para gerar uma estrutura de projeto baseado no Myfaces.</title><summary type='text'>Este passo a passo foi criado para possibilitar a utilização do maven para automatizar o processo de criação de um projeto através de archetypes para o myfaces. Como tentei utilizar um tutorial da web que nunca dava certo, acabei me baseando no seguinte link: http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven.Obs.: O objetivo deste documento é unicamente definir um passo a passo para </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/7366965330797626187/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=7366965330797626187&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7366965330797626187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7366965330797626187'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2010/09/utilizando-o-maven-para-gerar-uma.html' title='Utilizando o maven para gerar uma estrutura de projeto baseado no Myfaces.'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1485611794818314686</id><published>2010-08-12T08:12:00.000-07:00</published><updated>2010-08-12T08:13:05.595-07:00</updated><title type='text'>Usar ou não DAO com JPA?</title><summary type='text'>Usar ou não DAO com JPA? Uma questão que acho interessante, apesar de já ter sido bastante discutida, me levou a procurar uma boa saída para um projeto em específico. Portanto não coloco aqui a arquitetura que acho melhor ou pior para um sistema, mas sim a que achei melhor para um cenário específico. Acredito que cenários parecidos com este devem se repetir muitas vezes, portanto talvez seja até </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1485611794818314686/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1485611794818314686&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1485611794818314686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1485611794818314686'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2010/08/usar-ou-nao-dao-com-jpa.html' title='Usar ou não DAO com JPA?'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-8531443928968750635</id><published>2009-11-22T17:40:00.000-08:00</published><updated>2009-12-13T11:27:55.836-08:00</updated><title type='text'>EJB3 entities with JBoss AS</title><summary type='text'>Problema:Não consigo iniciar o servidor de aplicação JBoss com persistência JPA, utilizando o transaction-type = RESOURCE_LOCAL.Mensagem exibida pelo JBoss:-------------------------------------------------------------------------------------------------------------------------DEPLOYMENTS IN ERROR:Deployment "persistence.unit:unitName=#webjpa" is in error due to the following reason(s): </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/8531443928968750635/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=8531443928968750635&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8531443928968750635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8531443928968750635'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/11/ejb3-entities-with-jboss-as.html' title='EJB3 entities with JBoss AS'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-3488052312084989470</id><published>2009-11-02T13:52:00.000-08:00</published><updated>2009-11-02T14:12:47.342-08:00</updated><title type='text'>Message Digest com JAVA</title><summary type='text'>Acostumado com a função md5 do php que gera uma String como resultado após um digest, acabei apanhando um pouco no Java.Baseado no post "Java md5 example with MessageDigest", adaptei uma classe para gerar md5 de uma forma um pouco parecida com a do PHP.Abaixo segue o código fonte da classe:import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;/** * SimpleMessageDigest *</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/3488052312084989470/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=3488052312084989470&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3488052312084989470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3488052312084989470'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/11/message-digest-com-java.html' title='Message Digest com JAVA'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-3942975811564358529</id><published>2009-08-07T17:18:00.000-07:00</published><updated>2009-08-07T17:21:55.533-07:00</updated><title type='text'>Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected</title><summary type='text'>Realizando um trabalho com iReport 0.4.1 recebi a mensagem de erro que é título deste post:Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected.Tudo isso porque adicionei um código de barras no meu relatório, e que apesar de compilar, não executava. Depois de algum tempo achando que o problema era com o iReport e que poderia ser um bug do mesmo, encontrei um post na </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/3942975811564358529/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=3942975811564358529&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3942975811564358529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3942975811564358529'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/08/found-class-comsunimagecodecjpegjpegima.html' title='Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-6191789334368320826</id><published>2009-04-24T12:38:00.000-07:00</published><updated>2009-08-07T17:13:36.382-07:00</updated><title type='text'>Integrando o Tomcat com o servidor Web Apache</title><summary type='text'>IntroduçãoEste artigo, oferece uma visão geral de alguns conceitos básicos para a realização da integração entre o Tomcat e o servidor Web Apache. Além dos conceitos, um passo a passo será mostrado para a configuração. Vale lembrar que esta configuração foi realizada em ambiente Linux / Fedora 8.O artigo está dividido nos seguintes tópicos:requisitos: indica o que é necessário para a configuração</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/6191789334368320826/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=6191789334368320826&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6191789334368320826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6191789334368320826'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/04/integrando-o-tomcat-com-o-servidor-web.html' title='Integrando o Tomcat com o servidor Web Apache'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1911504549879974808</id><published>2009-03-11T11:18:00.000-07:00</published><updated>2009-09-17T08:53:29.318-07:00</updated><title type='text'>Java(web) + Eclipse + SVN</title><summary type='text'>Configurando um projeto Java(web) + Eclipse + SVN:Este é um case do desenvolvimento de um projeto Web com Java no Eclipse + Subversion.A partir de um projeto "Dynamic Web Project" já criado no Eclipse, o Subversion foi definidocomo o software controlador de versões para o projeto.Estrutura do diretório do projetoPara isso, foi criada uma cópia do projeto em outro diretório para que fosse possível</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1911504549879974808/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1911504549879974808&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1911504549879974808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1911504549879974808'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/03/configurando-um-projeto-javaweb-eclipse.html' title='Java(web) + Eclipse + SVN'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-4541515115205801384</id><published>2009-01-14T03:09:00.000-08:00</published><updated>2009-01-14T03:13:09.312-08:00</updated><title type='text'>Configurando PHP + Oracle</title><summary type='text'>Este artigo mostra a configuração do PHP com Oracle, em uma máquina com sistema operacionalLinux - CentOS 64 bits com PHP 5.1.6 para conectar em um servidor Oracle 10g.O PHP foi instalado via yum, ou seja, não foi compilado manualmente.Para utilizar o Oracle no PHP, em primeiro lugar é necessário baixar o client do Oracle.Você deve baixar a versão do instant-client correspondente ao seu sistema </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/4541515115205801384/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=4541515115205801384&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4541515115205801384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/4541515115205801384'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/01/configurando-php-oracle.html' title='Configurando PHP + Oracle'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1823110894837193356</id><published>2009-01-13T04:59:00.000-08:00</published><updated>2009-01-13T05:05:24.218-08:00</updated><title type='text'>LOB Oracle + PHP</title><summary type='text'>Este blog iniciou com foco em JAVA, mas como não programo apenas em JAVA, e acabo encontrando problemas em outras plataformas e linguagens, vai se tornar mais comum posts relacionados ao PHP como o de hoje.Neste post vou apenas colocar um exemplo de utilização de campo CLOB com ORACLE + PHP.Abaixo, segue um insert em uma tabela com campo do tipo CLOB:...$sql = "UPDATE TABELA        SET </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1823110894837193356/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1823110894837193356&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1823110894837193356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1823110894837193356'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2009/01/lob-oracle-php.html' title='LOB Oracle + PHP'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-8093660288615172214</id><published>2008-09-21T09:26:00.000-07:00</published><updated>2008-09-21T09:48:44.910-07:00</updated><title type='text'>JAVA2D</title><summary type='text'>Estudando mais um pouco sobre JAVA2D, resolvi fazer um programa bem simples para testar a utilização da classe GeneralPath. Como aplicação resolvi implementar o gráfico da função Seno.Abaixo segue o código fonte:package com.deitel.graphics2d;import java.awt.Color;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.font.GraphicAttribute;import java.awt.geom.GeneralPath;import </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/8093660288615172214/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=8093660288615172214&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8093660288615172214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8093660288615172214'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/09/java2d.html' title='JAVA2D'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_7oBPnQGvqvU/SNZ2pndVlcI/AAAAAAAAABo/HbM4YHiqqU0/s72-c/tela.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-5320534081328462730</id><published>2008-09-13T16:00:00.000-07:00</published><updated>2008-09-13T16:15:39.433-07:00</updated><title type='text'>String Interning and Equality</title><summary type='text'>I was studying about Strings at Deitel book, and the String static method, internal, raised up my attention about the Java String pool mechanism.When we create a literal String in Java, this string is placed at the String pool. So if we create other String with the same content, it will not be placed at the String pool because it already exists on memory. So the reference will point to the same </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/5320534081328462730/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=5320534081328462730&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/5320534081328462730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/5320534081328462730'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/09/string-interning-and-equality.html' title='String Interning and Equality'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-8130043464551719589</id><published>2008-08-03T14:59:00.000-07:00</published><updated>2011-01-16T17:08:30.211-08:00</updated><title type='text'>Cálculo com matrizes</title><summary type='text'>Ando fazendo uma revisão em álgebra linear e comecei a criar uma classe para fazer cálculos básicos com matrizes, para auxiliar em cálculos mais complexos posteriormente.Abaixo segue a classe Matrix.package br.lalgebra.math.matrix;import br.lalgebra.math.errors.MatrixError;public class Matrix{ /**  * figure out the product between a factor and a matrix   * @param f  * @param A  * @return  * @</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/8130043464551719589/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=8130043464551719589&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8130043464551719589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8130043464551719589'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/08/clculo-com-matrizes.html' title='Cálculo com matrizes'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-6343484373319265799</id><published>2008-06-22T18:13:00.000-07:00</published><updated>2008-06-22T18:19:14.732-07:00</updated><title type='text'>Aumentando a resolução do display - Linux Fedora Core 9</title><summary type='text'>Este blog é dedicado para o java e desenvolvimento de sistemas!!!! eu sei disso...mas como também uso este blog para guardar informações que servirão como referência para mimalgum dia, então por isso estou postando isso.Instalei o Fedora Core 9 64 bits, e também o driver da placa NVidia 8600.Porém, a resolução máxima que eu conseguia definir era 1024x768!!!!Não apareciam mais opções no Display </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/6343484373319265799/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=6343484373319265799&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6343484373319265799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/6343484373319265799'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/aumentando-resoluo-do-display-linux.html' title='Aumentando a resolução do display - Linux Fedora Core 9'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1092413825126152898</id><published>2008-06-22T18:09:00.001-07:00</published><updated>2008-06-22T18:11:40.804-07:00</updated><title type='text'>Criando uma conexão via jdbc com o Postgresql</title><summary type='text'>Esse post serve apenas como um guia de referência rápido para criar uma ConnectionFactory para criar conexões com Postgresql (via jdbc).Clique aqui para baixar o driver.package br.com.openfinance;import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;import java.util.Properties;public class ConnectionFactory { public static Connection getConnection() {  Connection </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1092413825126152898/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1092413825126152898&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1092413825126152898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1092413825126152898'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/criando-uma-conexo-via-jdbc-com-o_22.html' title='Criando uma conexão via jdbc com o Postgresql'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-3796387115365038879</id><published>2008-06-22T06:22:00.000-07:00</published><updated>2008-06-22T06:55:11.412-07:00</updated><title type='text'>PermGen Error using Eclipse JEE + TomCat6 + Jdk6</title><summary type='text'>Ao começar a desenvolver sistemas para WEB com JAVA (jsp + servlet), um dos problemas que tive foi um erro gerado pela JVM quando eu executava o eclipse para programar.Eu estava utilizando o Eclipse JEE (64 bits) + JDK6(64) + TomCat6. Após alguns minutos editando algum arquivo no eclipse ou mesmo tentando executar a aplicação, o seguinte erro era gerado e meu eclipse travava:</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/3796387115365038879/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=3796387115365038879&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3796387115365038879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3796387115365038879'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/permgen-error-using-eclipse-jee-tomcat6.html' title='PermGen Error using Eclipse JEE + TomCat6 + Jdk6'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1122621955180219490</id><published>2008-06-20T07:18:00.000-07:00</published><updated>2008-06-20T07:28:22.849-07:00</updated><title type='text'>Criando uma conexão via jdbc com o Oracle através de tnsname definido em string</title><summary type='text'>Criando uma conexão via jdbc com o Oracle através de tnsname definido em stringDiversos tutoriais mostram como conectar no Oracle através de JDBC,criando strings de conexão, carregando drivers, mas para conectar usandoum tnsname do oracle definido em uma string não foi tão fácil para mim.Então para que eu nunca mais tenha dificuldade com isso, abaixo segue um exemplode uma classe que fabrica </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1122621955180219490/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1122621955180219490&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1122621955180219490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1122621955180219490'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/criando-uma-conexo-via-jdbc-com-o.html' title='Criando uma conexão via jdbc com o Oracle através de tnsname definido em string'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1049036162948449793</id><published>2008-06-19T11:58:00.000-07:00</published><updated>2008-06-19T12:30:08.709-07:00</updated><title type='text'>Tomcat/ JSP + Servlets (No Linux)</title><summary type='text'>Tomcat/ JSP + Servlets (No Linux)IntroduçãoEste material foi criado para além de reforçar alguns conceitos, ajudar no momento em que for necessário configurar novamente um ambiente no TomCat, pois toda vez que volto a estudar Java p/ web, acabo apanhando um pouco para configurar o ambiente, definir contextos, deployment applications, invokers e etc.Agora com tudo que preciso neste blog, não terei</summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1049036162948449793/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1049036162948449793&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1049036162948449793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1049036162948449793'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/tomcat-jsp-servlets-no-linux-introduo.html' title='Tomcat/ JSP + Servlets (No Linux)'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_7oBPnQGvqvU/SFquZPtElHI/AAAAAAAAAA8/M__PMqp38ug/s72-c/tomcat.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-7388445831725182211</id><published>2008-06-15T18:03:00.000-07:00</published><updated>2008-10-11T07:06:08.025-07:00</updated><title type='text'>Configuração do JSDK no Linux</title><summary type='text'>Assim como eu já tive problemas para configurar o JDK no Linux, algumas pessoas também podem estar passando por este problema.Quando instalamos o Linux, considerando a maioria das distribuições, geralmente o java já é instalado por default em nosso SO. Geralmente, os arquivos são distribuídos nos diretórios /usr/bin e /usr/lib do sistema.Como a variável de ambiente PATH também já é configurada </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/7388445831725182211/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=7388445831725182211&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7388445831725182211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7388445831725182211'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/06/configurao-do-jsdk-no-linux.html' title='Configuração do JSDK no Linux'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-3289454140997286883</id><published>2008-03-09T16:54:00.000-07:00</published><updated>2008-03-09T17:03:33.506-07:00</updated><title type='text'>JAVA 2D</title><summary type='text'>Comecei a estudar um pouco de JAVA2D, para ajudar nos estudos com JAVA e computação gráfica. Estudei algumas formas básicas, e os objetos principais para criar imagens com o Java (Graphics, Graphics2D, Component, Container, Panel, JComponent e etc). O programa que segue neste post, é apenas uma pequena desmonstração da utlização do Java2d. Para este estudo fiz apenas um relógio que conta os </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/3289454140997286883/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=3289454140997286883&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3289454140997286883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3289454140997286883'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/03/java-2d.html' title='JAVA 2D'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_7oBPnQGvqvU/R9R6qBst0pI/AAAAAAAAAAs/7c3aLTWWkWk/s72-c/Screenshot-Applet+Viewer:+javagraphics.Relogio.class.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-40677195039038127</id><published>2008-02-26T10:27:00.000-08:00</published><updated>2008-02-26T10:36:08.820-08:00</updated><title type='text'>Estruturas de dados com JAVA - Lista encadeada circular</title><summary type='text'>Em uma lista circular, não existem o primeiro e o último nó da mesma forma como explicado nos posts sobre listas simplesmente encadeadas e duplamente encadeadas. Geralmente usamos sentinelas de cabeçalho e rodapé nas estruturas anteriores, porém em uma lista circular, o último elemento possui como próximo, o primeiro elemento. Para percorrer uma lista circular, então é necessário definir um tipo </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/40677195039038127/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=40677195039038127&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/40677195039038127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/40677195039038127'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/02/estruturas-de-dados-com-java-lista_5419.html' title='Estruturas de dados com JAVA - Lista encadeada circular'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-8239721970186696166</id><published>2008-02-26T09:42:00.000-08:00</published><updated>2009-11-02T14:16:50.841-08:00</updated><title type='text'>Estruturas de dados com JAVA - Lista simplesmente encadeada</title><summary type='text'>Neste post, vou iniciar um dos tópcos iniciais sobre algoritmos e estruturas de dados:Listas simplesmente encadeadas. Dada uma estrutura de dado (pode ser uma classe ou um struct em c), podemos aninhar estes elementos de forma sequencial, onde cada elemento aponta para um próximo elemento até que o último elemento não aponte para mais nada. Neste tipo de estrutura podemos identificar um elemento </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/8239721970186696166/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=8239721970186696166&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8239721970186696166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/8239721970186696166'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/02/estruturas-de-dados-com-java-lista_5045.html' title='Estruturas de dados com JAVA - Lista simplesmente encadeada'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-3414350991472338222</id><published>2008-02-26T08:42:00.000-08:00</published><updated>2008-02-26T08:48:31.741-08:00</updated><title type='text'>Estruturas de dados com JAVA - Lista duplamente encadeada</title><summary type='text'>Neste post, vou colocar um exemplo de implementação de uma lista duplamente encadeada:primeiro vamos definir a estrutura de dado para cada nó da lista:package estruturas_de_dados;public class DNode {        private String element;    private DNode prev;    private DNode next;        public DNode(String s, DNode p, DNode n) {        setElement(s);        setPrev(p);        setNext(n);    }    </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/3414350991472338222/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=3414350991472338222&amp;isPopup=true' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3414350991472338222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/3414350991472338222'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/02/estruturas-de-dados-com-java-lista.html' title='Estruturas de dados com JAVA - Lista duplamente encadeada'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-7717946676759993967</id><published>2008-02-25T18:46:00.000-08:00</published><updated>2008-02-25T20:27:58.954-08:00</updated><title type='text'>Genéricos em JAVA - avançado</title><summary type='text'>No post anterior; Genéricos em JAVA - Básico, foi mostrada a utilização de Genéricos através da definição dos tipos que as Collections conteriam. Além deste tipo de utilização de genéricos, pode-se utilizar este conceito para definir métodos genéricos!!!Este tipo de declaração permite definir um tipo que um método pode retornar, e/ou até mesmoos tipos de dados dos parâmetros de um método podem </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/7717946676759993967/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=7717946676759993967&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7717946676759993967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/7717946676759993967'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/02/genricos-em-java-avanado.html' title='Genéricos em JAVA - avançado'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-689822921880012917.post-1903011023346294677</id><published>2008-02-25T16:40:00.000-08:00</published><updated>2008-02-25T17:37:43.258-08:00</updated><title type='text'>Genéricos em JAVA - Básico</title><summary type='text'>Estudando JDBC, acabei tendo interesse em entender o que acontece quando usamos o Class.forName para carregar um Driver para um Database. Para isso, comecei a pesquisar na documentação da Sun, mais detalhes sobre a classe Class. Com isso acabei caindo no método getClass da classe Object (que retorna a classe de um objeto em execução).Observando a definição deste método encontrei o código que </summary><link rel='replies' type='application/atom+xml' href='http://aeloy.blogspot.com/feeds/1903011023346294677/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=689822921880012917&amp;postID=1903011023346294677&amp;isPopup=true' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1903011023346294677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/689822921880012917/posts/default/1903011023346294677'/><link rel='alternate' type='text/html' href='http://aeloy.blogspot.com/2008/02/genricos-em-java-bsico.html' title='Genéricos em JAVA - Básico'/><author><name>Adolfo Eloy</name><uri>http://www.blogger.com/profile/06405137400104153537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
