<?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-11140295</id><updated>2012-02-18T13:00:21.744-08:00</updated><category term='MYSQL'/><category term='jtable'/><category term='flash'/><category term='bruno'/><category term='postgresql'/><category term='drop down'/><category term='visual web pack'/><category term='jmaki'/><category term='netbeans traduccion'/><category term='netbeaans'/><category term='validation'/><category term='javafx composer'/><category term='test'/><category term='jsfclassg'/><category term='liferay'/><category term='java server faces'/><category term='janice'/><category term='netbeans incrementar memoria'/><category term='sun'/><category term='nb6.5'/><category term='p2cnb'/><category term='entrevista'/><category term='heidi'/><category term='closures'/><category term='bittorrent'/><category term='contest'/><category term='scala'/><category term='reports'/><category term='java'/><category term='jasperreport'/><category term='fecha'/><category term='jdk'/><category term='marc21'/><category term='aop'/><category term='cuben'/><category term='dilbert'/><category term='opencti'/><category term='tapresty'/><category term='primefaces'/><category term='temas'/><category term='lift'/><category term='reflexion'/><category term='visual library'/><category term='crud'/><category term='woodstock'/><category term='j2me'/><category term='mattise'/><category term='cali'/><category term='dream team'/><category term='jpa'/><category term='p2snb'/><category term='netbeans platform'/><category term='kenai'/><category term='persistencia'/><category term='matisse'/><category term='|'/><category term='ubuntu'/><category term='plugins'/><category term='bugzilla'/><category term='ruby'/><category term='couchdb'/><category term='m21couchdb'/><category term='wiki'/><category term='glassfish'/><category term='jira'/><category term='tomcat'/><category term='community docs'/><category term='netbeans tv'/><category term='template'/><category term='general'/><category term='forum'/><category term='form'/><category term='bst'/><category term='jxtable'/><category term='netbeans magazine'/><category term='netbeaans weekly newsletter'/><category term='wicket'/><category term='dataclassg'/><category term='ireport'/><category term='javaone'/><category term='envio email'/><category term='panamajug'/><category term='chat'/><category term='parallel'/><category term='uml'/><category term='collab'/><category term='couchdb explorer'/><category term='JUnit'/><category term='chat plugin'/><category term='sitios'/><category term='social network'/><category term='linux'/><category term='javafx'/><category term='ieee'/><category term='ww'/><category term='gmail chat'/><category term='traduccion'/><category term='zembly'/><category term='cvs'/><category term='flisol'/><category term='opensuse'/><category term='jug'/><category term='WebSinergy'/><category term='php'/><category term='ajax'/><category term='swinghacks'/><category term='openjavaday'/><category term='applets'/><category term='swingx'/><category term='netbeans 10'/><category term='blog'/><category term='javacup'/><category term='netbeans'/><category term='netbeans grant'/><category term='databases'/><category term='omegat'/><category term='binding beans'/><category term='congreso'/><category term='augusto'/><category term='sun spot'/><category term='java studio creator'/><category term='fabiola'/><category term='universidad'/><category term='mercurial'/><category term='masaki'/><category term='gmail'/><category term='ftp'/><category term='binding'/><title type='text'>AVBravo</title><subtitle type='html'>Un blog desde Panama sobre NetBeans</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default?start-index=101&amp;max-results=100'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>635</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11140295.post-3994040876846082971</id><published>2012-02-17T12:24:00.003-08:00</published><updated>2012-02-17T12:24:45.347-08:00</updated><title type='text'>Actualizacion del tutorial DataClassG</title><content type='html'>Se actualizo el tutorial de DataClassG, correspondiente a la versión v2.3.0&lt;br /&gt;&lt;a href="https://sites.google.com/site/dataclassg/home"&gt;https://sites.google.com/site/dataclassg/home&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3994040876846082971?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3994040876846082971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3994040876846082971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3994040876846082971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3994040876846082971'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/02/actualizacion-del-tutorial-dataclassg.html' title='Actualizacion del tutorial DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6248123506753768712</id><published>2012-02-09T19:35:00.000-08:00</published><updated>2012-02-09T19:37:14.957-08:00</updated><title type='text'>DataClassG v2.3.0</title><content type='html'>Esta disponible la version &lt;b&gt;DataClassG 2.3.0,&lt;/b&gt; en esta versión se han estandarizado los nombres de los métodos de manera que sea mas facil su uso.&lt;a href="http://plugins.netbeans.org/plugin/39424/dataclassg"&gt;http://plugins.netbeans.org/plugin/39424/dataclassg&lt;/a&gt;Listado de nombres de métodos&lt;br /&gt;&lt;br /&gt;boolean Insert (Class object)&lt;br /&gt;boolean Update (Class object)&lt;br /&gt;&amp;nbsp;boolean UpdatePrimaryKey (Class object_old , Class object)&lt;br /&gt;boolean Delete (Class object)&lt;br /&gt;boolean Delete(String sqldelete)&lt;br /&gt;boolean DeleteAll()&lt;br /&gt;boolean Exists(Class object)&lt;br /&gt;Class findByPrimaryKey(Class object)&lt;br /&gt;findByUsername(Class object)&lt;br /&gt;&amp;nbsp;boolean locateByParameters(Map parametros)&lt;br /&gt;Double Func(String funcion, String campo)&lt;br /&gt;Double Func(String funcion, String campo,String where)&lt;br /&gt;Integer Count()&lt;br /&gt;Integer Count(String sqlquery)&lt;br /&gt;boolean Query(String query)&lt;br /&gt;boolean SelectAll()&lt;br /&gt;boolean Validate(Class object)&lt;br /&gt;&lt;br /&gt;Es decir para crear un registro&lt;br /&gt;Usuarios u = new Usuarios():&lt;br /&gt;UsuariosController uc = new UsuariosController():&lt;br /&gt;u.setUsername("avbravo");&lt;br /&gt;u.setNombre("Aristides");&lt;br /&gt;&lt;br /&gt;&lt;b&gt;//antes&lt;/b&gt;&lt;br /&gt;if(uc.Crear(u)){&lt;br /&gt;}&lt;br /&gt;&lt;b&gt;//ahora&lt;/b&gt;&lt;br /&gt;if(uc.Insert(u)){&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Si observan todo se mantiene igual el cambio es solo en el nombre de los&amp;nbsp;métodos.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6248123506753768712?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6248123506753768712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6248123506753768712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6248123506753768712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6248123506753768712'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/02/dataclassg-v230.html' title='DataClassG v2.3.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2780042043650150154</id><published>2012-02-08T18:56:00.000-08:00</published><updated>2012-02-08T18:59:05.011-08:00</updated><title type='text'>DataClassG 2.2.0</title><content type='html'>Esta Disponible la version 2.2.0 de DataClassG, entre los cambios que tiene esta el soporte para JDK6 y JDK7, puedes selecccionar con que versión del JDK deseas que se genere el código.Ademas se inicializan automáticamente los atributos de las beans.&lt;img  src="http://1.bp.blogspot.com/-hW0xX-PpQZU/TzM1m9ugEFI/AAAAAAAADTI/lIlgdLiIZ-Q/s320/dataclassg.png" /&gt;Descargas desde NetBeans plugins&lt;a href="http://plugins.netbeans.org/plugin/39424"&gt;http://plugins.netbeans.org/plugin/39424&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2780042043650150154?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2780042043650150154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2780042043650150154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2780042043650150154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2780042043650150154'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/02/dataclassg-220.html' title='DataClassG 2.2.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-hW0xX-PpQZU/TzM1m9ugEFI/AAAAAAAADTI/lIlgdLiIZ-Q/s72-c/dataclassg.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7609061618449548151</id><published>2012-01-14T14:44:00.000-08:00</published><updated>2012-01-14T14:44:59.417-08:00</updated><title type='text'>NetBeans 7.1 en Español</title><content type='html'>Ya esta disponible la versión 7.1 de NetBeans en varios idiomas incluyendo el idioma español.&lt;img src="http://1.bp.blogspot.com/-9vSMT3SZ9NI/TxIFAQUhoPI/AAAAAAAADS0/u7Ez359-nw8/s320/Pantallazo-3.png" width="320" /&gt;NetBeans se ha convertido en un IDE amplia mente utilizado y con muchas características.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7609061618449548151?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7609061618449548151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7609061618449548151' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7609061618449548151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7609061618449548151'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/01/netbeans-71-en-espanol.html' title='NetBeans 7.1 en Español'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-9vSMT3SZ9NI/TxIFAQUhoPI/AAAAAAAADS0/u7Ez359-nw8/s72-c/Pantallazo-3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4324446043084986833</id><published>2012-01-05T11:17:00.000-08:00</published><updated>2012-01-05T11:34:13.063-08:00</updated><title type='text'>NetBeans 7.1</title><content type='html'>Ya esta disponible para descargas NetBeans 7.1&lt;br /&gt;Aquí&amp;nbsp;encontraras&amp;nbsp;información&amp;nbsp;sobre esta versión&lt;br /&gt;&lt;a href="http://netbeans.org/community/releases/71/"&gt;http://netbeans.org/community/releases/71/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Puedes ver un video introductorio&lt;br /&gt;&lt;a href="http://netbeans.org/kb/docs/ide/overview-screencast.html"&gt;http://netbeans.org/kb/docs/ide/overview-screencast.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4324446043084986833?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4324446043084986833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4324446043084986833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4324446043084986833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4324446043084986833'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/01/netbeans-71.html' title='NetBeans 7.1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8476805028181055274</id><published>2012-01-04T16:34:00.000-08:00</published><updated>2012-01-04T16:34:30.472-08:00</updated><title type='text'>Inicio de un nuevo Año</title><content type='html'>Este año, empieza con muchas expectativas para los usuarios de NetBeans, con mayor razón, pronto&amp;nbsp;estará&amp;nbsp;disponible la versión 7.1 con muchas mejoras y grandes ventajas para los desarrolladores,&amp;nbsp;también&amp;nbsp;este año veremos el crecimiento de usuarios de Java y otros lenguajes que corren sobre JVM.&lt;br /&gt;A todos mis amigos les deseo lo mejor para este 2012.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8476805028181055274?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8476805028181055274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8476805028181055274' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8476805028181055274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8476805028181055274'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2012/01/inicio-de-un-nuevo-ano.html' title='Inicio de un nuevo Año'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2753687967279191887</id><published>2011-12-30T09:28:00.000-08:00</published><updated>2011-12-30T09:28:32.643-08:00</updated><title type='text'>DataClassG 2.0.2</title><content type='html'>Esta disponible la version 2.0.2 del plugin DataClassG , entre las caracteristicas de esta versión esta el soporte para tipos de datos Set, Enum, DateTime.&lt;br /&gt;Este ha sido probado con la base de datos MYSQL.&lt;br /&gt;Enlace para descargar el plugin&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sitio Web&lt;br /&gt;&lt;a href="https://sites.google.com/site/dataclassg/"&gt;https://sites.google.com/site/dataclassg/&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Ejemplo:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;b id="internal-source-marker_0.03970743343234062"&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;span style="font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mybeans1.seBoxscored(“Yes”);&lt;/span&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (mybeansContoller1.Editar(mybeans1)) {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(" editado");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println("No editado " + mybeansContoller1.getMensaje()); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2753687967279191887?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2753687967279191887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2753687967279191887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2753687967279191887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2753687967279191887'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/12/dataclassg-202.html' title='DataClassG 2.0.2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3813871418465485351</id><published>2011-12-25T12:29:00.000-08:00</published><updated>2011-12-25T13:02:58.885-08:00</updated><title type='text'>Consideraciones sobre un List</title><content type='html'>&lt;br /&gt;Consideraciones sobre List&amp;lt;myclase&amp;gt; l = new ArrayList&amp;lt;&amp;gt;();&lt;br /&gt;Definimos dos clases&lt;br /&gt;&lt;br /&gt;public class User&lt;br /&gt;&amp;nbsp; &amp;nbsp; String username;&lt;br /&gt;&amp;nbsp; &amp;nbsp; String usuario;&lt;br /&gt;&amp;nbsp; &amp;nbsp; String idgrupousuario;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Usergroup grupousuarios; //clase &amp;nbsp;Usergroup&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public User() {&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public User(String username, String usuario, String idgrupousuario) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.username = username;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.usuario = usuario;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.idgrupousuario = idgrupousuario;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;//set y get&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class Usergroup {&lt;br /&gt;&amp;nbsp; &amp;nbsp; String idgrupo;&lt;br /&gt;&amp;nbsp; &amp;nbsp; String grupo;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Usergroup() {&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; public Usergroup(String idgrupo, String grupo) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.idgrupo = idgrupo;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.grupo = grupo;&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;//SET Y GET&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Situación 1:&lt;/b&gt;&lt;br /&gt;Declaramos el objeto gruposusuarios fuera del ciclo.&lt;br /&gt;try {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&amp;lt;user&amp;gt; list = new ArrayList&amp;amp;lt;&amp;amp;gt;();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp; Usergroup grupousuarios = new Usergroup();&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;amp;lt; 3; i++) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User u = new User("user" + i, "name" + i, "admin" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; grupousuarios.setIdgrupo("admin" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; grupousuarios.setGrupo("administrador" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u.setGrupousuarios(grupousuarios);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list.add(u);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (User u1 : list) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(" " + u1.getUsername() + " " + u1.getUsuario() + " " + u1.getGrupousuarios().getIdgrupo() + " " + u1.getGrupousuarios().getGrupo());&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(" Error UsuariosPersistencia" + ex);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;Si &amp;nbsp;lo ejecutamos notaremos que se repetirá el ultimo objeto gruposusuarios en todos los elementos de la lista. Generando una salida incorrecta.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-0YOJefZhDEo/TveNIQIs-qI/AAAAAAAADR8/s0hNbyErSiY/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://3.bp.blogspot.com/-0YOJefZhDEo/TveNIQIs-qI/AAAAAAAADR8/s0hNbyErSiY/s320/Pantallazo-4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Podemos ver lo que ocurre con el Depurador de NetBeans&lt;br /&gt;&amp;nbsp;Primero agregamos el primer objeto de la clase gruposusuarios&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-TlzUK0zSUgI/TveNocVHV_I/AAAAAAAADSU/jPjSzGxqTsk/s1600/Pantallazo-6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://3.bp.blogspot.com/-TlzUK0zSUgI/TveNocVHV_I/AAAAAAAADSU/jPjSzGxqTsk/s320/Pantallazo-6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Ahora cuando agregamos el segundo objeto, este reemplaza a todos los anteriores en la lista.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-gogqoFeLuok/TveNz_ErQKI/AAAAAAAADSg/esi8U07W4c4/s1600/Pantallazo-7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="188" src="http://4.bp.blogspot.com/-gogqoFeLuok/TveNz_ErQKI/AAAAAAAADSg/esi8U07W4c4/s320/Pantallazo-7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Situación 2:&lt;/b&gt;&lt;br /&gt;Declaramos el objeto gruposusuarios dentro del ciclo, así no se repetirá el valor del ultimo objeto en toda la lista.&lt;br /&gt;&amp;nbsp; try {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; List&amp;lt;user&amp;gt; list = new ArrayList&amp;amp;lt;&amp;amp;gt;(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;amp;lt; 3; i++) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; User u = new User("user" + i, "name" + i, "admin" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt; &amp;nbsp;Usergroup grupousuarios = new Usergroup();&lt;/b&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; grupousuarios.setIdgrupo("admin" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; grupousuarios.setGrupo("administrador" + i);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u.setGrupousuarios(grupousuarios);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; list.add(u);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (User u1 : list) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(" " + u1.getUsername() + " " + u1.getUsuario() + " " + u1.getGrupousuarios().getIdgrupo() + " " + u1.getGrupousuarios().getGrupo());&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(" Error UsuariosPersistencia" + ex);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-VhYxrdPDDfk/TveNLasckAI/AAAAAAAADSI/uBpUzw4dP0g/s1600/Pantallazo-5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" src="http://2.bp.blogspot.com/-VhYxrdPDDfk/TveNLasckAI/AAAAAAAADSI/uBpUzw4dP0g/s320/Pantallazo-5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;En el depurador, podemos observar que los valores de gruposusuarios se almacenan correctamente.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-F7qt48wLT7Y/TvePChqYW_I/AAAAAAAADSs/QaEU4vB_Oi0/s1600/Pantallazo-8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://2.bp.blogspot.com/-F7qt48wLT7Y/TvePChqYW_I/AAAAAAAADSs/QaEU4vB_Oi0/s320/Pantallazo-8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3813871418465485351?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3813871418465485351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3813871418465485351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3813871418465485351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3813871418465485351'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/12/consideraciones-sobre-un-list.html' title='Consideraciones sobre un List&lt;Myclase&gt;'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-0YOJefZhDEo/TveNIQIs-qI/AAAAAAAADR8/s0hNbyErSiY/s72-c/Pantallazo-4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7534089941157321205</id><published>2011-12-20T18:53:00.000-08:00</published><updated>2011-12-20T18:53:35.285-08:00</updated><title type='text'>DataClassG 2.0</title><content type='html'>Ya esta disponible la versión 2.0 de DataClassG, el plugin para NetBeans que permite crear tu propio O.R.M&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/dataclassg"&gt;http://plugins.netbeans.org/plugin/39424/dataclassg&lt;/a&gt;&lt;br /&gt;En el sitio&lt;br /&gt;&lt;a href="https://sites.google.com/site/dataclassg/"&gt;https://sites.google.com/site/dataclassg/&amp;nbsp;&lt;/a&gt;&lt;br /&gt;encontraras un tutorial de uso.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7534089941157321205?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7534089941157321205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7534089941157321205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7534089941157321205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7534089941157321205'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/12/dataclassg-20.html' title='DataClassG 2.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-644128583817581739</id><published>2011-12-10T09:46:00.001-08:00</published><updated>2011-12-10T10:05:57.558-08:00</updated><title type='text'>DataClassG version 1.9.6</title><content type='html'>Esta disponible la&amp;nbsp;versión&amp;nbsp;1.9.6 de &amp;nbsp;DataClassG&lt;br /&gt;&lt;div&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Este version se redefinen los metodos ContadorSQL(String sql -&amp;gt; Contador(String sql)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EditarSQL(String sql) -&amp;gt; Editar(String sql)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: x-small;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EliminarSQL(String sql) -&amp;gt; Eliminar(String sql)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-644128583817581739?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/644128583817581739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=644128583817581739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/644128583817581739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/644128583817581739'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/12/dataclassg-version-196.html' title='DataClassG version 1.9.6'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8494969413394328898</id><published>2011-12-09T19:39:00.001-08:00</published><updated>2011-12-09T19:42:40.641-08:00</updated><title type='text'>DataClassG 1.9.5</title><content type='html'>Esta disponible la &amp;nbsp;versión 1.9.5 de DataClassG&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;br /&gt;Esta incluye 4 métodos nuevos.&lt;br /&gt;Contador()&lt;br /&gt;ContadorSQL()&lt;br /&gt;EditarSQL()&lt;br /&gt;EliminarSQL()&lt;br /&gt;Puedes consultar el wiki para ver el detalle de los&amp;nbsp;métodos.&lt;br /&gt;&lt;a href="http://wiki.netbeans.org/TaT_AvbravoDataClassG"&gt;http://wiki.netbeans.org/TaT_AvbravoDataClassG&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8494969413394328898?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8494969413394328898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8494969413394328898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8494969413394328898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8494969413394328898'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/12/dataclassg-195.html' title='DataClassG 1.9.5'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3605777330321103071</id><published>2011-11-30T05:53:00.001-08:00</published><updated>2011-11-30T06:06:21.829-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ireport'/><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>DataClassG Tablas relacionadas con iReport</title><content type='html'>Ampliando el tutorial de DataClassG con iReport.&lt;br /&gt;&lt;b&gt;MANEJANDO MULTIPLES CLASES&lt;/b&gt;&lt;br /&gt;&amp;nbsp;Se relacionan las clases en una clase nueva&lt;img src="http://2.bp.blogspot.com/-4pJFFLIiluo/TtY17jVnQhI/AAAAAAAADPs/Awt6eHxxoFI/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.010308075230568647" style="background-color: transparent; color: #980000; font-family: Arial; font-size: 15px; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Crear la clase&lt;/span&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;public class MyRecibosDetalles {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;String nombre;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;String direccion;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;String municipio;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Recibos recibos;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Recibosdetalles recibosdetalles;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Regimen regimen;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public MyRecibosDetalles() {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public MyRecibosDetalles(String nombre, String direccion, String municipio, Recibos recibos, Recibosdetalles recibosdetalles,Regimen regimen) {&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.nombre = nombre;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.direccion = direccion;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.municipio = municipio;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.recibos = recibos;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.recibosdetalles = recibosdetalles;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.regimen = regimen;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;br /&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;b&gt;En el diseñador de reportes agregar el beans que los relaciona&lt;/b&gt;&amp;nbsp;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-pGXp2N-Hcu4/TtY2mF9kOmI/AAAAAAAADP4/ET6EKLsLoJ8/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-pGXp2N-Hcu4/TtY2mF9kOmI/AAAAAAAADP4/ET6EKLsLoJ8/s320/Pantallazo-4.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;br /&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;br /&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;b&gt;En los campos se mostraran las clases&lt;/b&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;br /&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&amp;nbsp;&lt;img src="http://4.bp.blogspot.com/-LhdOKKKr3QY/TtY22GEjjbI/AAAAAAAADQE/Deg1xIMHCro/s320/Pantallazo-5.png" /&gt;&amp;nbsp;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;br /&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;myrecibosdetalles&gt;&lt;b&gt;Arrastra&lt;/b&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;/myrecibosdetalles&gt;&lt;b&gt;mos por ejemplo recibosdetalles &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;img src="http://1.bp.blogspot.com/-sl-JGwkKLZ4/TtY3HburmII/AAAAAAAADQQ/GaNIzBCHy_Q/s320/Pantallazo-6.png" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;Seleccionamos la propiedad Textfield Expression&lt;/b&gt;&lt;img src="http://4.bp.blogspot.com/-cOnB3oY3G-A/TtY3ZVxWGkI/AAAAAAAADQc/ffZBumc7w64/s320/Pantallazo-7.png" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ahora damos clic en ...seleccionamos la clase recibosdellates y el campo getIdregimen()&lt;img src="http://1.bp.blogspot.com/-s2glsie03LE/TtY3p531BsI/AAAAAAAADQo/5LqjKABoqHE/s320/Pantallazo-8.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3605777330321103071?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3605777330321103071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3605777330321103071' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3605777330321103071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3605777330321103071'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/11/dataclassg-tablas-relacionadas-con.html' title='DataClassG Tablas relacionadas con iReport'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-4pJFFLIiluo/TtY17jVnQhI/AAAAAAAADPs/Awt6eHxxoFI/s72-c/Pantallazo-3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1831919480610700110</id><published>2011-11-28T11:02:00.001-08:00</published><updated>2011-11-28T11:04:26.010-08:00</updated><title type='text'>NetBeans 7.1 RC1</title><content type='html'>NetBeans 7.1 RC1 ya esta disponible para la descarga , puedes bajarla desde este enlace &lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/7.1/rc1/"&gt;http://dlc.sun.com.edgesuite.net/netbeans/7.1/rc1/&lt;/a&gt;Entre las caracteristicas:JavaFXSupport for JavaFX 2.0Support of all three deployment models: Desktop, Applet, JNLPPreloaders to improve application loading experienceCustomized UI controls using CSS3NetBeans PlatformNew Window System APIsEntre otros.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1831919480610700110?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1831919480610700110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1831919480610700110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1831919480610700110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1831919480610700110'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/11/netbeans-71-rc1.html' title='NetBeans 7.1 RC1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8892855376857631582</id><published>2011-10-11T06:36:00.000-07:00</published><updated>2011-10-11T06:36:01.793-07:00</updated><title type='text'>NetBeans Governance Board Election</title><content type='html'>NetBeans Governance Board Election&lt;a href="http://netbeans.org/community/articles/nbelections.html"&gt;http://netbeans.org/community/articles/nbelections.html&lt;/a&gt;Aquí puedes ver el perfil de los candidatos&lt;a href="http://netbeans.org/community/articles/election_profiles.html"&gt;NetBeans Governance Board Election Candidates' Profiles&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8892855376857631582?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8892855376857631582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8892855376857631582' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8892855376857631582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8892855376857631582'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/netbeans-governance-board-election.html' title='NetBeans Governance Board Election'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8606042700495947331</id><published>2011-10-09T13:22:00.001-07:00</published><updated>2011-10-09T13:22:50.927-07:00</updated><title type='text'>DataClassG version 1.9.3.8</title><content type='html'>Se ha actualizado el plugin DataClassG, a la version 1.9.3.8, en la que se incluye el metodo para actualizar claves primarias&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;el tutorial de uso del metodo se ha agregado al wiki&lt;a href="http://wiki.netbeans.org/TaT_AvbravoDataClassG#EditarClavePrimaria.28.29"&gt;http://wiki.netbeans.org/TaT_AvbravoDataClassG#EditarClavePrimaria.28.29&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8606042700495947331?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8606042700495947331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8606042700495947331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8606042700495947331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8606042700495947331'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/dataclassg-version-1938.html' title='DataClassG version 1.9.3.8'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-45973907033432014</id><published>2011-10-06T10:02:00.000-07:00</published><updated>2011-10-06T18:47:17.108-07:00</updated><title type='text'>DataClassG version 1.9.3.7</title><content type='html'>DataClassG, ha sido actualizado a la versión 1.9.3.7 esta versión corrige algunos bugs, sobre todo en el manejo de tablas relacionadas.Disponible en&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-45973907033432014?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/45973907033432014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=45973907033432014' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/45973907033432014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/45973907033432014'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/dataclassg-version-1937.html' title='DataClassG version 1.9.3.7'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-5817897452680891258</id><published>2011-10-05T09:08:00.000-07:00</published><updated>2011-10-05T09:08:48.943-07:00</updated><title type='text'>Historial de Versiones</title><content type='html'>NerBeans 7.1 Beta&lt;img  src="http://1.bp.blogspot.com/-Dd_jOu5oZBc/ToyA9OeKl1I/AAAAAAAADPI/O6OE79rQb8I/s320/nb7.1.png" /&gt;agrega la pestaña de Historial de versiones en la edición de formularios&lt;img  src="http://4.bp.blogspot.com/-oo8mNp6E4ew/ToyAznx31uI/AAAAAAAADPA/WGuTsCn1f3s/s320/history.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-5817897452680891258?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/5817897452680891258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=5817897452680891258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5817897452680891258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5817897452680891258'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/historial-de-versiones.html' title='Historial de Versiones'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Dd_jOu5oZBc/ToyA9OeKl1I/AAAAAAAADPI/O6OE79rQb8I/s72-c/nb7.1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8760241812042979243</id><published>2011-10-04T07:53:00.000-07:00</published><updated>2011-10-04T07:53:49.738-07:00</updated><title type='text'>Guia de Usuario para uso Git en NetBeans</title><content type='html'>Esta guia de usuario muestra como utilizar el soporte de Git en NetBeans 7.1&lt;img  src="http://4.bp.blogspot.com/-9zXySxB13gc/Tosdb42HsQI/AAAAAAAADOw/vdgupbInvKU/s320/netbeans-stamp.png" /&gt;Puedes ver la guía en el siguiente enlace&lt;a href="http://netbeans.org/kb/docs/ide/git.html?intcmp=925655"&gt;Git User Guide&lt;/a&gt;&lt;img src="http://2.bp.blogspot.com/-fLxI9LAekFg/Tosds3qZLqI/AAAAAAAADO4/pIXgNZ2CA9Q/s320/initialize-git-repo-small.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8760241812042979243?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8760241812042979243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8760241812042979243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8760241812042979243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8760241812042979243'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/guia-de-usuario-para-uso-git-en.html' title='Guia de Usuario para uso Git en NetBeans'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-9zXySxB13gc/Tosdb42HsQI/AAAAAAAADOw/vdgupbInvKU/s72-c/netbeans-stamp.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-360168372179022880</id><published>2011-10-03T09:04:00.000-07:00</published><updated>2011-10-03T09:04:33.883-07:00</updated><title type='text'>Disponible NetBeans 7.1 Beta</title><content type='html'>Ya esta disponible la versión 7.1 Beta de NetBeans, con soporte para JavaFX 2.0,la puedes descargar desde el siguiente enlace &lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/7.1/beta/"&gt;http://dlc.sun.com.edgesuite.net/netbeans/7.1/beta/&lt;/a&gt;&lt;img  src="http://2.bp.blogspot.com/-igERl_0rlEo/TonaEH-eLhI/AAAAAAAADOo/tjobXvB_yRk/s320/Pantallazo-10.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-360168372179022880?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/360168372179022880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=360168372179022880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/360168372179022880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/360168372179022880'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/10/disponible-netbeans-71-beta.html' title='Disponible NetBeans 7.1 Beta'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-igERl_0rlEo/TonaEH-eLhI/AAAAAAAADOo/tjobXvB_yRk/s72-c/Pantallazo-10.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4059421489232654773</id><published>2011-09-11T07:32:00.001-07:00</published><updated>2011-09-11T07:34:11.532-07:00</updated><title type='text'>Proximamente DataClasG 2.0</title><content type='html'>Pronto estará disponible la versión 2.0 de DataClassG, la que incluye mejoras en el código, ajustes en el rendimiento, joins.Esta version esta enfocada en el manejo de las relaciones entre (tablas), objetos.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4059421489232654773?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4059421489232654773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4059421489232654773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4059421489232654773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4059421489232654773'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/09/blog-post.html' title='Proximamente DataClasG 2.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4148554369863676529</id><published>2011-09-01T18:36:00.000-07:00</published><updated>2011-09-01T18:36:55.437-07:00</updated><title type='text'>Java.net fuera de servicio</title><content type='html'>Java.net se mantiene fuera de servicio aun después de varios días.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4148554369863676529?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4148554369863676529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4148554369863676529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4148554369863676529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4148554369863676529'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/09/javanet-fuera-de-servicio.html' title='Java.net fuera de servicio'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2060026057650064435</id><published>2011-08-25T05:32:00.000-07:00</published><updated>2011-08-25T05:32:07.621-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeaans'/><title type='text'>NetBeans 7.0.1 en Espanol</title><content type='html'>Ya esta disponible NetBeans 7.0.1 en español&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-ekTXFzefsf8/TlZAlW5qYMI/AAAAAAAADNQ/0JuxmuhsS6s/s320/Pantallazo-1.png" /&gt;&lt;br /&gt;&lt;a href="http://netbeans.org/downloads/"&gt;http://netbeans.org/downloads/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2060026057650064435?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2060026057650064435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2060026057650064435' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2060026057650064435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2060026057650064435'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/netbeans-701-en-espanol.html' title='NetBeans 7.0.1 en Espanol'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-ekTXFzefsf8/TlZAlW5qYMI/AAAAAAAADNQ/0JuxmuhsS6s/s72-c/Pantallazo-1.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6246979214103199921</id><published>2011-08-19T09:22:00.000-07:00</published><updated>2011-08-19T09:22:42.551-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>iReport con DataClassG</title><content type='html'>Cuando deseamos crear reportes con iReport de nuestro API de persistencia creado con DataClassG.&lt;br /&gt;Seguimos estos pasos básicos:&lt;br /&gt;Ir al sitio de Jasper&lt;br /&gt;&lt;a href="http://jasperforge.org/project/ireport"&gt;http://jasperforge.org/project/ireport&lt;/a&gt;&lt;br /&gt;Descargar el plugin de NetBeans y la distribución para linux(esta al usaremos para obtener las librerias que agregaremos a nuestro proyecto).&lt;br /&gt;Instalamos el plugin para NetBeans&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-dM83cPDfiQg/Tk6KbbH3xZI/AAAAAAAADLw/eEPxb7wO6RM/s320/plugin.png" /&gt;&lt;br /&gt;&lt;br /&gt;En el Menú de NetBeans seleccionar Herramientas-&gt;Tools-&gt;Option-&gt;iReport -&gt;Classpath.&lt;br /&gt;Agregamos el JAR&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-DgIJh2HK9yk/Tk6KxJeNvOI/AAAAAAAADL4/dVSUcXW7Xew/s320/Pantallazo-8.png" /&gt;&lt;br /&gt;&lt;br /&gt;Agregamos las librerias al proyecto. Esta las puedes encontrar en el directorio.&lt;br /&gt;iReport-4.1.1-&gt;ireport-&gt;modules-&gt;ext&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-84pAF-ScuaI/Tk6LdZQQCcI/AAAAAAAADMI/r4GT76L8VLI/s320/Pantallazo-10.png" /&gt;&lt;br /&gt;&lt;br /&gt;Listado de las librerias a incluir&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-8fyuaVT6VZM/Tk6LE7LqZ4I/AAAAAAAADMA/n3ongBbuXbQ/s320/Pantallazo-9.png" /&gt;&lt;br /&gt;&lt;br /&gt;Diseñar el Reporte&lt;br /&gt;Creamos un paquete nuevo para almacenar los reportes&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-IaszdPaKTks/Tk6L8F-7rjI/AAAAAAAADMQ/s8E4VVGJycU/s320/Pantallazo-11.png" /&gt;&lt;br /&gt;&lt;br /&gt;Nuevo-&gt;Report-&gt;Empty report&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-HDPZN7NIVbI/Tk6MKr2iEgI/AAAAAAAADMY/X_ol-NQLPBo/s320/Pantallazo-12.png" /&gt;&lt;br /&gt;&lt;br /&gt;Colocamos el nombre usuarios. En el diseño&lt;br /&gt;seleccionamos en la pestaña Reportes -&gt;Reportes-&gt;Edit Query&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-kl0iY7z0TJE/Tk6MdTXlhJI/AAAAAAAADMg/Ya-IX-yDX8k/s320/Pantallazo-13.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionar JavaBean DataSource-&gt; en Class name colocar el nombre del beans correspondiente al proyecto de persistencia. &lt;br /&gt;En este ejemplo org.testpersistence.beans.Usuarios y presionar el &lt;br /&gt;botón Read attributes y seleccionar los atributos cedula y nombre y presionar el botón Add selected field(s), de manera que aparezcan en la parte inferior.&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-M_ux0QUB1-s/Tk6MpaRQ8yI/AAAAAAAADMo/E8ZCManYQKs/s320/Pantallazo-1.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora se muestran los campos&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-F4SeJUGARs0/Tk6NBfMUPJI/AAAAAAAADMw/9-AYBWNNBzE/s320/Pantallazo-2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Arrastramos a la banda de Detalles&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-esQT4e1bks4/Tk6NQ_4OUkI/AAAAAAAADM4/G-UJ9qVK8EE/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora compilamos el reporte &lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-C6a1WTDyMkc/Tk6NdgLTF1I/AAAAAAAADNA/fN9X8TE-1WQ/s320/Pantallazo-5.png" /&gt;&lt;br /&gt;&lt;br /&gt;Invocaremos el Reporte&lt;br /&gt;            HashMap map = new HashMap();&lt;br /&gt;            Usuarios usuarios = new Usuarios();&lt;br /&gt;            UsuariosController uc = new UsuariosController();&lt;br /&gt;            if (uc.Listar()) {&lt;br /&gt;               t.Imprimir(uc.getUsuarioslist(), map);&lt;br /&gt;            } else {&lt;br /&gt;                System.out.println(" no se puede listar");&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creamos el metodo Imprimir()&lt;br /&gt;&lt;br /&gt;private void Imprimir(List&lt;Usuarios&gt; aux, HashMap map) throws JRException {&lt;br /&gt;      try {&lt;br /&gt;             JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(aux);&lt;br /&gt;//Indicamos la ruta del reporte&lt;br /&gt;                 InputStream reporte = (InputStream) getClass().getResourceAsStream("reportes/usuarios.jasper");&lt;br /&gt;                 if (reporte == null) {&lt;br /&gt;                     Mensajeria.Mensaje("No se pudo cargar el reporte");&lt;br /&gt;                 } else {&lt;br /&gt;                     JasperPrint print = JasperFillManager.fillReport(reporte, map, ds);&lt;br /&gt;                     JasperViewer.viewReport(print, false);&lt;br /&gt;                }&lt;br /&gt;        } catch (Exception ex) {&lt;br /&gt;               Mensajeria.MensajeError(ex, "Imprimir()");&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;Reporte&lt;br /&gt;&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-CeDdyS4Bo_w/Tk6NupH5mXI/AAAAAAAADNI/HdW2iNXJdJs/s320/Pantallazo-7.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6246979214103199921?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6246979214103199921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6246979214103199921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6246979214103199921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6246979214103199921'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/ireport-con-dataclassg.html' title='iReport con DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-dM83cPDfiQg/Tk6KbbH3xZI/AAAAAAAADLw/eEPxb7wO6RM/s72-c/plugin.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1930436240754108702</id><published>2011-08-18T19:36:00.001-07:00</published><updated>2011-08-18T19:36:43.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Version 1.9.3.6 DataClassG</title><content type='html'>Eliminacion de la clase Encriptador.java y ajustes en la generacion.&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1930436240754108702?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1930436240754108702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1930436240754108702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1930436240754108702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1930436240754108702'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/version-1936-dataclassg.html' title='Version 1.9.3.6 DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2925458787542729244</id><published>2011-08-11T19:00:00.001-07:00</published><updated>2011-08-11T19:01:44.303-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Version 1.9.3.4 DataClassG</title><content type='html'>Esta nueva versión genera un archivo con la información de proceso indicando los mensajes de error encontrados en las estructuras de tablas, tales como:&lt;br /&gt;. Tablas sin claves primarias&lt;br /&gt;. Tablas con claves foráneas cíclicas.&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-vCTyiUtCI28/TkSJc8UL8YI/AAAAAAAADLo/-GmbhTnNFkI/s320/tablas.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2925458787542729244?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2925458787542729244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2925458787542729244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2925458787542729244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2925458787542729244'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/version-1934-dataclassg.html' title='Version 1.9.3.4 DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-vCTyiUtCI28/TkSJc8UL8YI/AAAAAAAADLo/-GmbhTnNFkI/s72-c/tablas.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1688576322470894682</id><published>2011-08-08T19:23:00.000-07:00</published><updated>2011-08-08T19:23:09.060-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Version 1.9.3.3 DataClassG</title><content type='html'>Esta version corrige un error en el metodo Editar en el api de persistencia y crea un método nuevo EncontrarRegistro() que devuelve un valor booleano si existe el registro.&lt;br /&gt;&lt;br /&gt;Descargar el plugin&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39424/?show=true"&gt;http://plugins.netbeans.org/plugin/39424/?show=true&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;wiki&lt;br /&gt;&lt;a href="http://wiki.netbeans.org/TaT_AvbravoDataClassG"&gt;http://wiki.netbeans.org/TaT_AvbravoDataClassG&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1688576322470894682?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1688576322470894682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1688576322470894682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1688576322470894682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1688576322470894682'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/version-1933-dataclassg.html' title='Version 1.9.3.3 DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7017823415813103633</id><published>2011-08-07T14:24:00.000-07:00</published><updated>2011-08-07T14:24:01.497-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Actualizaci'on del Tutorial sobre DataClassG</title><content type='html'>Incorpore algunas actualizaciones al wiki sobre DataClassG, en las que se incluye las busquedas por fechas&lt;br /&gt;&lt;a href="http://wiki.netbeans.org/TaT_AvbravoDataClassG"&gt;http://wiki.netbeans.org/TaT_AvbravoDataClassG&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7017823415813103633?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7017823415813103633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7017823415813103633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7017823415813103633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7017823415813103633'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/actualizacion-del-tutorial-sobre.html' title='Actualizaci&apos;on del Tutorial sobre DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2222152862225705351</id><published>2011-08-05T13:46:00.000-07:00</published><updated>2011-08-05T14:10:25.404-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0.1</title><content type='html'>Esta disponible NetBeans 7.0.1 con soporte para Java  7.0&lt;br /&gt;varias mejoras, soporte para GlassFish 3.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Más información en &lt;a href="http://netbeans.org/community/releases/70/"&gt;http://netbeans.org/community/releases/70/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2222152862225705351?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2222152862225705351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2222152862225705351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2222152862225705351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2222152862225705351'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/08/netbeans-701.html' title='NetBeans 7.0.1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1712532186905128011</id><published>2011-07-29T12:23:00.000-07:00</published><updated>2011-07-29T12:23:07.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>DataClassG en Groovy</title><content type='html'>Agradezco  a mi amigo  José María Martínez García, por su screenshoot del uso de DataClassG en &lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-E4q9hdPfp4g/TjMG9A39JxI/AAAAAAAADLY/bZEZ9OsIofM/s320/groovy.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1712532186905128011?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1712532186905128011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1712532186905128011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1712532186905128011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1712532186905128011'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/dataclassg-en-groovy.html' title='DataClassG en Groovy'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-E4q9hdPfp4g/TjMG9A39JxI/AAAAAAAADLY/bZEZ9OsIofM/s72-c/groovy.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2243564212265870261</id><published>2011-07-27T19:06:00.000-07:00</published><updated>2011-07-27T19:06:00.188-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Tutorial del uso de DataClassG</title><content type='html'>En el wiki&lt;br /&gt;&lt;a href="http://wiki.netbeans.org/TaT_AvbravoDataClassG"&gt;http://wiki.netbeans.org/TaT_AvbravoDataClassG&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Puedes encontrar un tutorial del uso de DataClassG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2243564212265870261?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2243564212265870261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2243564212265870261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2243564212265870261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2243564212265870261'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/tutorial-del-uso-de-dataclassg.html' title='Tutorial del uso de DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1103978393987106324</id><published>2011-07-26T13:39:00.000-07:00</published><updated>2011-07-26T17:24:05.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Creando tu propio API de persistencia con DataClassG parte 2</title><content type='html'>Obtener los registros&lt;br /&gt;&lt;br /&gt;Usuarios u = new Usuarios();&lt;br /&gt;UsuariosController uc = new UsuariosController();               &lt;br /&gt;if(uc.Listar()){&lt;br /&gt;for(int i =0;i&lt; uc.getUsuarioslist().size();i++){&lt;br /&gt;u =  uc.getUsuarioslist().get(i);&lt;br /&gt;System.out.println("cedula "+ u.getCedula() + "nombre " +u.getNombre());&lt;br /&gt;}&lt;br /&gt;}else{&lt;br /&gt;Mensajeria.Mensaje("No existen registros");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Ejecutar un Query&lt;br /&gt;&lt;br /&gt;* Query&lt;br /&gt;*/&lt;br /&gt;String sql = "nombre= 'aristides villarreal bravo' order by cedula desc";&lt;br /&gt;if (uc.Query(sql)) {&lt;br /&gt;for (int i = 0; i &lt; uc.getUsuarioslist().size(); i++) {&lt;br /&gt;u = uc.getUsuarioslist().get(i);&lt;br /&gt;System.out.println("cedula " + u.getCedula() + "nombre " + u.getNombre());&lt;br /&gt;}&lt;br /&gt;} else {&lt;br /&gt;Mensajeria.Mensaje("No existen registros con esa condicion");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Otra forma&lt;br /&gt;  String sql = "nombre= 'aristides villarreal bravo' order by cedula desc";&lt;br /&gt;        if (uc.Query(sql)) {&lt;br /&gt;           &lt;br /&gt;            for( Usuarios u: uc.getUsuarioslist()){&lt;br /&gt;                   System.out.println("cedula " + u.getCedula() + "nombre " + u.getNombre());&lt;br /&gt;            }&lt;br /&gt;          &lt;br /&gt;        } else {&lt;br /&gt;            Mensajeria.Mensaje("No existen registros con esa condicion");&lt;br /&gt;        }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1103978393987106324?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1103978393987106324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1103978393987106324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1103978393987106324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1103978393987106324'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/creando-tu-propio-api-de-persistencia_26.html' title='Creando tu propio API de persistencia con DataClassG parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-5803373267878642847</id><published>2011-07-26T08:16:00.000-07:00</published><updated>2011-07-26T08:31:46.933-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>Creando tu propio API de persistencia con DataClassG</title><content type='html'>Creamos un proyecto Java utilizando NetBeans&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-wH5BpNy-ecM/Ti7YvB06ZbI/AAAAAAAADJc/qJ4ipykr8yM/s320/test1.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora agregamos el Driver JDBC MYSQL&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-MDEXYgSwPmw/Ti7Y__VVSXI/AAAAAAAADJk/3WUQwo5bSzI/s320/mysql.png" /&gt;&lt;br /&gt;&lt;br /&gt;dar clic en el plugin&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-nmlHKtW2imM/Ti7ZTiWjmJI/AAAAAAAADJs/ocEMQau2y3w/s320/api.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos la base de datos&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-7AlHdEw9-rw/Ti7Zi7B253I/AAAAAAAADJ0/0dg0nkPm-Hs/s320/data.png" /&gt;&lt;br /&gt;&lt;br /&gt;Tenemos elAPI generado&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/--s0obUghaFk/Ti7ZzqKGaBI/AAAAAAAADJ8/9vYdY-YgQmA/s320/apigenerado.png" /&gt;&lt;br /&gt;&lt;br /&gt;Damos clic derecho en el nombre del proyecto y seleccionamos Limpiar y Construir&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-sMhtcIM1Il4/Ti7aJqFt2bI/AAAAAAAADKE/KCb2Uz7o1wQ/s320/build.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora en la carpeta dist de nuestro proyecto tenemos el jar con la persistencia de nuestra base de datos&lt;br /&gt;&gt;&lt;img src="http://4.bp.blogspot.com/-r_42AOes7No/Ti7apPwfTRI/AAAAAAAADKM/p0_5xW4G-SU/s320/jar.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora creamos un nuevo proyecto &lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-pbsmTrI60po/Ti7bBROFmdI/AAAAAAAADKU/rg7pPoT2kg0/s320/test.png" /&gt;&lt;br /&gt;&lt;br /&gt;En las propiedades del proyecto, agregamos el driver jdbc MySQL y el API de persistencia correspondiente al proyecto anterior que creamos.(archivo .jar)&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-3nxEgLOdh-8/Ti7bzdNN-hI/AAAAAAAADKc/CSfY0-9-MIA/s320/pert.png" /&gt;&lt;br /&gt;&lt;br /&gt;Bibliotecas necesarias&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-EMKBzP03prs/Ti7cDUY8R6I/AAAAAAAADKk/F1zGVpOoLAE/s320/all.png" /&gt;&lt;br /&gt;&lt;br /&gt;Esta es la clase principal&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-2ebfRJd5SUQ/Ti7crpGVqgI/AAAAAAAADKs/87VDLeN6lwM/s320/clase.png" /&gt;&lt;br /&gt;&lt;br /&gt;Agregamos el api&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-f8AfKQHA8Sc/Ti7dvv5GQEI/AAAAAAAADK0/q8LvU1bCfRU/s320/Pantallazo.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-5803373267878642847?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/5803373267878642847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=5803373267878642847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5803373267878642847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5803373267878642847'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/creando-tu-propio-api-de-persistencia.html' title='Creando tu propio API de persistencia con DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-wH5BpNy-ecM/Ti7YvB06ZbI/AAAAAAAADJc/qJ4ipykr8yM/s72-c/test1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4207687584599198774</id><published>2011-07-21T11:59:00.000-07:00</published><updated>2011-07-21T12:13:01.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jsfclassg'/><title type='text'>JSFClassG</title><content type='html'>Luego de haber generado las clases con DataClassG. Creamos una plantilla&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-631_IlZEVx4/Tih1z_3TikI/AAAAAAAADHo/qsYXAPZR56U/s320/template.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos el modelo de plantilla&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-JCnKDsjz8vM/Tih2GJ7vyLI/AAAAAAAADHw/QD0n0Rvp-sc/s320/plantilla.png" /&gt;&lt;br /&gt;&lt;br /&gt;Archivo de plantilla creado&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-EisQmVz32iI/Tih2SUpli1I/AAAAAAAADH4/LYl5DQ1jL3A/s320/plantilla.png" /&gt;&lt;br /&gt;&lt;br /&gt;Dar clic en el plugin&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-0iGjKAzD0Ew/Tih2gt2B0vI/AAAAAAAADIA/hBl3gssoXSs/s320/olugin2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Generamos&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-TL7wMHX63bk/Tih2tlOkMwI/AAAAAAAADII/vp5lhfcJRMw/s320/generad.png" /&gt;&lt;br /&gt;&lt;br /&gt;Se generan una carpeta para cada tabla  y los archivos xhtml&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-f3-hcVWc5qU/Tih3aJV_biI/AAAAAAAADIQ/lfxXjw5aKT4/s320/jsf.png" /&gt;&lt;br /&gt;&lt;br /&gt;Configuramos el jdbc&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-7u28rZq01PY/Tih5sr_BN_I/AAAAAAAADIg/BRKrLWibEjo/s320/jdbctest.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ejecutamos el proyecto. Presionar Login: user: test password: test&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-OPknQzMOfcw/Tih39ieH1tI/AAAAAAAADIY/qVaCg8fMdGo/s320/inex.png" /&gt;&lt;br /&gt;&lt;br /&gt;Cuando los logeamos , nos muestra el menú y las diversas opciones&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-p6dj84Oz4OM/Tih6Bjy5acI/AAAAAAAADIo/MJ9wfkFoLsA/s320/tv.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4207687584599198774?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4207687584599198774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4207687584599198774' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4207687584599198774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4207687584599198774'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/jsfclassg.html' title='JSFClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-631_IlZEVx4/Tih1z_3TikI/AAAAAAAADHo/qsYXAPZR56U/s72-c/template.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-9098066954173654669</id><published>2011-07-21T10:10:00.000-07:00</published><updated>2011-07-21T11:52:35.929-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dataclassg'/><title type='text'>DataClassG con Aplicaciones Web</title><content type='html'>Creamos un nuevo proyect Web con NetBeans, &lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-vbqSTVM4l84/Tiha9SKeljI/AAAAAAAADFo/2tWvEathewc/s320/web.png" /&gt;&lt;br /&gt;Servidor indicamos GlassFish&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-eiy5RjYSLuM/TihbP9H3nxI/AAAAAAAADFw/NfeDSWXFKKo/s320/glass.png" /&gt;&lt;br /&gt;En el FrameWorks seleccionamos Java Server Faces y en componentes PrimeFaces&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-ePGoSr9rBRE/Tihbnzrc56I/AAAAAAAADF4/HNtUXnUnLco/s320/web2.png" /&gt;&lt;br /&gt;Proyecto creado&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-lJuKabb7Qfs/Tihb7hia88I/AAAAAAAADGA/WxzpeViA2Ts/s320/weba.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos Servicios -&gt;Drivers -&gt; MySQL&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-08tYrtC1Yps/TihxEzIr0YI/AAAAAAAADGQ/YjmUhxeFpN8/s320/mysql.png" /&gt;&lt;br /&gt;Establecemos una conexión con la base de datos test en mysql&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-dvNluQlckqA/Tihxdufm6LI/AAAAAAAADGY/ySGN0LkJzJQ/s320/tets.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora tenemos la conexión a la base de datos&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-8teHK6Y7k6U/Tihx1Z-UYPI/AAAAAAAADGg/znyRsR67uIE/s320/conexion.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ahora seleccionamos el proyecto y damos clic en el plugin DataClassG&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-jMJzCZx-DQI/Tihy1fg7wSI/AAAAAAAADGw/xqgkkunN0eY/s320/web2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos la conexión a la base de datos test&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-7bY18BzD5Vs/Tihzmy0iL4I/AAAAAAAADG4/yZ5ItoDthHE/s320/webpa.png" /&gt;&lt;br /&gt;&lt;br /&gt;Mensaje de proceso terminado&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/--kVLIPBnZ7A/Tih0Jjo-syI/AAAAAAAADHA/kbz6cEsSCmY/s320/ok.png" /&gt;&lt;br /&gt;&lt;br /&gt;Paquetes y archivos generados&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-eCe9c2gCBxU/Tih0ZD1HVYI/AAAAAAAADHI/Dr5qpbfvYvU/s320/generados.png" /&gt;&lt;br /&gt;&lt;br /&gt;Archivo de propiedades con los campos de las tablas&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-bsecI1YZtQ0/Tih0voTWI_I/AAAAAAAADHQ/H6YWD2H7k7Y/s320/properties.png" /&gt;&lt;br /&gt;&lt;br /&gt;Se agrega automaticamente el  &lt; resource-ref &gt;&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-LouO5W_Or7U/Tih1EVbNN3I/AAAAAAAADHY/ZP7EzG7MafY/s320/webx.png" /&gt;&lt;br /&gt;&lt;br /&gt;Clases generadas&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-dVM-OEG_gh4/Tih1XrDq9bI/AAAAAAAADHg/BQG0e4Dg09s/s320/con.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-9098066954173654669?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/9098066954173654669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=9098066954173654669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9098066954173654669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9098066954173654669'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/dataclassg-con-aplicaciones-web.html' title='DataClassG con Aplicaciones Web'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-vbqSTVM4l84/Tiha9SKeljI/AAAAAAAADFo/2tWvEathewc/s72-c/web.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4180772371195826823</id><published>2011-07-18T10:07:00.000-07:00</published><updated>2011-07-18T10:07:28.720-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><title type='text'>DataClassG</title><content type='html'>Creamos un  proyecto nuevo&lt;br /&gt;&lt;img  src="http://1.bp.blogspot.com/-nlu9_noj5hY/TiRm9aJdbxI/AAAAAAAADFg/aW9OcnN2Zms/s320/proyect.png" /&gt;&lt;br /&gt;&lt;br /&gt;Dar clic en el plugin&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-7kO3wahpDUw/TiRm9DZPK7I/AAAAAAAADFY/ZFhKSJ6g0Ns/s320/pluginbarra.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionar la base de datos&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-qU-BXYNgKT8/TiRm9CVtiqI/AAAAAAAADFQ/8l-lpz6fuJQ/s320/databases.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;El plugin genera los beans, controller and basic API for Persistence&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-rT76ewGcHnw/TiRm8yktDBI/AAAAAAAADFI/aOKF34h30Zo/s320/datagenerated.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4180772371195826823?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4180772371195826823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4180772371195826823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4180772371195826823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4180772371195826823'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/dataclassg.html' title='DataClassG'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-nlu9_noj5hY/TiRm9aJdbxI/AAAAAAAADFg/aW9OcnN2Zms/s72-c/proyect.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6595884214035718415</id><published>2011-07-12T18:50:00.000-07:00</published><updated>2011-07-12T18:50:09.666-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chat plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Actualización del Plugin Gmail Chat para NetBeans</title><content type='html'>En esta actualización se muestra el estado de los contactos en la barra de estado.&lt;br /&gt;Se agrupan los contactos en tres grupos(Disponibles, No Disponibles, Sin Invitacion Chat(Son los usuarios que aun no se ha permito chatear).&lt;br /&gt;&lt;br /&gt;Permite utilizar tamaños de letras mas pequeños&lt;br /&gt;&lt;img border="0" height="223" width="313" src="http://2.bp.blogspot.com/-HdGrjJI_0_s/Thz4rbPWc3I/AAAAAAAADEI/UhEKqyA4AJM/s320/plugin1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="131" width="295" src="http://4.bp.blogspot.com/-5EBLOJWuJcM/Thz5p72OL4I/AAAAAAAADEY/1Eb37YinyDk/s320/Pantallazo.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6595884214035718415?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6595884214035718415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6595884214035718415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6595884214035718415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6595884214035718415'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/actualizacion-del-plugin-gmail-chat.html' title='Actualización del Plugin Gmail Chat para NetBeans'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-HdGrjJI_0_s/Thz4rbPWc3I/AAAAAAAADEI/UhEKqyA4AJM/s72-c/plugin1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3074954223965017815</id><published>2011-07-11T18:46:00.000-07:00</published><updated>2011-07-11T18:46:08.203-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Plugin Gmail Chat para NetBeans version 1.0.7</title><content type='html'>Geertjan Wielenga ha mejorado el código y el diseño del plugin.&lt;br /&gt;Ahora no es necesario colocar en el email @gmail.com&lt;br /&gt;&lt;img border="0" height="150" width="320" src="http://2.bp.blogspot.com/-BmK4RD3wNG0/ThumHe27acI/AAAAAAAADCo/VebdKYRjUo8/s320/diseno1.png" /&gt;&lt;br /&gt;&lt;br /&gt;Tiene un diseño mas organizado que permite una mejor integración con los demás componentes de NetBeans,&lt;br /&gt;&lt;img border="0" height="290" width="320" src="http://1.bp.blogspot.com/-xIHPi8I7GBM/ThumHYuqw0I/AAAAAAAADCw/Zd3prWvEfeo/s320/diseno2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Descarga&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39307/?show=true"&gt;http://plugins.netbeans.org/plugin/39307/?show=true&lt;/a&gt;&lt;br /&gt;&lt;img border="0" height="95" width="320" src="http://3.bp.blogspot.com/-lS0cl68mix8/ThumH1d-7zI/AAAAAAAADC4/RF-daWp_9zg/s320/diseno3.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3074954223965017815?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3074954223965017815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3074954223965017815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3074954223965017815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3074954223965017815'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/plugin-gmail-chat-para-netbeans-version_11.html' title='Plugin Gmail Chat para NetBeans version 1.0.7'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-BmK4RD3wNG0/ThumHe27acI/AAAAAAAADCo/VebdKYRjUo8/s72-c/diseno1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2205772608915448901</id><published>2011-07-11T08:24:00.000-07:00</published><updated>2011-07-11T09:15:19.768-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chat plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Plugin Gmail Chat para NetBeans version 1.0.6</title><content type='html'>Esta versión permite definir el tipo de fuente de letra y el tamaño&lt;br /&gt;&lt;img border="0" height="152" width="320" src="http://1.bp.blogspot.com/-AB1REj2723U/ThsRauyNejI/AAAAAAAADCA/S-IaVNhVcoQ/s320/Pantallazo.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ademas los colores de los mensajes estan diferenciados.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ademas del soporte de html.&lt;br /&gt;&lt;img border="0" height="205" width="238" src="http://4.bp.blogspot.com/-C4vSdWvB9uA/ThsU0j7sH_I/AAAAAAAADCQ/BjZn_rQOX8I/s320/Pantallazo-2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Este muestra la imagen&lt;br /&gt;&lt;img border="0" height="98" width="320" src="http://3.bp.blogspot.com/-sl4_GPaGHLM/ThsVZp27xDI/AAAAAAAADCY/UI8OcE2k_7g/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;&lt;br /&gt;Pueden descargarlo desde&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/"&gt;http://plugins.netbeans.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;En Categorias seleccionar Team Colaboration -&gt; Version del IDE 7.0&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://2.bp.blogspot.com/-ive7_6CYTLY/ThshYXy3jcI/AAAAAAAADCg/VUlo8LtRqzs/s320/Pantallazo-6.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2205772608915448901?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2205772608915448901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2205772608915448901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2205772608915448901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2205772608915448901'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/plugin-gmail-chat-para-netbeans-version.html' title='Plugin Gmail Chat para NetBeans version 1.0.6'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-AB1REj2723U/ThsRauyNejI/AAAAAAAADCA/S-IaVNhVcoQ/s72-c/Pantallazo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1722737793128492233</id><published>2011-07-09T07:47:00.000-07:00</published><updated>2011-07-09T08:23:13.851-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gmail chat'/><title type='text'>Plugin Gmail Chat para NetBeans</title><content type='html'>Hace unos días que estaba interesado en integrar el chat de google dentro de NetBeans en un plugins, ya que estamos trabajando en unos proyectos y la mayor parte de la comunicación la realizamos atraves de google chat.&lt;br /&gt;Despues de instalar el plugin&lt;br /&gt;Puedes descargarlo desde&lt;br /&gt;&lt;a href="http://plugins.netbeans.org/plugin/39307/?show=true"&gt;http://plugins.netbeans.org/plugin/39307/?show=true&lt;/a&gt;&lt;br /&gt;&lt;img border="0" height="150" width="320" src="http://1.bp.blogspot.com/-bEaqKS3FGms/ThhyHbZtiDI/AAAAAAAADB4/YE99nKkQw9A/s320/plugin.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;En el menu de NetBeans. Complementos - Descargado agregar&lt;br /&gt;&lt;img border="0" height="202" width="320" src="http://2.bp.blogspot.com/-KCCCLbSGgLs/ThhrJc2O2JI/AAAAAAAADA4/5mZswhxc8Z4/s320/complemento.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos en el menu de NetBeans -Herramientas- Opciones&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-mRckIb9uCcs/Thho5VNM_nI/AAAAAAAADAw/sHmgMSuv-dU/s320/opciones.png" /&gt;&lt;br /&gt;&lt;br /&gt;Se muestra el icono en la barra&lt;br /&gt;&lt;img border="0" height="33" width="223" src="http://3.bp.blogspot.com/-1U_kn4UADmU/ThhsvVlX4rI/AAAAAAAADBA/aIBziSPv0yc/s320/menu.png" /&gt;&lt;br /&gt;&lt;br /&gt;Al entrar se establece la conexón y nos carga la lista de contactos agrupados en Disponibles y No disponibles&lt;br /&gt;&lt;img border="0" height="320" width="290" src="http://4.bp.blogspot.com/-ucXXWrTFnxk/Thhtqi-HFbI/AAAAAAAADBI/Hnpjs4n7ykE/s320/chat.png" /&gt;&lt;br /&gt;Seleccionamos el contacto y presionamos el boton Add&lt;br /&gt;&lt;img border="0" height="67" width="320" src="http://3.bp.blogspot.com/-aUizA7L28UM/ThhuJdvvtuI/AAAAAAAADBQ/L7I9xUFEjyo/s320/ad1.png" /&gt;&lt;br /&gt;Lo agrega el combo de usuarios conectados y nos muestra la foto del usuario activo&lt;br /&gt;&lt;img border="0" height="74" width="320" src="http://2.bp.blogspot.com/-hhQd6JKqvcE/Thhu3qjFO-I/AAAAAAAADBY/sevQyoiK8nk/s320/combo.png" /&gt;&lt;br /&gt;El boton elimina un usuario del combo&lt;br /&gt;&lt;img border="0" height="35" width="52" src="http://2.bp.blogspot.com/-ndq4VtzJOoM/ThhvGTCC0xI/AAAAAAAADBg/QRTlo1TPTfQ/s320/elimina.png" /&gt;&lt;br /&gt;&lt;br /&gt;Cuando es un usuario que no hemos agregado a la conversación el que nos escribe se muestra una ventana con el mensaje del usuario y se nos pregunta si deseamos agregarlo.&lt;br /&gt;&lt;img border="0" height="257" width="320" src="http://1.bp.blogspot.com/-INRA3udnl5Q/Thhvim_wkhI/AAAAAAAADBo/M58SXE852Nw/s320/hola.png" /&gt;&lt;br /&gt;&lt;br /&gt;Si respondemos si, lo agrega automáticamente y nos muestra el mensaje&lt;br /&gt;&lt;img border="0" height="303" width="320" src="http://1.bp.blogspot.com/-atoEc70LPNU/ThhvyMgKvuI/AAAAAAAADBw/O5L_nln3XYY/s320/mensajee.png" /&gt;&lt;br /&gt;&lt;br /&gt;Este plugin esta en desarrollo, así que se les agradece sus comentarios.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1722737793128492233?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1722737793128492233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1722737793128492233' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1722737793128492233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1722737793128492233'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/plugin-gmail-chat-para-netbeans.html' title='Plugin Gmail Chat para NetBeans'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-bEaqKS3FGms/ThhyHbZtiDI/AAAAAAAADB4/YE99nKkQw9A/s72-c/plugin.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4526135705965811329</id><published>2011-07-01T14:33:00.000-07:00</published><updated>2011-07-01T14:36:46.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Soporte de Idioma en JSF</title><content type='html'>Creamos una clase&lt;br /&gt;&lt;br /&gt;import java.io.Serializable;&lt;br /&gt;import java.util.Locale;&lt;br /&gt;import javax.faces.context.FacesContext;&lt;br /&gt;import javax.annotation.ManagedBean;&lt;br /&gt;import javax.enterprise.context.SessionScoped;&lt;br /&gt;import javax.inject.Named;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;*&lt;br /&gt;* @author avbravo&lt;br /&gt;*/&lt;br /&gt;@ManagedBean&lt;br /&gt;@SessionScoped&lt;br /&gt;@Named(value = "idiomas")&lt;br /&gt;public class Idiomas implements Serializable {&lt;br /&gt;&lt;br /&gt;private static final long serialVersionUID = 1L;&lt;br /&gt;&lt;br /&gt;public Idiomas() {&lt;br /&gt;}&lt;br /&gt;private static String locale = Locale.getDefault().getDisplayLanguage();&lt;br /&gt;&lt;br /&gt;public void setLocale(String locale) {&lt;br /&gt;this.locale = locale;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public synchronized String getLocale() {&lt;br /&gt;return locale;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public synchronized String changeLanguage() {&lt;br /&gt;return "changed";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public String englishAction() {&lt;br /&gt;FacesContext context = FacesContext.getCurrentInstance();&lt;br /&gt;context.getViewRoot().setLocale(Locale.ENGLISH);&lt;br /&gt;this.locale = "en";&lt;br /&gt;return null;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public String spanishAction() {&lt;br /&gt;FacesContext context = FacesContext.getCurrentInstance();&lt;br /&gt;context.getViewRoot().setLocale(new Locale("es"));&lt;br /&gt;this.locale = "es";&lt;br /&gt;return null;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;En la pagina xhtml, en el head&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt; f:view locale="#{idiomas.locale}"&gt;&lt;/ f:view&gt;&lt;br /&gt;y creamos commandLink&lt;br /&gt;&lt; h:commandLink action="#{idiomas.englishAction}" value="#{mensajes['idioma.english']}" /&gt;&lt;br /&gt;&lt; h:commandLink action="#{idiomas.spanishAction}" value="#{mensajes['idioma.spanish']}"  /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4526135705965811329?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4526135705965811329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4526135705965811329' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4526135705965811329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4526135705965811329'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/07/soporte-de-idioma-en-jsf.html' title='Soporte de Idioma en JSF'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2595305100870459636</id><published>2011-06-30T07:11:00.000-07:00</published><updated>2011-06-30T07:11:30.734-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0.1 RC1 disponible</title><content type='html'>Ya esta disponible la versión NetBeans 7.0.1 RC1  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="165" width="320" src="http://3.bp.blogspot.com/-Ys4lUWP8wYE/TgyDr8aB1LI/AAAAAAAAC_8/DzHrQiMz7hY/s320/Pantallazo-24.png" /&gt;&lt;br /&gt;&lt;br /&gt;La puedes descargar desde el siquiente enlace&lt;br /&gt;&lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/7.0.1/rc1/"&gt;http://dlc.sun.com.edgesuite.net/netbeans/7.0.1/rc1/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2595305100870459636?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2595305100870459636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2595305100870459636' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2595305100870459636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2595305100870459636'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/06/netbeans-701-rc1-disponible.html' title='NetBeans 7.0.1 RC1 disponible'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Ys4lUWP8wYE/TgyDr8aB1LI/AAAAAAAAC_8/DzHrQiMz7hY/s72-c/Pantallazo-24.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8421064189198337809</id><published>2011-06-07T12:59:00.000-07:00</published><updated>2011-06-07T13:19:59.620-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cali'/><title type='text'>Campus Software Party Cali-Colombia Exposiciones</title><content type='html'>Un evento muy bien organizado por mis amigos de la &lt;a href="http://unicatolica.edu.co/web/index.php"&gt;Universidad Catolica de Cali&lt;/a&gt;, realmente una fiesta de software libre/abierto, en la que participaron desde diversos lugares(Cali,Ibagüe, Pereira, y Bogota).&lt;br /&gt;&lt;img border="0" height="320" width="224" src="http://2.bp.blogspot.com/-Utxyh_BAevE/Te6CAjQPQhI/AAAAAAAAC-k/azwFhctSI7o/s320/Afiche.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;Hubieron exposiciones y varios proyectos interesantes, muchos implementados en Java.&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://1.bp.blogspot.com/-mBKuXmKQPdI/Te6Cs84hHtI/AAAAAAAAC-s/up2euuVZl5Q/s320/SDC10837.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://2.bp.blogspot.com/-LXxQcNv75_Y/Te6CtURsH3I/AAAAAAAAC-0/FKiIkClwPeU/s320/SDC10832.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://2.bp.blogspot.com/-3-peuG0EKZM/Te6Ct8GGOlI/AAAAAAAAC-8/OLZExB6VB44/s320/SDC10795.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://1.bp.blogspot.com/-mswFd9E-EH4/Te6CuYknKWI/AAAAAAAAC_E/oQYe4q5-Kzw/s320/SDC10803.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://1.bp.blogspot.com/-WKPOsUzIOm4/Te6Cu4JpE5I/AAAAAAAAC_M/sDnzNkg5dCM/s320/SDC10806.JPG" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8421064189198337809?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8421064189198337809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8421064189198337809' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8421064189198337809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8421064189198337809'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/06/campus-software-party-cali-colombia_07.html' title='Campus Software Party Cali-Colombia Exposiciones'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Utxyh_BAevE/Te6CAjQPQhI/AAAAAAAAC-k/azwFhctSI7o/s72-c/Afiche.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8979112695459244558</id><published>2011-06-06T15:17:00.000-07:00</published><updated>2011-06-06T15:20:16.873-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cali'/><title type='text'>Campus Software Party  Cali-Colombia</title><content type='html'>Los estudiantes preparando sus tiendas de campaña&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://4.bp.blogspot.com/-RFS4sQcBQKg/Te1RsryKNBI/AAAAAAAAC-M/C93THqBSGhE/s320/SDC10815.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;Mi presentación&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://2.bp.blogspot.com/-ZfGI5e9dstM/Te1RswuHJDI/AAAAAAAAC-U/Ep1I_n0Cg50/s320/SDC10841.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;asistentes&lt;br /&gt;&lt;img border="0" height="240" width="320" src="http://1.bp.blogspot.com/-EKr0-Aj2RjI/Te1RtRfALhI/AAAAAAAAC-c/rAeh5WiP9Vg/s320/SDC10829.JPG" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8979112695459244558?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8979112695459244558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8979112695459244558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8979112695459244558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8979112695459244558'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/06/campus-software-party-cali-colombia.html' title='Campus Software Party  Cali-Colombia'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-RFS4sQcBQKg/Te1RsryKNBI/AAAAAAAAC-M/C93THqBSGhE/s72-c/SDC10815.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3950240111128184089</id><published>2011-06-06T14:57:00.000-07:00</published><updated>2011-06-06T14:57:36.181-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cali'/><title type='text'>Campus Software Party with NetBeans in Colombia</title><content type='html'>&lt;a href="http://netbeans.dzone.com/nb-colombia-software-party"&gt;Articulo en Dzone sobre el primer Campus Software Party&lt;/a&gt; realizado en la ciudad de Cali-Colombia y en el cual tuve el placer de asistir.&lt;br /&gt;Realmente un evento muy bien organizado que reunió estudiantes y docentes de varias ciudades de Colombia, mis agradecimientos a mis amigos de Cali.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3950240111128184089?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3950240111128184089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3950240111128184089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3950240111128184089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3950240111128184089'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/06/campus-software-party-with-netbeans-in.html' title='Campus Software Party with NetBeans in Colombia'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3869194609938272253</id><published>2011-05-28T12:17:00.000-07:00</published><updated>2011-05-28T12:39:33.727-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Plugin Generador Java Server Faces</title><content type='html'>Luego de haber creado el proyecto Web y usar el generador de clases ahora usaremos el plugin generador Java Server Faces&lt;br /&gt;1. Creamos una plantilla &lt;br /&gt;&lt;img border="0" height="179" width="320" src="http://1.bp.blogspot.com/-sp9UVsLk8oQ/TeFJJiH78ZI/AAAAAAAAC8I/KO6VRsKjzXk/s320/Pantallazo-24.png" /&gt;&lt;br /&gt;2. Seleccionamos la plantilla&lt;br /&gt;&lt;img border="0" height="267" width="320" src="http://3.bp.blogspot.com/-eeg5Fg33-YQ/TeFJcwDw84I/AAAAAAAAC8Q/VQa4DkNw-DA/s320/Pantallazo-25.png" /&gt;&lt;br /&gt;&lt;br /&gt;3.El proyecto con la plantilla generado&lt;br /&gt;&lt;img border="0" height="189" width="246" src="http://2.bp.blogspot.com/-qvX5haFjds4/TeFJvxRLWfI/AAAAAAAAC8Y/lggi83udshU/s320/Pantallazo-26.png" /&gt;&lt;br /&gt;&lt;br /&gt;4.El plugin generador de clases agrega el resource-ref en el archivo web.xml&lt;br /&gt;&lt;img border="0" height="132" width="320" src="http://3.bp.blogspot.com/-psDlyjRnJrY/TeFKPa7SfwI/AAAAAAAAC8g/pENRL6jLS3g/s320/Pantallazo-27.png" /&gt;&lt;br /&gt;&lt;br /&gt;5. Ahora damos clic en el plugin Generador Java Server Faces&lt;br /&gt;&lt;img border="0" height="28" width="38" src="http://3.bp.blogspot.com/-vlS5A8jhvoI/TeFIoISHJPI/AAAAAAAAC8A/YdWXkCbnSJI/s320/Pantallazo-23.png" /&gt;&lt;br /&gt;&lt;br /&gt;6.El plugin nos muestra las plantillas y presionamos el botón generar.&lt;br /&gt;&lt;img border="0" height="176" width="320" src="http://3.bp.blogspot.com/-1NfNkhSanmE/TeFK8NnT_AI/AAAAAAAAC8o/YBGEUajavl8/s320/Pantallazo-28.png" /&gt;&lt;br /&gt;7. El plugin genera el directorio modulos donde estarán  Login.xhtml, Menu.xhtml y una carpeta para cada tabla con los diversas opciones.&lt;br /&gt;&lt;img border="0" height="320" width="234" src="http://2.bp.blogspot.com/-hC0feUwg0xw/TeFLiHw6kLI/AAAAAAAAC8w/nSXvLpsAkPs/s320/Pantallazo-29.png" /&gt;&lt;br /&gt;&lt;br /&gt;8.También agrega el menu primefaces a la plantilla&lt;br /&gt;&lt;img border="0" height="190" width="320" src="http://3.bp.blogspot.com/-OzplvyG85as/TeFLyAHnj-I/AAAAAAAAC84/ZGGlhoR4Grc/s320/Pantallazo-30.png" /&gt;&lt;br /&gt;9. Entramos a la administración de glassfish y creamos el pool de conexiones&lt;br /&gt;10. Ejecutamos el proyecto&lt;br /&gt;11. Tenemos la aplicación generada&lt;br /&gt;&lt;img border="0" height="87" width="320" src="http://3.bp.blogspot.com/-6csC0-vygEA/TeFMU3bgLEI/AAAAAAAAC9A/92NN8ZnfaTQ/s320/Pantallazo-31.png" /&gt;&lt;br /&gt;&lt;br /&gt;12. Presionamos el botón login y nos muestra el dialogo&lt;br /&gt;&lt;img border="0" height="200" width="320" src="http://4.bp.blogspot.com/-RI40HMYtJxE/TeFMkN2Md3I/AAAAAAAAC9I/Y3solPtqVQ4/s320/Pantallazo-32.png" /&gt;&lt;br /&gt;&lt;br /&gt;13.Se habilita el menu una vez que nos hayamos logeado&lt;br /&gt;&lt;img border="0" height="198" width="150" src="http://4.bp.blogspot.com/-hS6mpn4Qa9Y/TeFM8Ytf4II/AAAAAAAAC9Q/MvYF9bs7CXY/s320/Pantallazo.png" /&gt;&lt;br /&gt;14. Seleccionamos Crear&lt;br /&gt;&lt;img border="0" height="108" width="320" src="http://2.bp.blogspot.com/-SWb708WHowA/TeFOZfZNMgI/AAAAAAAAC9Y/oZd23uNk0jI/s320/Pantallazo-1.png" /&gt;&lt;br /&gt;&lt;br /&gt;15. Ahora seleccionamos la opción Listar&lt;br /&gt;&lt;img border="0" height="98" width="320" src="http://2.bp.blogspot.com/-JtS-UtjAPfk/TeFOxPAaOcI/AAAAAAAAC9g/n7K1o5anLNI/s320/Pantallazo-2.png" /&gt;&lt;br /&gt;Nos muestra los registros.&lt;br /&gt;&lt;br /&gt;16. xhtml generados&lt;br /&gt;&lt;img border="0" height="207" width="320" src="http://1.bp.blogspot.com/-ChWWq0Hx6tw/TeFPFh2r_wI/AAAAAAAAC9o/NuSWTHuCgdU/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;17. Clase Controller para crear el registro&lt;br /&gt;&lt;img border="0" height="153" width="320" src="http://2.bp.blogspot.com/-B66CsfxEBSw/TeFPYw6P9eI/AAAAAAAAC9w/d7DQSOeu9qQ/s320/Pantallazo-4.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3869194609938272253?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3869194609938272253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3869194609938272253' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3869194609938272253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3869194609938272253'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/plugin-generador-java-server-faces.html' title='Plugin Generador Java Server Faces'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-sp9UVsLk8oQ/TeFJJiH78ZI/AAAAAAAAC8I/KO6VRsKjzXk/s72-c/Pantallazo-24.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-29109278718569068</id><published>2011-05-28T11:53:00.000-07:00</published><updated>2011-05-28T12:04:24.436-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Plugin Generador de clases Java</title><content type='html'>Jugando un poco con NetBeans platform, estoy en el desarrollo de un API de persistencia y dos plugins para integrarlos con NetBeans IDE.&lt;br /&gt;&lt;br /&gt;&lt;img border="0" height="62" width="298" src="http://1.bp.blogspot.com/-GlRdfk8iPxg/TeFCnAAJKMI/AAAAAAAAC6g/5eHwaXWYX0k/s320/Pantallazo-11.png" /&gt;&lt;br /&gt;&lt;br /&gt;El pluging &lt;br /&gt;&lt;img border="0" height="34" width="35" src="http://4.bp.blogspot.com/-S0iYMPTfKGk/TeFCzEzY87I/AAAAAAAAC6o/TBmDOGsY3Oo/s320/Pantallazo-12.png" /&gt;&lt;br /&gt;Genera los beans de las clase de la base de datos, las clases controladores y maneja la persistencia. &lt;br /&gt;&lt;br /&gt;Pasos:&lt;br /&gt;1. Creamos un proyecto Web con NetBeans. Archivo-&gt;Proyecto Nuevo-&gt;Seleccionar Java Web -&gt; Web Application&lt;br /&gt;&lt;img border="0" height="200" width="320" src="http://3.bp.blogspot.com/-CwsjSYH-Ggg/TeFDVjIFq_I/AAAAAAAAC6w/JClnW7Y-OYU/s320/Pantallazo-13.png" /&gt;&lt;br /&gt;2. Frameworks seleccionamos Java Server Faces y en componentes Primefaces&lt;br /&gt;&lt;img border="0" height="150" width="320" src="http://3.bp.blogspot.com/-MVwKIVM2prw/TeFDmyDsSVI/AAAAAAAAC64/i7GYefosC0o/s320/Pantallazo-14.png" /&gt;&lt;br /&gt;3. Se genera el proyecto&lt;br /&gt;&lt;img border="0" height="171" width="240" src="http://2.bp.blogspot.com/-S5w9m95ZreY/TeFE6Yn9q8I/AAAAAAAAC7Q/iZQvDyGxTe4/s320/Pantallazo-17.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.En Archivo-&gt;Propiedades del proyecto agregar el driver jdbc de la base de datos y el api de persistencia.&lt;br /&gt;&lt;img border="0" height="139" width="320" src="http://3.bp.blogspot.com/-plFyLffyliU/TeFEguTt_qI/AAAAAAAAC7I/EfK0tLHwvtQ/s320/Pantallazo-16.png" /&gt;&lt;br /&gt;&lt;br /&gt;5. Ahora dar clic en el pluging &lt;br /&gt;&lt;img border="0" height="34" width="35" src="http://4.bp.blogspot.com/-S0iYMPTfKGk/TeFCzEzY87I/AAAAAAAAC6o/TBmDOGsY3Oo/s320/Pantallazo-12.png" /&gt;&lt;br /&gt;&lt;br /&gt;6. Seleccionamos la base de datos&lt;br /&gt;&lt;img border="0" height="204" width="320" src="http://1.bp.blogspot.com/-I8DJuxWDEBM/TeFFKmCv30I/AAAAAAAAC7Y/OHZFyfmArA4/s320/Pantallazo-18.png" /&gt;&lt;br /&gt;Presionar el botón Siguiente&lt;br /&gt;7.Ahora presionar el botón Generar&lt;br /&gt;&lt;img border="0" height="162" width="320" src="http://4.bp.blogspot.com/-ZZcCBdBQd-0/TeFFZEPkQNI/AAAAAAAAC7g/jDBk6y_ipNE/s320/Pantallazo-19.png" /&gt;&lt;br /&gt;&lt;br /&gt;8.El plugin generara los beans, controller y las clases de persistencia para que puedas manipularlas en tu proyecto, además archivos properties, clase para encriptar y una clase de utilidades&lt;br /&gt;&lt;img border="0" height="276" width="320" src="http://4.bp.blogspot.com/-m3U_AYvtYfM/TeFF86Ph0mI/AAAAAAAAC7o/QQDQrnCn6NI/s320/Pantallazo-20.png" /&gt;&lt;br /&gt;9. se crea un beans para cada tabla con las propiedades de cada columna.&lt;br /&gt;&lt;img border="0" height="220" width="320" src="http://1.bp.blogspot.com/-jsFfBwIw2-w/TeFGQu_PPzI/AAAAAAAAC7w/qE5op6toQ2U/s320/Pantallazo-21.png" /&gt;&lt;br /&gt;Tambien se incluyen propiedades adicionales que puedes establecer para luego utilizarlas por el generador, indicándole si sera una imagen o un url que se almacenara en ese campo.&lt;br /&gt;&lt;img border="0" height="26" width="320" src="http://1.bp.blogspot.com/-g2Hmg5lnRyc/TeFG8DKxBxI/AAAAAAAAC74/DaNLQmRGr50/s320/Pantallazo-22.png" /&gt;&lt;br /&gt;&lt;br /&gt;En la próxima sección mostraremos el plugin generador de Java Server Faces.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-29109278718569068?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/29109278718569068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=29109278718569068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/29109278718569068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/29109278718569068'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/plugin-generador-de-clases-java.html' title='Plugin Generador de clases Java'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-GlRdfk8iPxg/TeFCnAAJKMI/AAAAAAAAC6g/5eHwaXWYX0k/s72-c/Pantallazo-11.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2671921936459178198</id><published>2011-05-26T14:31:00.000-07:00</published><updated>2011-05-26T14:31:18.918-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>Actualizar NetBeans 7.0</title><content type='html'>Actualizar NetBeans 7.0 plugins&lt;br /&gt;&lt;img border="0" height="219" width="320" src="http://2.bp.blogspot.com/-hqnWo9pdbiI/Td7GdiG3quI/AAAAAAAAC6Y/ao5i-69bPi0/s320/Pantallazo-34.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2671921936459178198?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2671921936459178198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2671921936459178198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2671921936459178198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2671921936459178198'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/actualizar-netbeans-70.html' title='Actualizar NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hqnWo9pdbiI/Td7GdiG3quI/AAAAAAAAC6Y/ao5i-69bPi0/s72-c/Pantallazo-34.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8206882306143487547</id><published>2011-05-25T18:57:00.000-07:00</published><updated>2011-05-25T18:57:05.589-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Aplicación Web Java Server Faces</title><content type='html'>Si utilizamos algunos componentes PrimeFaces entre ellos Menu y obtenemos el mensaje&lt;br /&gt;&lt;img border="0" height="99" width="320" src="http://3.bp.blogspot.com/-8Zb35PadGWk/Td2yzz-EEBI/AAAAAAAAC6I/fpDcbWbhSQc/s320/Pantallazo-22.png" /&gt;&lt;br /&gt;&lt;br /&gt;Editamos el archivo web.xml y cambiamos el estado a producción&lt;br /&gt;&lt;img border="0" height="114" width="320" src="http://3.bp.blogspot.com/-mbstdnWnNTQ/Td2zIyOI0GI/AAAAAAAAC6Q/GhKz5WSkgEI/s320/Pantallazo-21.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8206882306143487547?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8206882306143487547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8206882306143487547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8206882306143487547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8206882306143487547'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/aplicacion-web-java-server-faces.html' title='Aplicación Web Java Server Faces'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-8Zb35PadGWk/Td2yzz-EEBI/AAAAAAAAC6I/fpDcbWbhSQc/s72-c/Pantallazo-22.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6523652712627577868</id><published>2011-05-22T13:50:00.000-07:00</published><updated>2011-05-22T13:50:52.009-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bst'/><title type='text'>Bug Squashing Team</title><content type='html'>&lt;a href="http://bst.floss-pa.org/"&gt;Bug Squashing Team &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-rqOUOwo8WD0/Tdl2hXUf3cI/AAAAAAAAC6A/rpAIzA6Li14/s320/logo.png"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;El objetivo del Bug Squashing Team es ofrecer oportunidades a estudiantes universitarios de desarrollar sus habilidades y talentos y expandir sus conocimientos más allá de lo que se enseña en el aula de clases, a través de la interacción con la comunidad de software libre y código abierto local e internacional. Gracias a los colaboradores y organizadores del BST la participación es totalmente gratuita.&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-zW5s-LTwkuY/Tdl1ySOHgXI/AAAAAAAAC54/wikPGlGIFYo/s320/BSTAfiche.png"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bst.floss-pa.org/equipo"&gt;Equipo Organizador&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6523652712627577868?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6523652712627577868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6523652712627577868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6523652712627577868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6523652712627577868'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/bug-squashing-team.html' title='Bug Squashing Team'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-rqOUOwo8WD0/Tdl2hXUf3cI/AAAAAAAAC6A/rpAIzA6Li14/s72-c/logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8405118252709774486</id><published>2011-05-14T17:44:00.000-07:00</published><updated>2011-05-14T17:44:56.083-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Java Server Faces Logo</title><content type='html'>Después de muchos años de la primera liberación de Java Server Faces, esta disponible el logo oficial. Este fue escogido entre varios que se presentaron como comenta &lt;a href="http://weblogs.java.net/blog/edburns/archive/2011/05/11/winner-jsf-spec-logo-contest-wilber-saca"&gt;Ed Burns&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Xz3k62cRH9w/Tc8h4VmDi4I/AAAAAAAAC5w/jgZx-Oyn5m4/s1600/jsf_logo.gif" imageanchor="1" style=""&gt;&lt;img border="0" height="90" width="200" src="http://2.bp.blogspot.com/-Xz3k62cRH9w/Tc8h4VmDi4I/AAAAAAAAC5w/jgZx-Oyn5m4/s320/jsf_logo.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8405118252709774486?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8405118252709774486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8405118252709774486' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8405118252709774486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8405118252709774486'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/java-server-faces-logo.html' title='Java Server Faces Logo'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Xz3k62cRH9w/Tc8h4VmDi4I/AAAAAAAAC5w/jgZx-Oyn5m4/s72-c/jsf_logo.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-9048621408937575621</id><published>2011-05-08T12:30:00.000-07:00</published><updated>2011-05-08T12:30:14.671-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='binding'/><title type='text'>Binding y archivos de Propiedades</title><content type='html'>Pasos:&lt;br /&gt; Creamos una clase Beans&lt;br /&gt; Diseñamos el formulario&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-CyU_feIeMks/Tcbs4j7BcRI/AAAAAAAAC4Y/FiTh6KT4GuU/s320/1.png" /&gt;&lt;br /&gt;&lt;br /&gt;Arrastramos el beans al formulario&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-kUUrqEPcaiU/TcbtHH4V1MI/AAAAAAAAC4g/e-GXQEdwTfg/s320/2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Podemos observar en la pestaña Inspector en Otros Componentes. Alli debera aparecer el&lt;br /&gt;beans arrastrado al formulario&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-ti-eE1n93a0/TcbtWL3NwfI/AAAAAAAAC4o/59sfCUH3KfQ/s320/4.png" /&gt;&lt;br /&gt;&lt;br /&gt;Dar clic derecho en los componentes y seleccionar Binding&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-XVwU6EkvbN0/TcbtnXnKbuI/AAAAAAAAC4w/FHaXn3VvrFQ/s320/6.png" /&gt;&lt;br /&gt;&lt;br /&gt;Ahora usaremos el archivo properties para utilizarlo en las etiquetas&lt;br /&gt;&lt;img src="http://2.bp.blogspot.com/-CzJtTQGqVBY/TcbtzCtt2NI/AAAAAAAAC44/Yi3FECsqEAM/s320/i1.png" /&gt;&lt;br /&gt;&lt;br /&gt;En las propiedades seleccionamos Text&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-vnr3BtrFSaE/Tcbt-BeG0KI/AAAAAAAAC5A/wfWoSv0djho/s320/i2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos Paquete de recursos en el combo propiedad&lt;br /&gt;&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-8eq1-IVQop0/TcbuOMj0guI/AAAAAAAAC5I/_vxOqPTDKW0/s320/i3.png" /&gt;&lt;br /&gt;&lt;br /&gt;Dar clic en el botón Seleccione..&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-N6oOMAx8K7A/TcbuZIYztXI/AAAAAAAAC5Q/GlMBlsTnBGQ/s320/i5.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos el archivo de propiedades&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-qqT2pHRD-nA/TcbuknliEEI/AAAAAAAAC5Y/UdWizsp1kYI/s320/i7.png" /&gt;&lt;br /&gt;&lt;br /&gt;Seleccionamos la propiedad del archivo&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-2kOqlFtU-CY/Tcbu8taNZZI/AAAAAAAAC5g/SiFX2rMRyiE/s320/i7.png" /&gt;&lt;br /&gt;&lt;br /&gt;Quedaría de la siguiente manera&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-uXYA0fYodjg/TcbvH55lU8I/AAAAAAAAC5o/0zrCf9TpjR0/s320/i8.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-9048621408937575621?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/9048621408937575621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=9048621408937575621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9048621408937575621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9048621408937575621'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/05/binding-y-archivos-de-propiedades.html' title='Binding y archivos de Propiedades'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-CyU_feIeMks/Tcbs4j7BcRI/AAAAAAAAC4Y/FiTh6KT4GuU/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2098607061201728717</id><published>2011-04-30T16:36:00.000-07:00</published><updated>2011-04-30T16:36:54.612-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0 en Español Ubuntu 11.04</title><content type='html'>Instalando NetBeans 7.0 en Ubuntu 11.04.&lt;br /&gt;Pantalla de Finalización de la instalación&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-R2L-U8T_wiM/Tbycl7MVXwI/AAAAAAAAC4A/wUcxM5hguUc/s320/Pantallazo-1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img  src="http://2.bp.blogspot.com/-mFqF_RvB3wU/TbycmHgHbCI/AAAAAAAAC4Q/032EFvu9VVQ/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-3DMcjDO6Wvw/Tbycl2-R0-I/AAAAAAAAC4I/xq57cgN5vDQ/s320/Pantallazo-4.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2098607061201728717?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2098607061201728717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2098607061201728717' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2098607061201728717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2098607061201728717'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/netbeans-70-en-espanol-ubuntu-1104.html' title='NetBeans 7.0 en Español Ubuntu 11.04'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-R2L-U8T_wiM/Tbycl7MVXwI/AAAAAAAAC4A/wUcxM5hguUc/s72-c/Pantallazo-1.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4962590864348622612</id><published>2011-04-30T15:53:00.000-07:00</published><updated>2011-04-30T15:53:23.428-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0 en español</title><content type='html'>Puedes descargar el IDE NetBeans en varios idiomas incluyendo en Español.&lt;br /&gt;&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-9GiNuMrb2UY/TbySrXmnIUI/AAAAAAAAC34/bCH98LBczMU/s320/Pantallazo.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Desde http://netbeans.org/downloads/index.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4962590864348622612?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4962590864348622612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4962590864348622612' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4962590864348622612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4962590864348622612'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/netbeans-70-en-espanol.html' title='NetBeans 7.0 en español'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-9GiNuMrb2UY/TbySrXmnIUI/AAAAAAAAC34/bCH98LBczMU/s72-c/Pantallazo.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3414525647011815999</id><published>2011-04-26T17:41:00.000-07:00</published><updated>2011-04-26T17:41:39.497-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 8</title><content type='html'>Accediendo al pool de conexiones.&lt;br /&gt;Creamos un objeto DataSource en el cual especificamos el jndi, y luego obtenemos la conexión del datasource.&lt;br /&gt; public Connection con = null;&lt;br /&gt;  public boolean Conectar() {&lt;br /&gt;        try {&lt;br /&gt;&lt;br /&gt;            Context ctx = new InitialContext();&lt;br /&gt;            if (ctx == null) {&lt;br /&gt;                JsfUtil.addSuccessMessage("No initial context");&lt;br /&gt;                return false;&lt;br /&gt;            }&lt;br /&gt;            DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/congreso");&lt;br /&gt;            if (ds == null) {&lt;br /&gt;                JsfUtil.addSuccessMessage("No data source");&lt;br /&gt;                return false;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            con = ds.getConnection();&lt;br /&gt;&lt;br /&gt;            if (con == null) {&lt;br /&gt;                System.out.println("No se pudo establecer la conexion ");&lt;br /&gt;                return false;&lt;br /&gt;            }&lt;br /&gt;            return true;&lt;br /&gt;&lt;br /&gt;        } catch (Exception ex) {&lt;br /&gt;            JsfUtil.addErrorMessage(ex, "Error");&lt;br /&gt;            // System.exit(1);&lt;br /&gt;        }&lt;br /&gt;        return false;&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3414525647011815999?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3414525647011815999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3414525647011815999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3414525647011815999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3414525647011815999'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/tutorial-basico-de-aplicaciones-web-con_26.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 8'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7791776527629158517</id><published>2011-04-23T17:58:00.000-07:00</published><updated>2011-04-23T17:58:49.998-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JUnit'/><title type='text'>JUnit en NetBeans 7.0</title><content type='html'>Ahora en el instalador de NetBeans 7.0, se muestra la licencia de JUnit y se permite la posibilidad de instalarlo o no.&lt;br /&gt;&lt;img border="0" height="230" width="320" src="http://3.bp.blogspot.com/-vB-hqzy8eZk/TbN1Nh9f0jI/AAAAAAAAC3w/fa6pwRMQ9Jo/s320/Pantallazo-3.png" /&gt;&lt;br /&gt;&lt;br /&gt;También si deseamos instalar NetBeans 7.0 en español podemos hacerlo desde el siguiente enlace&lt;br /&gt;&lt;a href="http://bits.netbeans.org/netbeans/7.0/community/daily/2011-04-21_19-56-33/"&gt;http://bits.netbeans.org/netbeans/7.0/community/daily/2011-04-21_19-56-33/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7791776527629158517?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7791776527629158517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7791776527629158517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7791776527629158517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7791776527629158517'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/junit-en-netbeans-70.html' title='JUnit en NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-vB-hqzy8eZk/TbN1Nh9f0jI/AAAAAAAAC3w/fa6pwRMQ9Jo/s72-c/Pantallazo-3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7367400978158295819</id><published>2011-04-20T19:36:00.000-07:00</published><updated>2011-04-20T19:36:27.545-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0</title><content type='html'>Ya esta disponible la versión final de NetBeans 7.0&lt;br /&gt;&lt;img  src="http://4.bp.blogspot.com/-TQYwQv6W_Es/Ta-X2mY07gI/AAAAAAAAC3o/B8oLs07Bu5c/s320/Pantallazo-2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Puedes descargarlo desde &lt;a href="http://netbeans.org/downloads/"&gt;http://netbeans.org/downloads/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://netbeans.org/community/releases/70/"&gt;Información sobre NetBeans 7.0&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7367400978158295819?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7367400978158295819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7367400978158295819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7367400978158295819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7367400978158295819'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/netbeans-70.html' title='NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-TQYwQv6W_Es/Ta-X2mY07gI/AAAAAAAAC3o/B8oLs07Bu5c/s72-c/Pantallazo-2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3666718938263912058</id><published>2011-04-20T17:36:00.000-07:00</published><updated>2011-04-20T17:36:31.482-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 7</title><content type='html'>Tutorial básico de aplicaciones Web con NetBeans parte 7&lt;br /&gt;Configurar el pool de conexiones en GlassFish&lt;br /&gt;Ahora configuraremos GlassFish con un pool de conexiones a una base de datos para luego integrarla al proyecto&lt;br /&gt;Entramos a la administración de glassfish generalmente en el puerto 4848 desde el browser.&lt;br /&gt;http://localhost:4848&lt;br /&gt;Para iniciar Glassfish debemos ejecutar el comando, desde la carpeta /bin de glassfish&lt;br /&gt;./asadmin start-domain&lt;br /&gt;&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-1XSdgjyG-2E/Ta95nqLMwOI/AAAAAAAAC2Y/NeyAWaiijvo/s320/1.png" /&gt;&lt;br /&gt;&lt;br /&gt;Damos clic en Conjunto de conexiones&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-9rkekpQ2mtI/Ta96HM7fKBI/AAAAAAAAC2g/yiL-uzKxso0/s320/2.png" /&gt;&lt;br /&gt;&lt;br /&gt;Agremos la configuración&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-m9dMSbAdESI/Ta96USEVFQI/AAAAAAAAC2o/B-kO8ofaFB8/s320/3.png" /&gt;&lt;br /&gt;&lt;br /&gt;y presionamos el botón Siguiente y Nos muestra la configuración básica&lt;br /&gt;&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-yw6mIDvWJYo/Ta96qiOkXlI/AAAAAAAAC2w/e5jbJCHCy4o/s320/5.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;bajamos en la pagina, y especificamos los parametros de la conexión a la base de datos&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-Exjk7E8cUuU/Ta968Np7a5I/AAAAAAAAC24/FGf-55q-ZaE/s320/data.png" /&gt;&lt;br /&gt;&lt;br /&gt;y presionamos el botón Finalizar.&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/-08sct9KOGdQ/Ta97RTvFgFI/AAAAAAAAC3A/VIR96N-fZvY/s320/9.png" /&gt;&lt;br /&gt;&lt;br /&gt;Agregamos los recursos jdbc&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/-0kuvXygdwNM/Ta97gh_hK1I/AAAAAAAAC3I/yuFdUnMfN_0/s320/r.png" /&gt;&lt;br /&gt;&lt;br /&gt;Configuramos el jndi&lt;br /&gt;&lt;img  src="http://3.bp.blogspot.com/-4bv4sE590HU/Ta97tEClhDI/AAAAAAAAC3Q/VCcRVuRxGaU/s320/jndi.png" /&gt;&lt;br /&gt;&lt;br /&gt;Recursos terminados&lt;br /&gt;&lt;img src="http://3.bp.blogspot.com/-0eFxT3Zc4qA/Ta976N0NyFI/AAAAAAAAC3Y/u0IMOj6w5eg/s320/t.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3666718938263912058?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3666718938263912058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3666718938263912058' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3666718938263912058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3666718938263912058'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/tutorial-basico-de-aplicaciones-web-con_20.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 7'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-1XSdgjyG-2E/Ta95nqLMwOI/AAAAAAAAC2Y/NeyAWaiijvo/s72-c/1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-367507996321539178</id><published>2011-04-12T17:53:00.000-07:00</published><updated>2011-04-12T17:53:45.251-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flisol'/><title type='text'>Resumen FLISOL 2011</title><content type='html'>El&amp;nbsp;sábado&amp;nbsp;realizamos el evento FLISOL 2O11&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-puZry1wQ_pc/TaTvO6kQctI/AAAAAAAAC04/4yRv5EEzILk/s1600/SDC10626.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-puZry1wQ_pc/TaTvO6kQctI/AAAAAAAAC04/4yRv5EEzILk/s320/SDC10626.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;En esta ocasión hablamos sobre Java y NetBeans&lt;br /&gt;&lt;br /&gt;Algunos de los asistentes&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-hwMVX1OyhkE/TaTvsTLDXSI/AAAAAAAAC08/gxf-ugJPzjo/s1600/SDC10674.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-hwMVX1OyhkE/TaTvsTLDXSI/AAAAAAAAC08/gxf-ugJPzjo/s320/SDC10674.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Don Gerardo "&lt;span class="Apple-style-span" style="color: #202020; font-family: 'Droid Sans'; font-size: 17px; white-space: pre-wrap;"&gt;Groovy&lt;/span&gt;"Nuñez&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-UVMCoxCowOk/TaTy-H1TMyI/AAAAAAAAC1M/VPBiXucMo0A/s1600/SDC10654.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-UVMCoxCowOk/TaTy-H1TMyI/AAAAAAAAC1M/VPBiXucMo0A/s320/SDC10654.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Venezuela:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.8906014591921121" style="background-color: transparent; color: #202020; font-family: Arial; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Carloz Plaza :&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #202020; font-family: Arial; font-size: 16px; white-space: pre-wrap;"&gt; Canaima gnu linux&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-QX6IhHOtIBE/TaTxR_AokqI/AAAAAAAAC1A/ph9a42NMYWo/s1600/SDC10646.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-QX6IhHOtIBE/TaTxR_AokqI/AAAAAAAAC1A/ph9a42NMYWo/s320/SDC10646.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Jose Fung: Venenux&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-04fFEIIiZyw/TaTxqnxQ0HI/AAAAAAAAC1E/Ou32q61-GJk/s1600/SDC10668.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-04fFEIIiZyw/TaTxqnxQ0HI/AAAAAAAAC1E/Ou32q61-GJk/s320/SDC10668.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Leomar Acosta:&lt;span class="Apple-style-span" style="color: #202020; font-family: Arial; font-size: 16px; white-space: pre-wrap;"&gt;Agricultura y Software Libre&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-7poPf6Y4rh4/TaTyBHm_T4I/AAAAAAAAC1I/7GxDJnUdiKA/s1600/SDC10660.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-7poPf6Y4rh4/TaTyBHm_T4I/AAAAAAAAC1I/7GxDJnUdiKA/s320/SDC10660.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.8906014591921121" style="background-color: transparent; color: #202020; font-family: Arial; font-size: 12pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Guerrero Sosa:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial; font-size: 16px; white-space: pre-wrap;"&gt;El impacto del Software Libre en Venezuela Leyes y Normas Legales&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-439QTPahiNc/TaTz7TdifPI/AAAAAAAAC1Q/4YVw0mGQCfU/s1600/SDC10643.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-439QTPahiNc/TaTz7TdifPI/AAAAAAAAC1Q/4YVw0mGQCfU/s320/SDC10643.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span class="Apple-style-span" style="color: #444444; font-family: Arial; font-size: 16px; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-367507996321539178?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/367507996321539178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=367507996321539178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/367507996321539178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/367507996321539178'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/resumen-flisol-2011.html' title='Resumen FLISOL 2011'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-puZry1wQ_pc/TaTvO6kQctI/AAAAAAAAC04/4yRv5EEzILk/s72-c/SDC10626.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2422618291999863829</id><published>2011-04-08T17:35:00.000-07:00</published><updated>2011-04-08T17:35:02.802-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flisol'/><title type='text'>FLISOL 2011</title><content type='html'>Mañana estaremos realizando el evento FLISOL 2011 en diversas provincias en Panamá&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Z2ZIlLt5SRA/TZ-piFdObsI/AAAAAAAAC0w/k_lZESdU8yw/s1600/flisol.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-Z2ZIlLt5SRA/TZ-piFdObsI/AAAAAAAAC0w/k_lZESdU8yw/s1600/flisol.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://flisol.info/FLISOL2011/Panama"&gt;Pagina principal&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2422618291999863829?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2422618291999863829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2422618291999863829' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2422618291999863829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2422618291999863829'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/04/flisol-2011.html' title='FLISOL 2011'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Z2ZIlLt5SRA/TZ-piFdObsI/AAAAAAAAC0w/k_lZESdU8yw/s72-c/flisol.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-5373735317183568627</id><published>2011-03-29T13:49:00.000-07:00</published><updated>2011-03-29T13:49:03.658-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>Instalando NetBeans 7.0 RC1</title><content type='html'>Ya esta disponible NetBeans 7.0 RC1&lt;br /&gt;puedes descargarlo desde&amp;nbsp;&lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/7.0/rc1/"&gt;http://dlc.sun.com.edgesuite.net/netbeans/7.0/rc1/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-UN6B7UsxTLw/TZI63VJ08BI/AAAAAAAAC0s/3Qxvgg1fGSo/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-UN6B7UsxTLw/TZI63VJ08BI/AAAAAAAAC0s/3Qxvgg1fGSo/s320/Pantallazo-4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-5373735317183568627?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/5373735317183568627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=5373735317183568627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5373735317183568627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5373735317183568627'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/instalando-netbeans-70-rc1.html' title='Instalando NetBeans 7.0 RC1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-UN6B7UsxTLw/TZI63VJ08BI/AAAAAAAAC0s/3Qxvgg1fGSo/s72-c/Pantallazo-4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7900296869751806897</id><published>2011-03-29T09:17:00.000-07:00</published><updated>2011-03-29T10:04:11.394-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 5</title><content type='html'>En este tutorial usaremos los archivos de propiedades para soportar varios idiomas.&lt;br /&gt;Creamos un nuevo paquete llamado properties&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xwvivXPS49Q/TZIMMPQa0kI/AAAAAAAACz8/N-Cxt7VjDAk/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="115" src="http://4.bp.blogspot.com/-xwvivXPS49Q/TZIMMPQa0kI/AAAAAAAACz8/N-Cxt7VjDAk/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos un archivo de propiedades seleccionando &amp;nbsp;-Nuevo-&amp;gt;Otro-&amp;gt;Archivo de Propiedades&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-2tw3v-Dy5AQ/TZIOF7frqLI/AAAAAAAAC0Y/R4KvcXSamDI/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://1.bp.blogspot.com/-2tw3v-Dy5AQ/TZIOF7frqLI/AAAAAAAAC0Y/R4KvcXSamDI/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;en el nombre escribimos&amp;nbsp;mensajes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-xeBDtnQwkOQ/TZIMbQB-fmI/AAAAAAAAC0A/1V6DJPkXBJk/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="139" src="http://3.bp.blogspot.com/-xeBDtnQwkOQ/TZIMbQB-fmI/AAAAAAAAC0A/1V6DJPkXBJk/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos un archivo de propiedades&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-xeBDtnQwkOQ/TZIMbQB-fmI/AAAAAAAAC0A/1V6DJPkXBJk/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="139" src="http://3.bp.blogspot.com/-xeBDtnQwkOQ/TZIMbQB-fmI/AAAAAAAAC0A/1V6DJPkXBJk/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos una nueva propiedad&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-LrPzSbBmQ5U/TZIMxm-XabI/AAAAAAAAC0E/nDDy3FQ8qqM/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="232" src="http://2.bp.blogspot.com/-LrPzSbBmQ5U/TZIMxm-XabI/AAAAAAAAC0E/nDDy3FQ8qqM/s320/Pantallazo-4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Quedaría&amp;nbsp;de la siguiente manera&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-w7RKaCR4Plw/TZIM91xFD2I/AAAAAAAAC0I/yam2jcx4STk/s1600/Pantallazo-5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-w7RKaCR4Plw/TZIM91xFD2I/AAAAAAAAC0I/yam2jcx4STk/s1600/Pantallazo-5.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Dar clic derecho y seleccionar Agregar-&amp;gt;Localizacion&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-69zfjd9wUU8/TZINVN_aFMI/AAAAAAAAC0M/kAEYc6oKALw/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="182" src="http://4.bp.blogspot.com/-69zfjd9wUU8/TZINVN_aFMI/AAAAAAAAC0M/kAEYc6oKALw/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos el idioma&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-CRVtJbK257U/TZINf_o-gUI/AAAAAAAAC0Q/hwRhL1gCtQg/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="274" src="http://4.bp.blogspot.com/-CRVtJbK257U/TZINf_o-gUI/AAAAAAAAC0Q/hwRhL1gCtQg/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Archivo con soporte para otros idiomas&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-KD1fJccln-E/TZINy4obKJI/AAAAAAAAC0U/6jMKljpvKpI/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-KD1fJccln-E/TZINy4obKJI/AAAAAAAAC0U/6jMKljpvKpI/s1600/Pantallazo-2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Editamos el archivo index.xhtml&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos en el &amp;lt;h:header&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;f:loadBundle basename="avbravo.beans.properties.mensajes" &lt;span class="Apple-style-span" style="color: blue;"&gt;var="mensajes&lt;/span&gt;" /&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;corregimos&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-tzZFeEXWaQI/TZIPixpIvHI/AAAAAAAAC0c/IoLBsqqsVc0/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="62" src="http://3.bp.blogspot.com/-tzZFeEXWaQI/TZIPixpIvHI/AAAAAAAAC0c/IoLBsqqsVc0/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Quedaría&amp;nbsp;de la siguiente manera&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-MIzfBUiti4g/TZIP05mTrlI/AAAAAAAAC0g/mAq-FSzcMrU/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="72" src="http://1.bp.blogspot.com/-MIzfBUiti4g/TZIP05mTrlI/AAAAAAAAC0g/mAq-FSzcMrU/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora&amp;nbsp;colocamos entre comentarios la etiqueta&amp;nbsp;&amp;nbsp;&amp;lt;h:outputLabel value="Mi aplicación JSF"/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;lt;!--&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;h:outputLabel value="Mi aplicación JSF"/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y escribimos haciendo referencia al archivo de propiedades mediante mensajes, que corresponde var="mensajes"/&amp;gt; y titulo es la propiedad que agregamos al archivo.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;h:outputLabel value="#{mensajes.titulo}"/&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Quedando de la siguiente manera&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-AIKF8c9tf9U/TZIQfpCwjdI/AAAAAAAAC0o/4ID79AF-hGU/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="65" src="http://2.bp.blogspot.com/-AIKF8c9tf9U/TZIQfpCwjdI/AAAAAAAAC0o/4ID79AF-hGU/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ejecutamos la aplicación&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ItOIG4bC9y0/TZIQRrL10LI/AAAAAAAAC0k/G733S-DHMlE/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="135" src="http://2.bp.blogspot.com/-ItOIG4bC9y0/TZIQRrL10LI/AAAAAAAAC0k/G733S-DHMlE/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7900296869751806897?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7900296869751806897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7900296869751806897' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7900296869751806897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7900296869751806897'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/tutorial-basico-de-aplicaciones-web-con_29.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 5'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-xwvivXPS49Q/TZIMMPQa0kI/AAAAAAAACz8/N-Cxt7VjDAk/s72-c/Pantallazo-2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1727044335611438371</id><published>2011-03-26T08:24:00.001-07:00</published><updated>2011-03-26T09:11:49.819-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>IDENTIFICAR EL TIPO DE PROYECTO</title><content type='html'>&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;IDENTIFICAR EL TIPO DE PROYECTO&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Identifica el tipo de proyecto abierto y obtiene la ruta de la carpeta src y web&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Damos clic en el nombre del proyecto y presionamos&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;a href="https://lh5.googleusercontent.com/-kbp-gpeQBMQ/TY4GykCANpI/AAAAAAAACzs/9m9Digzd-tQ/s1600/Pantallazo-8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="22" src="https://lh5.googleusercontent.com/-kbp-gpeQBMQ/TY4GykCANpI/AAAAAAAACzs/9m9Digzd-tQ/s320/Pantallazo-8.png" width="320" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: red;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-_6SdIjGFB1s/TY4G3IiOuAI/AAAAAAAACzw/4QjwFmMUSjY/s1600/Pantallazo-7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="124" src="https://lh5.googleusercontent.com/-_6SdIjGFB1s/TY4G3IiOuAI/AAAAAAAACzw/4QjwFmMUSjY/s320/Pantallazo-7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos un nuevo modulo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-dznL5cNt8vE/TY4G8mP8ctI/AAAAAAAACz0/4TwFynvRvbU/s1600/Pantallazo-9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="196" src="https://lh5.googleusercontent.com/-dznL5cNt8vE/TY4G8mP8ctI/AAAAAAAACz0/4TwFynvRvbU/s320/Pantallazo-9.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En las propiedades Agregamos&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-ph8ijv3-T38/TY4HBRK5StI/AAAAAAAACz4/CD8hsW4PGUA/s1600/Pantallazo-6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh5.googleusercontent.com/-ph8ijv3-T38/TY4HBRK5StI/AAAAAAAACz4/CD8hsW4PGUA/s320/Pantallazo-6.png" width="229" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En el layer.xml agregamos&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN"&lt;/div&gt;&lt;div&gt;"http://www.netbeans.org/dtds/filesystem-1_2.dtd"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;filesystem&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;folder name="Actions"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;folder name="File"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;file name="org-avbravo-analizadorproyectos-MiAccion.instance"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="SystemFileSystem.localizingBundle"&lt;/div&gt;&lt;div&gt;stringvalue="org.avbravo.analizadorproyectos.Bundle"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="delegate" newvalue="org.avbravo.analizadorproyectos.MiAccion"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="displayName"&lt;/div&gt;&lt;div&gt;bundlevalue="org.avbravo.analizadorproyectos.Bundle#CTL_AnalizadorProyecto="/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="iconBase"&lt;/div&gt;&lt;div&gt;stringvalue="org/avbravo/analizadorproyectos/resources/custom.png"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="noIconInMenu" stringvalue="false"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/file&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/folder&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;folder name="Window"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;file name="org-avbravo-analizadorproyectos-JSFWindowsTopComponent.instance"&lt;/div&gt;&lt;div&gt;url="org-avbravo-analizadorproyectos-JSFWindowsTopComponent.instance"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/folder&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/folder&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;folder name="Toolbars"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;folder name="File"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;file name="org-avbravo-analizadorproyectos-MiAccion.shadow"&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="originalFile" stringvalue="Actions/File/org-avbravo-analizadorproyectos-&lt;/div&gt;&lt;div&gt;MiAccion.instance"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;attr name="position" intvalue="0"/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/file&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/folder&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/folder&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/filesystem&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Clase Sesion.java&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;/*&lt;/div&gt;&lt;div&gt;* To change this template, choose Tools | Templates&lt;/div&gt;&lt;div&gt;* and open the template in the editor.&lt;/div&gt;&lt;div&gt;*/&lt;/div&gt;&lt;div&gt;package org.avbravo.analizadorproyectos;&lt;/div&gt;&lt;div&gt;import java.io.File;&lt;/div&gt;&lt;div&gt;/**&lt;/div&gt;&lt;div&gt;*&lt;/div&gt;&lt;div&gt;* @author avbravo&lt;/div&gt;&lt;div&gt;*/&lt;/div&gt;&lt;div&gt;public class Sesion {&lt;/div&gt;&lt;div&gt;static String src;&lt;/div&gt;&lt;div&gt;static String web;&lt;/div&gt;&lt;div&gt;static String tipoProyecto;&lt;/div&gt;&lt;div&gt;public static String getSrc() {&lt;/div&gt;&lt;div&gt;return src;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public static void setSrc(String src) {&lt;/div&gt;&lt;div&gt;Sesion.src = src;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public static String getWeb() {&lt;/div&gt;&lt;div&gt;return web;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public static void setWeb(String web) {&lt;/div&gt;&lt;div&gt;Sesion.web = web;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public static String getTipoProyecto() {&lt;/div&gt;&lt;div&gt;return tipoProyecto;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public static void setTipoProyecto(String tipoProyecto) {&lt;/div&gt;&lt;div&gt;Sesion.tipoProyecto = tipoProyecto;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;MiAccion.java&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;package org.avbravo.analizadorproyectos;&lt;/div&gt;&lt;div&gt;import java.awt.event.ActionEvent;&lt;/div&gt;&lt;div&gt;import java.awt.event.ActionListener;&lt;/div&gt;&lt;div&gt;import javscazutilidades.Mensajeria;&lt;/div&gt;&lt;div&gt;import org.openide.windows.TopComponent;&lt;/div&gt;&lt;div&gt;/**&lt;/div&gt;&lt;div&gt;*&lt;/div&gt;&lt;div&gt;* @author avbravo&lt;/div&gt;&lt;div&gt;*/&lt;/div&gt;&lt;div&gt;public class MiAccion implements ActionListener {&lt;/div&gt;&lt;div&gt;public void actionPerformed(ActionEvent e) {&lt;/div&gt;&lt;div&gt;// TODO implement action body&lt;/div&gt;&lt;div&gt;MyAction myAction = new MyAction();&lt;/div&gt;&lt;div&gt;boolean b = myAction.isEnabled();&lt;/div&gt;&lt;div&gt;if (b){&lt;/div&gt;&lt;div&gt;/// Mensajeria.Mensaje("cierto");&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;Mensajeria.Mensaje("Debe seleccionar el proyecto");&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MyAction.java&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;import javscazutilidades.Mensajeria;&lt;br /&gt;import org.netbeans.api.project.Project;&lt;br /&gt;import org.openide.nodes.Node;&lt;br /&gt;import org.openide.util.HelpCtx;&lt;br /&gt;import org.openide.util.Lookup;&lt;br /&gt;import org.openide.util.actions.CookieAction;&lt;br /&gt;import org.openide.windows.TopComponent;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;&amp;nbsp;*&lt;br /&gt;&amp;nbsp;* @author avbravo&lt;br /&gt;&amp;nbsp;*/&lt;br /&gt;public final class MyAction extends CookieAction {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Sesion sesion = new Sesion();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;String web = "";&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;String src = "";&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public boolean isEnabled() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;web = "";&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;src = "";&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (this.getActivatedNodes() == null || this.getActivatedNodes().length != 1) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lookup lookup = this.getActivatedNodes()[0].getLookup();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// gets the selected project&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project currentProject = lookup.lookup(Project.class);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (currentProject != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String tipoProyecto = currentProject.getClass().getSimpleName();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Mensajeria.Mensaje("TipoProyecto:" + tipoProyecto);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sesion.setTipoProyecto(tipoProyecto);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;src = currentProject.getProjectDirectory().getFileObject("src").toString();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;src = src.substring(src.indexOf("[") + 1, src.indexOf("@"));&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;sesion.setSrc(src);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tipoProyecto.equals("NbMavenProjectImpl")) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * maven&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tipoProyecto.equals("NbModuleProject")) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * modulo netbeans&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tipoProyecto.equals("J2SEProject")) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * desktop&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tipoProyecto.equals("WebProject")) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * web&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;web = currentProject.getProjectDirectory().getFileObject("web").toString();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;web = web.substring(web.indexOf("[") + 1, web.indexOf("@"));&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sesion.setWeb(web);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (currentProject.getProjectDirectory().getFileObject("nbproject") == null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mensajeria.Mensaje(" null");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TopComponent tc = new AnalizadorProyectoTopComponent();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tc.open();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tc.requestActive();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mensajeria.MensajeError(ex, "Error");&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;protected int mode() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new UnsupportedOperationException("Not supported yet.");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;protected Class&amp;lt;?&amp;gt;[] cookieClasses() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new UnsupportedOperationException("Not supported yet.");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;protected void performAction(Node[] nodes) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new UnsupportedOperationException("Not supported yet.");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getName() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new UnsupportedOperationException("Not supported yet.");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Override&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public HelpCtx getHelpCtx() {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new UnsupportedOperationException("Not supported yet.");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Creamos una ventana&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-wJdItSRmnQw/TY4Gaa0ikcI/AAAAAAAACzo/Rik9-8bQGQ4/s1600/Pantallazo-10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="265" src="https://lh6.googleusercontent.com/-wJdItSRmnQw/TY4Gaa0ikcI/AAAAAAAACzo/Rik9-8bQGQ4/s320/Pantallazo-10.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;En el init()&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextFieldSRC.setText(sesion.getSrc());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextFieldWEB.setText(sesion.getWeb());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextFieldTipo.setText(sesion.getTipoProyecto());&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1727044335611438371?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1727044335611438371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1727044335611438371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1727044335611438371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1727044335611438371'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/identificar-el-tipo-de-proyecto.html' title='IDENTIFICAR EL TIPO DE PROYECTO'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh5.googleusercontent.com/-kbp-gpeQBMQ/TY4GykCANpI/AAAAAAAACzs/9m9Digzd-tQ/s72-c/Pantallazo-8.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-5784895002112857860</id><published>2011-03-20T14:28:00.000-07:00</published><updated>2011-03-20T14:28:38.803-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 4</title><content type='html'>Continuando con el tutorial básico de aplicaciones Web con NetBeans, en esta sección veremos la aplicación en ejecución y creare una pagina para mostrar los datos enviados del usuario.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-_hxLv1pFwdI/TYZtYXnK6WI/AAAAAAAACyo/_kb_1s22Wng/s1600/Pantallazo-8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="140" src="https://lh6.googleusercontent.com/-_hxLv1pFwdI/TYZtYXnK6WI/AAAAAAAACyo/_kb_1s22Wng/s320/Pantallazo-8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Editamos el bean Login y reemplazamos la definición de la clase por&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public class Login implements Serializable {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;private static final long serialVersionUID = 1L;&lt;/div&gt;&lt;br /&gt;y agregamos el import java.io.Serializable&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-tlLGDbU9kHk/TYZuAW1nLCI/AAAAAAAACys/ea2FMMshemI/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="58" src="https://lh3.googleusercontent.com/-tlLGDbU9kHk/TYZuAW1nLCI/AAAAAAAACys/ea2FMMshemI/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Quedaría&amp;nbsp;&amp;nbsp;de la siguiente manera&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-2yNY-6IHyeQ/TYZuSNCf5EI/AAAAAAAACyw/miGPL7pVgjM/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="261" src="https://lh6.googleusercontent.com/-2yNY-6IHyeQ/TYZuSNCf5EI/AAAAAAAACyw/miGPL7pVgjM/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos el metodo Validar()&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public String Validar(){&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; return "usuario";&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;El valor de "usuario" corresponde al nombre de la pagina usuario.xhtml.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Editamos index.xhtml y agregamos en&amp;nbsp;&amp;nbsp;action="#{login.Validar}" a &amp;lt;h:commandButton&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;h:commandButton value="Entrar" action="#{login.Validar}"/&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos una pagina nueva&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;en Web Pages seleccionar Nuevo-&amp;gt;Java Server Faces y en tipos de archivos JSF Page&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-dVOWu05yE4E/TYZuuQDZ-HI/AAAAAAAACy0/vipltDyFV7U/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="79" src="https://lh5.googleusercontent.com/-dVOWu05yE4E/TYZuuQDZ-HI/AAAAAAAACy0/vipltDyFV7U/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el nombre&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-7m23-wxMf4M/TYZvIBBfLTI/AAAAAAAACy4/oH4k0prGns0/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="158" src="https://lh6.googleusercontent.com/-7m23-wxMf4M/TYZvIBBfLTI/AAAAAAAACy4/oH4k0prGns0/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos &amp;lt;h:outputText para mostrar el nombre del usuario que se logeo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;lt;h:outputLabel value ="#{login.username}"/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;quedaría&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;?xml version='1.0' encoding='UTF-8' ?&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;xmlns:h="http://java.sun.com/jsf/html"&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;h:head&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;Facelet Title&amp;lt;/title&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/h:head&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;h:body&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;lt;h:outputLabel value ="#{login.username}"/&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/h:body&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/html&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora Ejecutamos la aplicación}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-VWogq2saegE/TYZxPDAFCEI/AAAAAAAACy8/2gd3Sdo79NE/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-VWogq2saegE/TYZxPDAFCEI/AAAAAAAACy8/2gd3Sdo79NE/s1600/Pantallazo-4.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y al darle clic en el botón Entrar nos lleva a la siguiente pagina y nos muestra el nombre del usuario que ingresamos en la pagina anterior.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-ucBmWzPnVIE/TYZxcKdX9XI/AAAAAAAACzA/PCv2IBmLKJE/s1600/Pantallazo-5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="64" src="https://lh6.googleusercontent.com/-ucBmWzPnVIE/TYZxcKdX9XI/AAAAAAAACzA/PCv2IBmLKJE/s320/Pantallazo-5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-5784895002112857860?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/5784895002112857860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=5784895002112857860' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5784895002112857860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5784895002112857860'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/tutorial-basico-de-aplicaciones-web-con_20.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 4'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-_hxLv1pFwdI/TYZtYXnK6WI/AAAAAAAACyo/_kb_1s22Wng/s72-c/Pantallazo-8.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3014013090834721142</id><published>2011-03-18T13:09:00.000-07:00</published><updated>2011-03-18T13:09:22.976-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>For(String texto</title><content type='html'>Hace unos dias conversaba con un amigo sobre la forma de utilizar los ciclos for en Java&lt;br /&gt;ArrayList&amp;lt;String&amp;gt; arrayImports =new ArrayList&amp;lt;String&amp;gt;();&lt;br /&gt;&lt;br /&gt;El utilizaba sentencias como estas&lt;br /&gt;&lt;br /&gt;&amp;nbsp;for (int i = 0; i &amp;lt; arrayImports.size(); i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;salida.println(arrayImports.get(i).toString());&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;Le indique que&amp;nbsp;podía&amp;nbsp;mejorar su&amp;nbsp;código&lt;br /&gt;for(String t: arrayImports)&lt;br /&gt;&amp;nbsp;&amp;nbsp; salida.prinltn(t);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3014013090834721142?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3014013090834721142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3014013090834721142' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3014013090834721142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3014013090834721142'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/forstring-texto.html' title='For(String texto'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4608847638649729330</id><published>2011-03-02T08:56:00.000-08:00</published><updated>2011-03-02T08:56:42.662-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 3</title><content type='html'>Ahora procederemos a crear nuestro Bean.&lt;br /&gt;Nos ubicamos en Sources Packages&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-DzBMp1xKc1M/TW5vCEP9F6I/AAAAAAAACw8/nUvwXaBJn1k/s1600/Pantallazo-11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-DzBMp1xKc1M/TW5vCEP9F6I/AAAAAAAACw8/nUvwXaBJn1k/s1600/Pantallazo-11.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;dar click derecho y seleccionar -&amp;gt;Nuevo -&amp;gt;Paquete Java&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-b1n7Ag_jFPI/TW5voIiJFFI/AAAAAAAACxI/hHr3OF02khE/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="40" src="https://lh4.googleusercontent.com/-b1n7Ag_jFPI/TW5voIiJFFI/AAAAAAAACxI/hHr3OF02khE/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;escribir avbravo.com&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-HvL8498GqsM/TW5v5r2AONI/AAAAAAAACxM/atyaPr7A01o/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="120" src="https://lh5.googleusercontent.com/-HvL8498GqsM/TW5v5r2AONI/AAAAAAAACxM/atyaPr7A01o/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;se crea el paquete avbravo.beans&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-9fp3jBuYF7A/TW5wCkyIuCI/AAAAAAAACxQ/5oghKtbsG4s/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh5.googleusercontent.com/-9fp3jBuYF7A/TW5wCkyIuCI/AAAAAAAACxQ/5oghKtbsG4s/s1600/Pantallazo-2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Dentro de avbravo.beans dar click derecho, seleccionar Nuevo-&amp;gt;Otro&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;en&amp;nbsp;Categorías: Java Server Faces y en Tipo de Archivos: JSF Managed Bean&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-h7TSfb3ZWww/TW5wVD43A8I/AAAAAAAACxU/6lRLepCevd8/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="184" src="https://lh6.googleusercontent.com/-h7TSfb3ZWww/TW5wVD43A8I/AAAAAAAACxU/6lRLepCevd8/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Indicamos el nombre: Login y el Scope: Sesion (para que el valor se conserve en toda la sesión del usuario)&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-FEQSWbUl3UY/TW5wswbeGJI/AAAAAAAACxY/xHghcnd9nq0/s1600/Pantallazo-Nuevo++JSF+Managed+Bean.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="259" src="https://lh4.googleusercontent.com/-FEQSWbUl3UY/TW5wswbeGJI/AAAAAAAACxY/xHghcnd9nq0/s320/Pantallazo-Nuevo++JSF+Managed+Bean.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Tenemos el bean creado&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-i8aOS2kJq8c/TW5xE0-lfeI/AAAAAAAACxc/2T_PcD39UWg/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh3.googleusercontent.com/-i8aOS2kJq8c/TW5xE0-lfeI/AAAAAAAACxc/2T_PcD39UWg/s1600/Pantallazo-4.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Código&amp;nbsp;generado&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import javax.faces.bean.ManagedBean;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import javax.faces.bean.SessionScoped;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;/**&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;* @author avbravo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;@ManagedBean&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;@SessionScoped&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public class Login {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/** Creates a new instance of Login */&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public Login() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Agregamos dos atributos de tipo String&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-yPCrRF_3mk4/TW5xeanbT1I/AAAAAAAACxg/deHne_9lpvg/s1600/Pantallazo-5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh3.googleusercontent.com/-yPCrRF_3mk4/TW5xeanbT1I/AAAAAAAACxg/deHne_9lpvg/s1600/Pantallazo-5.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Dar clic derecho con el mouse y seleccionar Insertar Código o presionar la combinación de teclas ALT+ INS&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-t14ZDd40R28/TW5ygaWxKiI/AAAAAAAACxo/i6lsD0Wjqiw/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="88" src="https://lh5.googleusercontent.com/-t14ZDd40R28/TW5ygaWxKiI/AAAAAAAACxo/i6lsD0Wjqiw/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos Getters y Setters&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-wkjZEkrvQEE/TW5y9jdYxOI/AAAAAAAACxs/EPPV1LkMWY0/s1600/Pantallazo-+.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh5.googleusercontent.com/-wkjZEkrvQEE/TW5y9jdYxOI/AAAAAAAACxs/EPPV1LkMWY0/s1600/Pantallazo-+.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Seleccionamos todos los campos&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-uRhYwm163Ww/TW5zIm74-kI/AAAAAAAACxw/7w2I64QDzLE/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="74" src="https://lh5.googleusercontent.com/-uRhYwm163Ww/TW5zIm74-kI/AAAAAAAACxw/7w2I64QDzLE/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;El IDE genera los&amp;nbsp;métodos&amp;nbsp;set y get para cada campo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;nuestra clase&amp;nbsp;quedaría&amp;nbsp;de la siguiente forma&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;package avbravo.beans;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import javax.faces.bean.ManagedBean;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import javax.faces.bean.SessionScoped;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;/**&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;* @author avbravo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;@ManagedBean&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;@SessionScoped&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public class Login {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;String username;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;String password;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getPassword() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return password;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setPassword(String password) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.password = password;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getUsername() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return username;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setUsername(String username) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.username = username;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/** Creates a new instance of Login */&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public Login() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Editar el archivo index.xhtml&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-h_Korz7Yujg/TW5zxK6NJRI/AAAAAAAACx4/sYSQemylZXQ/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="264" src="https://lh4.googleusercontent.com/-h_Korz7Yujg/TW5zxK6NJRI/AAAAAAAACx4/sYSQemylZXQ/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Agregamps&lt;/div&gt;&lt;div&gt;En value="" agregamos #{ y se activa el asistente&amp;nbsp;permitiéndonos&amp;nbsp;seleccionar la clase&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-fxyVUs9jvYs/TW50dQlJwhI/AAAAAAAACx8/pUJ7BW1mJdw/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="34" src="https://lh5.googleusercontent.com/-fxyVUs9jvYs/TW50dQlJwhI/AAAAAAAACx8/pUJ7BW1mJdw/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;seleccionamos la clase login y escribimos . y se activa el asistente(podemos activarlo presionando CTRL + BARRA ESPACIADORA) y seleccionamos username&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-dWaERrwwKdo/TW51jY0g9tI/AAAAAAAACyA/A1Ylt7ccc6o/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="68" src="https://lh4.googleusercontent.com/-dWaERrwwKdo/TW51jY0g9tI/AAAAAAAACyA/A1Ylt7ccc6o/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;repetimos el mismo procedimiento para password.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;el resultado final es este&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-D4NcOS_34Zc/TW52MUC6p6I/AAAAAAAACyE/ubMwjyw77xU/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="https://lh6.googleusercontent.com/-D4NcOS_34Zc/TW52MUC6p6I/AAAAAAAACyE/ubMwjyw77xU/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;En el&amp;nbsp;próximo&amp;nbsp;blog crearemos una pagina que mostrara los datos enviados por el usuario y almacenados en la clase Login&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4608847638649729330?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4608847638649729330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4608847638649729330' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4608847638649729330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4608847638649729330'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/tutorial-basico-de-aplicaciones-web-con.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 3'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-DzBMp1xKc1M/TW5vCEP9F6I/AAAAAAAACw8/nUvwXaBJn1k/s72-c/Pantallazo-11.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-47468682147429366</id><published>2011-03-01T17:23:00.000-08:00</published><updated>2011-03-01T17:23:56.727-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Nuevo portal de Java.net</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;La migración del portal Java.net, culmino y podemos observar una nueva interfaz&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-92IxxVh5DdI/TW2b68oLtzI/AAAAAAAACw4/w9s9i5aocEo/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="189" src="https://lh4.googleusercontent.com/-92IxxVh5DdI/TW2b68oLtzI/AAAAAAAACw4/w9s9i5aocEo/s320/Pantallazo-4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;integrado con el antiguo proyecto Kenai.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Puedes visitarlo en &lt;a href="http://java.net/"&gt;Java.net&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-47468682147429366?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/47468682147429366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=47468682147429366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/47468682147429366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/47468682147429366'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/03/nuevo-portal-de-javanet.html' title='Nuevo portal de Java.net'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-92IxxVh5DdI/TW2b68oLtzI/AAAAAAAACw4/w9s9i5aocEo/s72-c/Pantallazo-4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6338512477136010682</id><published>2011-02-26T11:36:00.000-08:00</published><updated>2011-03-02T08:22:22.289-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 2</title><content type='html'>&amp;nbsp;La primera parte del tutorial puedes encontrarla &lt;a href="http://avbravo.blogspot.com/2011/02/tutorial-basico-de-aplicaciones-web-con.html"&gt;aqui&lt;/a&gt;.&lt;br /&gt;En esta parte mostrare brevemente el uso de las etiquetas JSF, que son generadas como etiquetas html.&lt;br /&gt;Abrimos index.xhtml y&amp;nbsp;escribimos &amp;lt;h:out y presionamos CTRL+BARRA ESPACIADORA si no se ha activado el autocompletar. &amp;nbsp;Nos muestra las diversas etiquetas, seleccionar &amp;lt;h:outputLabel&amp;gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-JfgrbVE3hz0/TWlSi1UPI6I/AAAAAAAACwo/AO1C8sS3U0I/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="181" src="https://lh4.googleusercontent.com/-JfgrbVE3hz0/TWlSi1UPI6I/AAAAAAAACwo/AO1C8sS3U0I/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y escribimos value="Mi aplicación JSF",&amp;nbsp;quedaría&amp;nbsp;de la siguiente manera.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;b&gt;&lt;h:outputlabel value="Mi aplicación JSF"&gt;&lt;/h:outputlabel&gt;&amp;lt;h:outputLabel value="Mi aplicación JSF"/&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ejecutamos la aplicación&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-IoR1g2uyvMg/TWlT_tv1uYI/AAAAAAAACws/YGLbIK9jt74/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="68" src="https://lh5.googleusercontent.com/-IoR1g2uyvMg/TWlT_tv1uYI/AAAAAAAACws/YGLbIK9jt74/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos &amp;nbsp;algunos componentes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;lt;h:form&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;table&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:outputLabel value="Usuario"/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:inputText value=""/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;h:outputLabel value="Password"/&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:inputSecret value=""/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h:commandButton value="Entrar"/&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/h:form&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Explicación corta:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h:inputText value=""/&amp;gt;&amp;nbsp;sera generado en el browser como&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&amp;lt;input &lt;span class="webkit-html-attribute-name"&gt;type&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;text&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;name&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;j_idt10:j_idt14&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;value&lt;/span&gt;="" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; white-space: normal;"&gt;&amp;lt;h:inputSecret value=""/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&amp;lt;input &lt;span class="webkit-html-attribute-name"&gt;type&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;password&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;name&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;j_idt10:j_idt18&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;value&lt;/span&gt;="" /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;&lt;span class="Apple-style-span" style="color: #881280;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;h:commandButton value="Entrar"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre-wrap;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&amp;lt;input &lt;span class="webkit-html-attribute-name"&gt;type&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;submit&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;name&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;j_idt10:j_idt20&lt;/span&gt;" &lt;span class="webkit-html-attribute-name"&gt;value&lt;/span&gt;="&lt;span class="webkit-html-attribute-value"&gt;Entrar&lt;/span&gt;" /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #881280; font-family: monospace; white-space: pre-wrap;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-zQbaPwzWOEw/TWlU41Ql9PI/AAAAAAAACww/8sha-PkwLzg/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="132" src="https://lh6.googleusercontent.com/-zQbaPwzWOEw/TWlU41Ql9PI/AAAAAAAACww/8sha-PkwLzg/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En el&amp;nbsp;próximo&amp;nbsp;blog crearemos una clase para interactuar con los elementos de nuestra pagina.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6338512477136010682?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6338512477136010682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6338512477136010682' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6338512477136010682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6338512477136010682'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/tutorial-basico-de-aplicaciones-web-con_26.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-JfgrbVE3hz0/TWlSi1UPI6I/AAAAAAAACwo/AO1C8sS3U0I/s72-c/Pantallazo.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-5305843948266615426</id><published>2011-02-19T09:30:00.000-08:00</published><updated>2011-02-19T09:33:38.989-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><title type='text'>Tutorial básico de aplicaciones Web con NetBeans parte 1</title><content type='html'>NetBeans ofrece un excelente soporte para el desarrollo de aplicaciones Web, en esta ocasión lo haremos utilizando el Framework Java Server Faces 2.0.&lt;br /&gt;En el Menu Seleccionamos Nuevo-&amp;gt;Proyecto y luego en Categorias Java Web y en tipo de Proyectos Web &amp;nbsp;Application&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-D39G0Kht200/TV_5xnFJUoI/AAAAAAAACvo/a1CeLRPH3SM/s1600/Pantallazo-7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="76" src="http://1.bp.blogspot.com/-D39G0Kht200/TV_5xnFJUoI/AAAAAAAACvo/a1CeLRPH3SM/s320/Pantallazo-7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;indicamos el nombre del proyecto&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-CRldg98J_1A/TV_6Eu8-jOI/AAAAAAAACvs/iytXkFZA7-E/s1600/Pantallazo-8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="196" src="http://4.bp.blogspot.com/-CRldg98J_1A/TV_6Eu8-jOI/AAAAAAAACvs/iytXkFZA7-E/s320/Pantallazo-8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccinamos el servidor Web, usamos GlassFish ya que este soporta EJB3.0 y JSF 2.0&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-3mWy3c8r4WE/TV_6Nb3a3lI/AAAAAAAACvw/UeiSC1enKQc/s1600/Pantallazo-9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://2.bp.blogspot.com/-3mWy3c8r4WE/TV_6Nb3a3lI/AAAAAAAACvw/UeiSC1enKQc/s320/Pantallazo-9.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Framework Java Server Faces&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-rFHLSorjWtw/TV_6gmpCxfI/AAAAAAAACv0/Sc1yWzdHey0/s1600/Pantallazo-10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="179" src="http://1.bp.blogspot.com/-rFHLSorjWtw/TV_6gmpCxfI/AAAAAAAACv0/Sc1yWzdHey0/s320/Pantallazo-10.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;El IDE genera el esquelto del proyecto&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-E052QIATChs/TV_7J79zEiI/AAAAAAAACv4/Sv1V2WF_qKs/s1600/Pantallazo-11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-E052QIATChs/TV_7J79zEiI/AAAAAAAACv4/Sv1V2WF_qKs/s1600/Pantallazo-11.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Web Pages&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;almacenamos las paginas .html, xhtml, jsf, los archivos de recursos, los scripts .js, imagenes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Source Packages&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; Son las clases Java&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Test Packages&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; Son las clases que usamos para los Test&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Ja-7tQI0YpU/TV_8KWp0aqI/AAAAAAAACv8/HTmLO2sFBCM/s1600/Pantallazo-12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Ja-7tQI0YpU/TV_8KWp0aqI/AAAAAAAACv8/HTmLO2sFBCM/s1600/Pantallazo-12.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Libraries&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Tenemos las bibliotecas de Java y GlassFish necesarias para ejecutar la aplicación Web.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Test Libraries&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Están las bibliotecas usadas para los test&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Configuration Files&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; Archivos de configuración de la aplicación.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="" style="clear: both; text-align: left;"&gt;Ejecutamos la aplicación&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-Gv8oFYokLTw/TV_87E_ipiI/AAAAAAAACwA/G10YgdIaV20/s1600/Pantallazo-13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-Gv8oFYokLTw/TV_87E_ipiI/AAAAAAAACwA/G10YgdIaV20/s1600/Pantallazo-13.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="" style="clear: both; text-align: left;"&gt;Esperamos que se inicie GlassFish y se&amp;nbsp;cargue&amp;nbsp;la aplicación&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-YZI2aENFxSE/TV_9enggHrI/AAAAAAAACwM/lGmR93TBcoA/s1600/Pantallazo-15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="66" src="http://3.bp.blogspot.com/-YZI2aENFxSE/TV_9enggHrI/AAAAAAAACwM/lGmR93TBcoA/s320/Pantallazo-15.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Este se ejecutara en nuestro servidor local y en el puerto 8080&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;podemos editar el archivo index.xhtml para ver el contenido.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-_Vekl5tGMHs/TV_9vmvqX8I/AAAAAAAACwQ/l3A1llhv4cg/s1600/Pantallazo-16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://4.bp.blogspot.com/-_Vekl5tGMHs/TV_9vmvqX8I/AAAAAAAACwQ/l3A1llhv4cg/s320/Pantallazo-16.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En la pestaña Servicios-&amp;gt;Server podemos administrar GlassFish&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-LZqMKi1Vy50/TV_9-rLKwtI/AAAAAAAACwU/YBd9bhrCsJw/s1600/Pantallazo-17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-LZqMKi1Vy50/TV_9-rLKwtI/AAAAAAAACwU/YBd9bhrCsJw/s1600/Pantallazo-17.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En blogs posteriores mostraremos como crear simples Beans e integrarlos con la aplicación.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-5305843948266615426?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/5305843948266615426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=5305843948266615426' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5305843948266615426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/5305843948266615426'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/tutorial-basico-de-aplicaciones-web-con.html' title='Tutorial básico de aplicaciones Web con NetBeans parte 1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-D39G0Kht200/TV_5xnFJUoI/AAAAAAAACvo/a1CeLRPH3SM/s72-c/Pantallazo-7.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-905740202031026420</id><published>2011-02-19T08:12:00.000-08:00</published><updated>2011-02-19T09:42:08.672-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>Scala Plugins for NetBeans 7.0</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: 'Droid Sans', arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;&lt;b&gt;&lt;a href="http://wiki.netbeans.org/CaoyuanDeng" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; color: #1e2a60; text-decoration: underline;" title="CaoyuanDeng"&gt;Caoyuan Deng&lt;/a&gt;&amp;nbsp;miembro del Dream Team de NetBeans&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: x-small; font-weight: bold;"&gt;&amp;nbsp;ha actualizado el plugin Scala 2.8 para NetBeans 7.0&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: 'Droid Sans', arial, sans-serif; font-size: 13px; font-weight: bold;"&gt;puedes descargarlo desde&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: 'Droid Sans', arial, sans-serif; font-size: 13px;"&gt;&lt;span class="gD" email="dcaoyuan@gmail.com" style="display: inline; font-size: 13px; font-weight: bold; vertical-align: top; white-space: normal;"&gt;&lt;a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=36598"&gt;http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=36598&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #202020; font-family: 'Droid Sans', arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-DowU9-oGuoQ/TV_p-xJxqWI/AAAAAAAACvE/0JUeYpK18ac/s1600/Pantallazo-6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://3.bp.blogspot.com/-DowU9-oGuoQ/TV_p-xJxqWI/AAAAAAAACvE/0JUeYpK18ac/s320/Pantallazo-6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;descomprimimos el .zip&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Gmn25ESqBQs/TV_qEYCirDI/AAAAAAAACvI/41mbwKWx3rQ/s1600/zip.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Gmn25ESqBQs/TV_qEYCirDI/AAAAAAAACvI/41mbwKWx3rQ/s1600/zip.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;en NetBeans seleccionar Tools-&amp;gt;Plugins -&amp;gt;Downloaded&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y dar clic en Add Plugins seleccionamos los archivos .nbm&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6XRSoLjFcaU/TV_qyaqkgBI/AAAAAAAACvM/lVEMIfNPKAI/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="299" src="http://2.bp.blogspot.com/-6XRSoLjFcaU/TV_qyaqkgBI/AAAAAAAACvM/lVEMIfNPKAI/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Para verificarlo seleccionar Nuevo-&amp;gt;Proyecto y en categorías aparece Scala&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-KUrVNeCOeQM/TV_rKPG_GWI/AAAAAAAACvQ/inFjQFEhGa0/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="173" src="http://1.bp.blogspot.com/-KUrVNeCOeQM/TV_rKPG_GWI/AAAAAAAACvQ/inFjQFEhGa0/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Si abrimos nuestro proyecto anterior scalajsf&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-EOaTwadWJKc/TV_rYUcPnqI/AAAAAAAACvU/X1ba4ZVbQ_c/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-EOaTwadWJKc/TV_rYUcPnqI/AAAAAAAACvU/X1ba4ZVbQ_c/s1600/Pantallazo-2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;editamos la clase UserBean.scala&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-dc8qGpvEUPE/TV_rj_oOuKI/AAAAAAAACvY/0CD8UpLrM6Q/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" src="http://2.bp.blogspot.com/-dc8qGpvEUPE/TV_rj_oOuKI/AAAAAAAACvY/0CD8UpLrM6Q/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y&amp;nbsp;podríamos&amp;nbsp;crear las clases de Scala con el nuevo plugin&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-5vSe1e8Vjqg/TV_r03SHK3I/AAAAAAAACvc/HKhu9B1uxtg/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="164" src="http://4.bp.blogspot.com/-5vSe1e8Vjqg/TV_r03SHK3I/AAAAAAAACvc/HKhu9B1uxtg/s320/Pantallazo-4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #202020; font-family: 'Droid Sans', arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-905740202031026420?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/905740202031026420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=905740202031026420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/905740202031026420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/905740202031026420'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/scala-plugins-for-netbeans-70.html' title='Scala Plugins for NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-DowU9-oGuoQ/TV_p-xJxqWI/AAAAAAAACvE/0JUeYpK18ac/s72-c/Pantallazo-6.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2591871408311855187</id><published>2011-02-18T05:28:00.000-08:00</published><updated>2011-02-18T05:28:20.387-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans traduccion'/><title type='text'>NetBeans 7.0 Beta 2 en Español</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-H_yLL7tIHTU/TV5z5V7_vfI/AAAAAAAACuc/R-xVokqqHmw/s1600/tfnborg_new_logo_small.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-H_yLL7tIHTU/TV5z5V7_vfI/AAAAAAAACuc/R-xVokqqHmw/s1600/tfnborg_new_logo_small.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Amigos esta disponible la versión beta 2 de NetBeans 7.0 en el siguiente enlace&amp;nbsp;&lt;a href="http://bits.netbeans.org/netbeans/7.0/community/daily/latest/"&gt;http://bits.netbeans.org/netbeans/7.0/community/daily/latest/&lt;/a&gt;&lt;br /&gt;Aun se esta trabajando en la traducción de la misma y en la&amp;nbsp;corrección&amp;nbsp;de errores, los invitamos a probrarla y enviar sus sugerencias a nuestro grupo de traducción en google.&lt;br /&gt;&lt;a href="https://groups.google.com/group/traduccionnetbeans%3C"&gt;https://groups.google.com/group/traduccionnetbeans&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2591871408311855187?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2591871408311855187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2591871408311855187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2591871408311855187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2591871408311855187'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/netbeans-70-beta-2-en-espanol.html' title='NetBeans 7.0 Beta 2 en Español'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-H_yLL7tIHTU/TV5z5V7_vfI/AAAAAAAACuc/R-xVokqqHmw/s72-c/tfnborg_new_logo_small.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2486675523917524227</id><published>2011-02-17T12:56:00.000-08:00</published><updated>2011-02-18T08:51:08.356-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 3</title><content type='html'>Continuando con nuestro proyecto Scala con Java Server Faces. Ahora&amp;nbsp;agregaremos el soporte para Scala&lt;br /&gt;Editamos el archivo pom.xml&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-kAjKLnOxDPE/TV2JVbH62II/AAAAAAAACt4/x3kKQW2uwik/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-kAjKLnOxDPE/TV2JVbH62II/AAAAAAAACt4/x3kKQW2uwik/s320/1.png" width="192" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;En &amp;lt;properties&amp;gt; agregar la versión de scala&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;scala.version&amp;gt;2.8.0&amp;lt;/scala.version&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Agregamos en &amp;lt;repositories&amp;gt; scala-tools&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;repository&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;id&amp;gt;scala-tools.org&amp;lt;/id&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;name&amp;gt;Scala-Tools Maven2 Repository&amp;lt;/name&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;url&amp;gt;http://scala-tools.org/repo-releases&amp;lt;/url&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/repository&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Incluimos &amp;lt;pluginRepositories&amp;gt; especificando el plugin para scala-tools&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;pluginRepositories&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;pluginRepository&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;id&amp;gt;scala-tools.org&amp;lt;/id&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;name&amp;gt;Scala-Tools Maven2 Repository&amp;lt;/name&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;url&amp;gt;http://scala-tools.org/repo-releases&amp;lt;/url&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/pluginRepository&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/pluginRepositories&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;En &amp;lt;dependencies&amp;gt; agregamos scala-library&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;dependency&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;groupId&amp;gt;org.scala-lang&amp;lt;/groupId&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;artifactId&amp;gt;scala-library&amp;lt;/artifactId&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;version&amp;gt;${scala.version}&amp;lt;/version&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/dependency&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;En la sección &amp;lt;plugins&amp;gt; en &amp;lt;build&amp;gt; agregamos&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;plugin&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;groupId&amp;gt;org.scala-tools&amp;lt;/groupId&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;artifactId&amp;gt;maven-scala-plugin&amp;lt;/artifactId&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;executions&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;execution&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;goals&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;goal&amp;gt;compile&amp;lt;/goal&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/goals&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/execution&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/executions&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;configuration&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;scalaVersion&amp;gt;${scala.version}&amp;lt;/scalaVersion&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/configuration&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/plugin&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;debajo de la etiqueta &amp;lt;/build&amp;gt; agregamos la sección &amp;lt;reporting&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;reporting&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;plugins&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;plugin&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;groupId&amp;gt;org.scala-tools&amp;lt;/groupId&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;artifactId&amp;gt;maven-scala-plugin&amp;lt;/artifactId&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;configuration&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;scalaVersion&amp;gt;${scala.version}&amp;lt;/scalaVersion&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/configuration&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/plugin&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/plugins&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/reporting&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Crear el archivo beans.xml en WEB-INF&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-TDDWiSfvKbQ/TV2J78KvwsI/AAAAAAAACt8/bQVHAVTsRJE/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-TDDWiSfvKbQ/TV2J78KvwsI/AAAAAAAACt8/bQVHAVTsRJE/s1600/2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Agregamos el siguiente código&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;!--&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The contents of this file is permitted to be empty.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The schema definition is provided for your convenience.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;--&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;beans xmlns="http://java.sun.com/xml/ns/javaee"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;xsi:schemaLocation="&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;http://java.sun.com/xml/ns/javaee&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/beans&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;WEB-INF quedaria de la siguiente manera,&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-fGXBqWTWvEY/TV2KHmwlqhI/AAAAAAAACuA/MTOozzObadc/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-fGXBqWTWvEY/TV2KHmwlqhI/AAAAAAAACuA/MTOozzObadc/s1600/3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos dos nuevas etiquetas al archivo de propiedades. mensajes.properties&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-iEafPz9WleE/TV2KN3Zc-KI/AAAAAAAACuE/1ZPr2Ef_ZAQ/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="76" src="http://2.bp.blogspot.com/-iEafPz9WleE/TV2KN3Zc-KI/AAAAAAAACuE/1ZPr2Ef_ZAQ/s320/4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Editamos el archivo index.xhtml&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h:form&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;table&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;td&amp;gt;#{msg.nombre}&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;td&amp;gt;&amp;lt;h:inputText value="#{user.name}"/&amp;gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;td&amp;gt;#{msg.password}&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;td&amp;gt;&amp;lt;h:inputSecret value="#{user.password}"/&amp;gt;&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/table&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;p&amp;gt;&amp;lt;h:commandButton value="Login" action="#{user.login}"/&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/h:form&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;Creamos el archivo welcome.xhtml en Web Pages&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-kzIUDPZ5res/TV2KxO_Jn0I/AAAAAAAACuI/ZKSBdGEGnO8/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-kzIUDPZ5res/TV2KxO_Jn0I/AAAAAAAACuI/ZKSBdGEGnO8/s1600/Pantallazo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y agregamos el siguiente contenido&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos Nuevo-&amp;gt;Otro en&amp;nbsp;Categorías&amp;nbsp;Java Server Faces y en tipo de archivos JSF Page&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-3E4eALLF6bE/TV2K_8yuN0I/AAAAAAAACuM/AGadaTgEfaw/s1600/s.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="108" src="http://1.bp.blogspot.com/-3E4eALLF6bE/TV2K_8yuN0I/AAAAAAAACuM/AGadaTgEfaw/s320/s.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el nombre welcome&amp;nbsp;en opciones debe estar seleccionada Facelets&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-4vQk-l225Vo/TV2LMSF5KWI/AAAAAAAACuQ/q6Qk39XKkDk/s1600/r.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="169" src="http://2.bp.blogspot.com/-4vQk-l225Vo/TV2LMSF5KWI/AAAAAAAACuQ/q6Qk39XKkDk/s320/r.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Contenido del archivo welcome.xhtml&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;?xml version='1.0' encoding='UTF-8' ?&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;xmlns:h="http://java.sun.com/jsf/html"&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h:head&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;title&amp;gt;Facelet Title&amp;lt;/title&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/h:head&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h:body&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h3&amp;gt;Bienvenido a Scala + JSF, #{user.name}!&amp;lt;/h3&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/h:body&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;/html&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ejecutamos el proyecto&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-opYa2AKi_24/TV2LYPU6exI/AAAAAAAACuU/VKxPR2jnKhw/s1600/x.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="102" src="http://1.bp.blogspot.com/-opYa2AKi_24/TV2LYPU6exI/AAAAAAAACuU/VKxPR2jnKhw/s320/x.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;al dar clic en Login&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-wAEY424Dkn4/TV2LfKTUyGI/AAAAAAAACuY/hxPmZ-lkPxc/s1600/m.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="44" src="http://4.bp.blogspot.com/-wAEY424Dkn4/TV2LfKTUyGI/AAAAAAAACuY/hxPmZ-lkPxc/s320/m.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2486675523917524227?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2486675523917524227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2486675523917524227' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2486675523917524227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2486675523917524227'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/scala-java-server-faces-20-con-netbeans_2940.html' title='Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 3'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-kAjKLnOxDPE/TV2JVbH62II/AAAAAAAACt4/x3kKQW2uwik/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1787989462040201967</id><published>2011-02-17T12:41:00.000-08:00</published><updated>2011-02-17T12:43:49.886-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 2</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;Continuamos ahora con la segunda parte de nuestro proyecto que integra Scala con JSF.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;Creamos un archivo en Scala, nos ubicamos en la carpeta com.avbravo.scalajsf y damos&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;clic derecho y seleccionamos Nuevo-&amp;gt;Otro&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-CDoERoJtgJE/TV2E0Cj1-uI/AAAAAAAACtY/Zh2m56M4kHw/s1600/1.png" imageanchor="1" style="background-color: orange; margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-CDoERoJtgJE/TV2E0Cj1-uI/AAAAAAAACtY/Zh2m56M4kHw/s1600/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="background-color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;en categoría Otro-&amp;gt; Archivo&amp;nbsp;Vació&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-R4yexvXfH1U/TV2FMCJg3lI/AAAAAAAACtc/x5nqauUNR1k/s1600/2.png" imageanchor="1" style="background-color: orange; margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="189" src="http://2.bp.blogspot.com/-R4yexvXfH1U/TV2FMCJg3lI/AAAAAAAACtc/x5nqauUNR1k/s320/2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="background-color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;en el nombre del proyecto indicamos UserBean.scala&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee; color: purple;"&gt;escribimos el siguiente código UserBean.scala&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;package com.avbravo.scalajsf&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;import java.io.Serializable&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;import javax.inject.Named&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;import javax.enterprise.context.SessionScoped&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;import scala.reflect.BeanProperty&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;@Named("user")&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;@SessionScoped&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;class UserBean extends Serializable {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;@BeanProperty var name : String = ""&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;@BeanProperty var password : String = ""&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;def login = if (name != "") "welcome" else null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #eeeeee;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora crearemos un archivo de propiedades para almacenar las etiquetas de la aplicación&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos un nuevo paquete para almacenar los archivos. Nos ubicamos en Other Sources&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-C28C7oeWkrY/TV2Fs13gY9I/AAAAAAAACtg/xt1jPDQMZSU/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-C28C7oeWkrY/TV2Fs13gY9I/AAAAAAAACtg/xt1jPDQMZSU/s1600/6.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;dar click derecho seleccionar Nuevo-&amp;gt; Paquete Java&lt;/div&gt;&lt;div&gt;indicamos el nombre com.avbravo.scalajsf.propiedades&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ahora nos ubicamos en el nuevo directorio&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-AuocgD7EKro/TV2F_9XhoWI/AAAAAAAACtk/UZnCCJCE4os/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-AuocgD7EKro/TV2F_9XhoWI/AAAAAAAACtk/UZnCCJCE4os/s1600/6.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;clic derecho luego Nuevo-&amp;gt;Otro-&amp;gt; en Categorias Otros-&amp;gt; Properties File (en tipo de&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;archivo)&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6ualsy_v3mc/TV2GTqBUmPI/AAAAAAAACto/hgeFJgYUctY/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="155" src="http://2.bp.blogspot.com/-6ualsy_v3mc/TV2GTqBUmPI/AAAAAAAACto/hgeFJgYUctY/s320/11.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el nombre &lt;span class="Apple-style-span" style="color: purple;"&gt;mensajes&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;dar click derecho en el archivo y seleccionamos Abrir. Y agregamos una nueva propiedad llamada&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;titulo_aplicacion&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-vYNzk3NoKRE/TV2G0VkvxgI/AAAAAAAACts/OrelOylQWRU/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="138" src="http://4.bp.blogspot.com/-vYNzk3NoKRE/TV2G0VkvxgI/AAAAAAAACts/OrelOylQWRU/s320/7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Editamos el archivo index.xhtml&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;xmlns:f="http://java.sun.com/jsf/core" en &amp;lt;html&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;en la etiqueta &amp;lt;h:head&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;f:loadBundle basename="com.avbravo.scalajsf.propiedades.mensajes" var="msg" /&amp;gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;con esta configuración podemos usar las etiquetas en el archivo de propiedades en&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;nuestras aplicaciones&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;lt;h:outputLabel value="#{msg.titulo_aplicacion}"/&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;código del archivo index.xhtml&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-1EOKV7aukbk/TV2HhGl9uOI/AAAAAAAACtw/Yw0gdEq50No/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="139" src="http://4.bp.blogspot.com/-1EOKV7aukbk/TV2HhGl9uOI/AAAAAAAACtw/Yw0gdEq50No/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;Ejecutamos el proyecto&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-v6mlIOp2Pnc/TV2HvfjWmqI/AAAAAAAACt0/YJOoAG3BalA/s1600/Pantallazo-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="43" src="http://4.bp.blogspot.com/-v6mlIOp2Pnc/TV2HvfjWmqI/AAAAAAAACt0/YJOoAG3BalA/s320/Pantallazo-1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;En el siguiente blog configuraremos el archivo pom.xml y estableceremos la integración&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1787989462040201967?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1787989462040201967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1787989462040201967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1787989462040201967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1787989462040201967'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/scala-java-server-faces-20-con-netbeans_17.html' title='Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-CDoERoJtgJE/TV2E0Cj1-uI/AAAAAAAACtY/Zh2m56M4kHw/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8074825012653695769</id><published>2011-02-17T12:20:00.000-08:00</published><updated>2011-02-17T12:20:35.629-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java server faces'/><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 1</title><content type='html'>Este tutorial es basado en el blog de &amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: lucida, arial, sans-serif; font-size: 16px; font-weight: bold;"&gt;&lt;a href="http://weblogs.java.net/blog/6034" style="color: #006699; font-size: 16px; text-decoration: none;"&gt;Cay Horstmann&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: lucida, arial, sans-serif; font-size: 16px;"&gt;quien ha escrito varios libros sobre Java Server Faces y en su blog &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: lucida, arial, sans-serif; font-size: 17px;"&gt;&lt;a href="http://weblogs.java.net/blog/cayhorstmann/archive/2010/09/04/scala-jsf-2-and-netbeans" style="font-weight: bold;"&gt;Scala, JSF 2, and NetBeans&lt;/a&gt;&amp;nbsp;nos explica la forma de integrar Scala con JSF mediante proyectos Maven.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: lucida, arial, sans-serif; font-size: 17px;"&gt;Lo que hare simplemente es realizar de manera sencilla un proyecto Web utilizando Maven desde NetBeans para aquellas personas que no tengan mucha experiencia en el desarrollo de aplicaciones Web.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida, arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 17px;"&gt;Creamos un proyecto Web basado en Maven&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-uDjX6xj5eTk/TV2BiEMM3HI/AAAAAAAACsw/qtAQs-wnP68/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="111" src="http://4.bp.blogspot.com/-uDjX6xj5eTk/TV2BiEMM3HI/AAAAAAAACsw/qtAQs-wnP68/s320/1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el&amp;nbsp;nombre del proyecto scalajsf&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-aU3uDbWfWQQ/TV2BtDesZ2I/AAAAAAAACs0/Iz9hdD5M0p8/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="146" src="http://1.bp.blogspot.com/-aU3uDbWfWQQ/TV2BtDesZ2I/AAAAAAAACs0/Iz9hdD5M0p8/s200/2.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el Group Id&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;NetBeans genera el esqueleto del proyecto&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-NMzwdVYiDWs/TV2B33D1HVI/AAAAAAAACs4/4GkMkzJ-IV4/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-NMzwdVYiDWs/TV2B33D1HVI/AAAAAAAACs4/4GkMkzJ-IV4/s1600/3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora indicaremos el Framework Java Server Faces&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En el menú Archivo seleccionamos Propiedades del Proyecto y en Categorias seleccionamos&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Frameworks y presionamos el botón Agregar&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-KqmwCNqYzdg/TV2B_nF1a0I/AAAAAAAACs8/YdmT4X0ZWyQ/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="174" src="http://2.bp.blogspot.com/-KqmwCNqYzdg/TV2B_nF1a0I/AAAAAAAACs8/YdmT4X0ZWyQ/s320/4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Una vez que hemos seleccionado Java Server Faces verificamos las Bibliotecas,&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Configuración y Componentes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iaa8XU9cZnY/TV2CIupmLeI/AAAAAAAACtA/Qk5BhAZAKzg/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-iaa8XU9cZnY/TV2CIupmLeI/AAAAAAAACtA/Qk5BhAZAKzg/s320/5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Configuración indicamos Facelets&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5Jz6_niCcdY/TV2CQB3TQhI/AAAAAAAACtE/JiIVe3JC0Z4/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="152" src="http://3.bp.blogspot.com/-5Jz6_niCcdY/TV2CQB3TQhI/AAAAAAAACtE/JiIVe3JC0Z4/s320/6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Por ejemplo en Componentes podemos indicar la integración de PrimeFaces 2.1&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5Jz6_niCcdY/TV2CQB3TQhI/AAAAAAAACtE/JiIVe3JC0Z4/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="152" src="http://3.bp.blogspot.com/-5Jz6_niCcdY/TV2CQB3TQhI/AAAAAAAACtE/JiIVe3JC0Z4/s320/6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-UQ1tZpTBsIs/TV2CWdQKpyI/AAAAAAAACtI/fiycyp0F-l4/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="113" src="http://1.bp.blogspot.com/-UQ1tZpTBsIs/TV2CWdQKpyI/AAAAAAAACtI/fiycyp0F-l4/s320/7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ejecutamos el proyecto&amp;nbsp;&lt;a href="http://1.bp.blogspot.com/-TcGg_EsC2o0/TV2Cfp5FUxI/AAAAAAAACtM/rhXzmOyxT0E/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-TcGg_EsC2o0/TV2Cfp5FUxI/AAAAAAAACtM/rhXzmOyxT0E/s1600/8.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos el Servidor GlassFish&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Hw-MnSql4KY/TV2Cq4Ya7NI/AAAAAAAACtQ/XmuKx6giiig/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="190" src="http://1.bp.blogspot.com/-Hw-MnSql4KY/TV2Cq4Ya7NI/AAAAAAAACtQ/XmuKx6giiig/s320/9.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Proyecto ejecutándose&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-jP5seI0z-dg/TV2CyZNSCSI/AAAAAAAACtU/yy12dKOWKwc/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="62" src="http://3.bp.blogspot.com/-jP5seI0z-dg/TV2CyZNSCSI/AAAAAAAACtU/yy12dKOWKwc/s320/10.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;en el&amp;nbsp;próximo&amp;nbsp;blog crearemos el archivo .scala y realizaremos las configuraciones necesarias.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: lucida, arial, sans-serif; font-size: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8074825012653695769?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8074825012653695769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8074825012653695769' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8074825012653695769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8074825012653695769'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/scala-java-server-faces-20-con-netbeans.html' title='Scala + Java Server Faces 2.0 con NetBeans 7.0 Beta 2 parte 1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-uDjX6xj5eTk/TV2BiEMM3HI/AAAAAAAACsw/qtAQs-wnP68/s72-c/1.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-710562597801733497</id><published>2011-02-17T07:18:00.000-08:00</published><updated>2011-02-17T07:18:27.896-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>jUnit en NetBeans 7.0 Beta 2</title><content type='html'>Como recordaran JUnit no esta incluido de forma predeterminada dentro de NetBeans 7.0 Beta 2, si abres un proyecto que contega Test , el IDE automaticamente te permitira que instales el Plugin de JUnit.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jsAN9pS99ac/TV07dYk3_EI/AAAAAAAACsg/Lm5QxuX4cfA/s1600/juni.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="70" src="http://4.bp.blogspot.com/-jsAN9pS99ac/TV07dYk3_EI/AAAAAAAACsg/Lm5QxuX4cfA/s320/juni.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Una vez que presionamos el botón Ok se inicia la descarga&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-xqBhnxWBi2k/TV07ev3lRMI/AAAAAAAACsk/J_SYoLTdXGE/s1600/Pantallazo-15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="37" src="http://2.bp.blogspot.com/-xqBhnxWBi2k/TV07ev3lRMI/AAAAAAAACsk/J_SYoLTdXGE/s320/Pantallazo-15.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&amp;nbsp;luego se activa el asistente&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-lmc8xelfMZs/TV07fuBItHI/AAAAAAAACso/PP2ukveqGr8/s1600/junit3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="282" src="http://4.bp.blogspot.com/-lmc8xelfMZs/TV07fuBItHI/AAAAAAAACso/PP2ukveqGr8/s320/junit3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;con esto tendremos el soporte para JUnit&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-710562597801733497?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/710562597801733497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=710562597801733497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/710562597801733497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/710562597801733497'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/junit-en-netbeans-70-beta-2.html' title='jUnit en NetBeans 7.0 Beta 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-jsAN9pS99ac/TV07dYk3_EI/AAAAAAAACsg/Lm5QxuX4cfA/s72-c/juni.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2133244445680242265</id><published>2011-02-16T16:19:00.000-08:00</published><updated>2011-02-16T17:02:55.132-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0 Beta 2 disponible</title><content type='html'>Ya se encuentra disponible para su descarga la beta 2 de NetBeans 7.0&lt;br /&gt;El enlace para descarga se encuentra en esta dirección&amp;nbsp;&lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/7.0/beta2/"&gt;http://dlc.sun.com.edgesuite.net/netbeans/7.0/beta2/&lt;/a&gt;&lt;br /&gt;Nos acercamos cada vez más a la versión final de NetBeans 7.0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2133244445680242265?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2133244445680242265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2133244445680242265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2133244445680242265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2133244445680242265'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/netbeans-70-beta-disponible.html' title='NetBeans 7.0 Beta 2 disponible'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2663840859074214788</id><published>2011-02-07T12:46:00.000-08:00</published><updated>2011-02-07T13:00:30.632-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lift'/><title type='text'>Lift en NetBeans 6.9.1</title><content type='html'>Podemos ejecutar nuestros proyectos Lift en NetBeans 6.9.1&lt;br /&gt;Pasos:&lt;br /&gt;&lt;b&gt;1. Instalar Scala&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Bajamos el jar desde&amp;nbsp;&lt;a href="http://www.scala-lang.org/downloads"&gt;http://www.scala-lang.org/downloads&lt;/a&gt;&lt;br /&gt;Ejecutamos java -jar&amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 5px; -webkit-border-vertical-spacing: 5px; border-collapse: collapse; color: #222222; font-family: 'Helvetica neue', Arial, Verdana, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;a href="http://www.scala-lang.org/downloads/distrib/files/scala-2.8.1.final-installer.jar" style="color: #336299; text-decoration: none;"&gt;scala-2.8.1.final-installer.jar&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;Configuramos SCALA_HOME&lt;br /&gt;editando el archivo con&lt;br /&gt;sudo gedit /etc/profile&lt;br /&gt;y escribimos&lt;br /&gt;&lt;br /&gt;export SCALA_HOME=/home/avbravo/scala&lt;br /&gt;export PATH=$PATH:${SCALA_HOME}/bin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Agregar el plugin Scala a NetBeans&lt;br /&gt;Obtenemos desde&amp;nbsp;&lt;a href="http://sourceforge.net/projects/erlybird/files/nb-scala/6.9v1.1.0/"&gt;http://sourceforge.net/projects/erlybird/files/nb-scala/6.9v1.1.0/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Creamos el proyecto con Maven&lt;br /&gt;&lt;br /&gt;mvn archetype:generate -U \&lt;br /&gt;-DarchetypeGroupId=net.liftweb \&lt;br /&gt;-DarchetypeArtifactId=lift-archetype-blank \&lt;br /&gt;-DarchetypeVersion=1.0 \&lt;br /&gt;-DgroupId=demo.helloworld \&lt;br /&gt;-DartifactId=helloworld \&lt;br /&gt;-Dversion=1.0-SNAPSHOT&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Abrimos el proyecto desde NetBeans&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBZmuRJLvI/AAAAAAAACsE/HuqRthrbj4E/s1600/Pantallazo-21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBZmuRJLvI/AAAAAAAACsE/HuqRthrbj4E/s320/Pantallazo-21.png" width="255" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ejecutamos el proyecto&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBZ2NbXMUI/AAAAAAAACsI/sgLLNoSWdPY/s1600/Pantallazo-22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="106" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBZ2NbXMUI/AAAAAAAACsI/sgLLNoSWdPY/s320/Pantallazo-22.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Otra forma es creando nuestro proyecto: Maven-&amp;gt; Proyecto Maven&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBcA-kZJhI/AAAAAAAACsQ/iH6xphQ8o-s/s1600/Pantallazo-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="182" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBcA-kZJhI/AAAAAAAACsQ/iH6xphQ8o-s/s320/Pantallazo-2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionar :&lt;b&gt;Catálogo de arquetipos predeterminado&lt;/b&gt; -&amp;gt; &lt;b&gt;The basic(liftweb) project(RELEASE)&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TVBb3hx0r2I/AAAAAAAACsM/_KPH7hiSxqo/s1600/Pantallazo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="170" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TVBb3hx0r2I/AAAAAAAACsM/_KPH7hiSxqo/s320/Pantallazo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Nos muestra la barra de progreso&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TVBdTZvhB6I/AAAAAAAACsU/dH8dMj2Jaik/s1600/Pantallazo-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="166" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TVBdTZvhB6I/AAAAAAAACsU/dH8dMj2Jaik/s320/Pantallazo-3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Proyecto creado&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBdZfJy7tI/AAAAAAAACsY/lWJJPYRMp8M/s1600/Pantallazo-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBdZfJy7tI/AAAAAAAACsY/lWJJPYRMp8M/s320/Pantallazo-4.png" width="266" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2663840859074214788?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2663840859074214788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2663840859074214788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2663840859074214788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2663840859074214788'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/02/lift-en-netbeans-691.html' title='Lift en NetBeans 6.9.1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TVBZmuRJLvI/AAAAAAAACsE/HuqRthrbj4E/s72-c/Pantallazo-21.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4137587322901179887</id><published>2011-01-27T07:57:00.000-08:00</published><updated>2011-01-27T08:01:04.132-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ruby'/><title type='text'>Soporte oficial de Ruby on Rails no sera incluido en NetBeans 7.0</title><content type='html'>El soporte oficial para Ruby on &amp;nbsp;Rails en NetBeans 7.0 sera descontinuado de manera oficial. Permitiendo a la comunidad que sea la encargada de su desarrollo y evolución.&lt;br /&gt;Entre los objetivos que se buscan esta el soporte avanzado de JDK 7 para el IDE NetBeans. Utilizando los recursos a esta meta y permitiendo a la comunidad que sea la responsable del soporte de otros lenguajes y Frameworks no Java.&lt;br /&gt;Otra de las razones que se tomaron en cuenta es que se mostraba estadisticamente una pequeña cantidad de desarrolladores de Ruby on Rails que utilizaban NetBeans como IDE de desarrollo.&lt;br /&gt;&lt;br /&gt;Los desarrolladores que desean continuar con el soporte para Ruby on Rails deberian visitar la pagina&lt;br /&gt;&lt;a href="http://wiki.netbeans.org/RubySupport"&gt;http://wiki.netbeans.org/RubySupport&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://netbeans.org/community/news/show/1507.html"&gt;Aqui se puede leer el anuncio oficial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4137587322901179887?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4137587322901179887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4137587322901179887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4137587322901179887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4137587322901179887'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/01/soporte-oficial-de-ruby-on-rails-no.html' title='Soporte oficial de Ruby on Rails no sera incluido en NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-944819603146110092</id><published>2011-01-24T17:52:00.000-08:00</published><updated>2011-01-24T17:52:54.168-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bruno'/><title type='text'>Nominación de Bruno Souza como parte del JCP</title><content type='html'>Bruno Souza de Sou Java ha sido nominado por Oracle como miembro del JCP, &amp;nbsp;en el &lt;a href="http://blogs.oracle.com/henrik/2011/01/oracle_nominates_bruno_souza_of_soujava_to_jcp_ec.html"&gt;blog pueden leer un poco más&lt;/a&gt;, realmente considero que Bruno Souza es la persona indicada para formar parte del JCP, por su larga trayectoria apoyando a las comunidades y sobre todo Java.&lt;br /&gt;Realmente sus&amp;nbsp;méritos y su independencia en pro de las comunidades Open Source, de los JUG son de una &amp;nbsp;larga trayectoria.&lt;br /&gt;felicidades amigo..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-944819603146110092?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/944819603146110092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=944819603146110092' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/944819603146110092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/944819603146110092'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2011/01/nominacion-de-bruno-souza-como-parte.html' title='Nominación de Bruno Souza como parte del JCP'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-4967978282677598371</id><published>2010-12-15T14:28:00.000-08:00</published><updated>2010-12-15T14:28:23.971-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><category scheme='http://www.blogger.com/atom/ns#' term='postgresql'/><title type='text'>Postgresql Tomcat en OpenSuse  parte 2</title><content type='html'>Ahora lo configuramos mediante yast&lt;br /&gt;&lt;br /&gt;Seleccionamos System-&amp;gt;System Services (Runlevel)&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQk_Bz4klAI/AAAAAAAACrI/xsj1cYN-2_I/s1600/y.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="164" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQk_Bz4klAI/AAAAAAAACrI/xsj1cYN-2_I/s320/y.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;nos muestra la siguiente pantalla presionamos la tecla F7 Expert Mode&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TQk_e8A7b_I/AAAAAAAACrM/-98LuJrTmEg/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="205" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TQk_e8A7b_I/AAAAAAAACrM/-98LuJrTmEg/s320/1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Buscamos tomcat&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQk_rUdGavI/AAAAAAAACrQ/Dxfz7a_RzAc/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="202" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQk_rUdGavI/AAAAAAAACrQ/Dxfz7a_RzAc/s320/2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y seleccionamos Run level 3 Y Run Level 5&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TQk_zjtG_bI/AAAAAAAACrU/Azr9bAYll4E/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TQk_zjtG_bI/AAAAAAAACrU/Azr9bAYll4E/s320/3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccioamos Start&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TQk_7YaxgEI/AAAAAAAACrY/T4eJcHVpvxc/s1600/start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TQk_7YaxgEI/AAAAAAAACrY/T4eJcHVpvxc/s320/start.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;y seleccionamos OK&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Luego respondemos a la solicitud de confirmación&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TQlAD2sWJgI/AAAAAAAACrc/HIGpWvLlzdE/s1600/ok.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TQlAD2sWJgI/AAAAAAAACrc/HIGpWvLlzdE/s320/ok.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Reiniciar el servidor&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;reboot&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;De esta manera en cada ocasión que el servidor se reinice se iniciara Apache Tomcat.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;PERMISOS DE ACCESO A POSTGRESQL&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Entramos a la carpeta &amp;nbsp;/var/lib/pgsql/data&lt;/div&gt;&lt;div&gt;configurar el archivo pg_hba.conf&lt;/div&gt;&lt;/div&gt;&lt;div&gt;y agregamos los ips que deseamos por ejemplo&lt;/div&gt;&lt;div&gt;&lt;div&gt;host all &amp;nbsp;all&amp;nbsp;127.0.0.1/32&amp;nbsp;md5&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Editar el archivo postgresql.conf&lt;/div&gt;&lt;div&gt;# - Connection Settings -&lt;/div&gt;&lt;div&gt;listen_addresses ='*'&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-4967978282677598371?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/4967978282677598371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=4967978282677598371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4967978282677598371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/4967978282677598371'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/12/postgresql-tomcat-en-opensuse-parte-2.html' title='Postgresql Tomcat en OpenSuse  parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TQk_Bz4klAI/AAAAAAAACrI/xsj1cYN-2_I/s72-c/y.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6164171065203790592</id><published>2010-12-15T14:17:00.000-08:00</published><updated>2010-12-15T14:17:17.723-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='opensuse'/><category scheme='http://www.blogger.com/atom/ns#' term='postgresql'/><title type='text'>Postgresql Tomcat en OpenSuse  parte 1</title><content type='html'>Explicare brevemente los pasos para instalar Postgresql + Apache Tomcat en OpenSuse.&lt;br /&gt;En este caso se trataba de una aplicación un poco antigua que corre sobre Apache Tomcat 5.5.20 y se deseaba migrar a un nuevo servidor.&lt;br /&gt;&lt;b&gt;Instalar Postgresql&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;yast2 –install postgresql-server&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Instala postgresql en&lt;/div&gt;&lt;div&gt;/usr/share/postgresql/&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Los datos se almacenan en&lt;/div&gt;&lt;div&gt;/var/lib/pgsql/&lt;/div&gt;&lt;div&gt;Los archivos de configuracion estan en&lt;/div&gt;&lt;div&gt;/var/lib/pgsql/data&lt;/div&gt;&lt;div&gt;Aqui estan los archios pg_hba.conf y postgresql.conf&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Iniciar postgresql&lt;/div&gt;&lt;div&gt;rcpostgresql start&lt;/div&gt;&lt;div&gt;detener&lt;/div&gt;&lt;div&gt;rcpostgresql stop&lt;/div&gt;&lt;div&gt;Restaurar postgresql&lt;/div&gt;&lt;div&gt;rcpostgresql restart&lt;/div&gt;&lt;div&gt;Entrar a postgresql&lt;/div&gt;&lt;div&gt;su postgres -c psql postgres&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Cambiar el password&lt;/div&gt;&lt;div&gt;ALTER USER postgres WITH PASSWORD ‘postgres’;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Descargamos el JDK&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Descargamos Apache Tomcat&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Creamos un Script para el arranque de Tomcat&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;CONFIGURAR TOMCAT PARA ARRANCAR CON EL SISTEMA OPERATIVO&lt;/div&gt;&lt;div&gt;copiar el script tomcat a la carpeta /etc/init.d/&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;#!/bin/sh&lt;/div&gt;&lt;div&gt;# TOMCAT Init Script written by Martin Loitzl 2006&lt;/div&gt;&lt;div&gt;DIR_FILE=/opt/apache-tomcat-5.5.20&lt;/div&gt;&lt;div&gt;START_FILE=bin/startup.sh&lt;/div&gt;&lt;div&gt;STOP_FILE=bin/shutdown.sh&lt;/div&gt;&lt;div&gt;TOMCAT_START=${DIR_FILE}/${START_FILE}&lt;/div&gt;&lt;div&gt;TOMCAT_STOP=${DIR_FILE}/${STOP_FILE}&lt;/div&gt;&lt;div&gt;TOMCAT_PID_FILE=/var/run/tomcat.pid&lt;/div&gt;&lt;div&gt;test -x $TOMCAT_START || { echo "$TOMCAT_START not installed or execeutable";&lt;/div&gt;&lt;div&gt;if [ "$1" = "stop" ]; then exit 0;&lt;/div&gt;&lt;div&gt;else exit 5; fi; }&lt;/div&gt;&lt;div&gt;case "$1" in&lt;/div&gt;&lt;div&gt;start)&lt;/div&gt;&lt;div&gt;echo "Starting TOMCAT"&lt;/div&gt;&lt;div&gt;if [ -e $TOMCAT_PID_FILE ]; then&lt;/div&gt;&lt;div&gt;TOMCAT_PID=`head -n 1 $TOMCAT_PID_FILE`&lt;/div&gt;&lt;div&gt;if ps -p $TOMCAT_PID; then&lt;/div&gt;&lt;div&gt;echo "TOMCAT already running"&lt;/div&gt;&lt;div&gt;exit 1&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;$TOMCAT_START&lt;/div&gt;&lt;div&gt;exit 0&lt;/div&gt;&lt;div&gt;fi&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;$TOMCAT_START&lt;/div&gt;&lt;div&gt;exit 0&lt;/div&gt;&lt;div&gt;fi&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;stop)&lt;/div&gt;&lt;div&gt;echo "Stopping TOMCAT"&lt;/div&gt;&lt;div&gt;if [ -e $TOMCAT_PID_FILE ]; then&lt;/div&gt;&lt;div&gt;TOMCAT_PID=`head -n 1 $TOMCAT_PID_FILE`&lt;/div&gt;&lt;div&gt;if ps -p $TOMCAT_PID; then&lt;/div&gt;&lt;div&gt;$TOMCAT_STOP&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;echo "Could not find process, trying $TOMCAT_STOP anyways"&lt;/div&gt;&lt;div&gt;$TOMCAT_STOP&lt;/div&gt;&lt;div&gt;fi&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;echo "Could not find PID file, trying $TOMCAT_STOP anyways"&lt;/div&gt;&lt;div&gt;$TOMCAT_STOP&lt;/div&gt;&lt;div&gt;fi&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;status)&lt;/div&gt;&lt;div&gt;if [ -e $TOMCAT_PID_FILE ]; then&lt;/div&gt;&lt;div&gt;TOMCAT_PID=`head -n 1 $TOMCAT_PID_FILE`&lt;/div&gt;&lt;div&gt;ps -p $TOMCAT_PID&lt;/div&gt;&lt;div&gt;else&lt;/div&gt;&lt;div&gt;echo "$TOMCAT_PID_FILE not found"&lt;/div&gt;&lt;div&gt;fi&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;restart)&lt;/div&gt;&lt;div&gt;$0 stop&lt;/div&gt;&lt;div&gt;echo "Shutting down TOMCAT takes some time. Waiting for 10 secs. to restart"&lt;/div&gt;&lt;div&gt;sleep 10&lt;/div&gt;&lt;div&gt;$0 start&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;reload|force-reload)&lt;/div&gt;&lt;div&gt;$0 stop&lt;/div&gt;&lt;div&gt;echo "Shutting down TOMCAT takes some time. Waiting for 60 secs. to restart"&lt;/div&gt;&lt;div&gt;sleep 60&lt;/div&gt;&lt;div&gt;$0 start&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;*)&lt;/div&gt;&lt;div&gt;echo "Usage: tomcat {start|stop|restart|status|reload|force-reload}"&lt;/div&gt;&lt;div&gt;exit 1&lt;/div&gt;&lt;div&gt;;;&lt;/div&gt;&lt;div&gt;esac&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Le damos los permisos mediante&lt;/b&gt;&lt;/div&gt;&lt;div&gt;chmod 755 /etc/init.d/tomcat&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;En la parte dos explicare como agregarlo a los Run Level.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6164171065203790592?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6164171065203790592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6164171065203790592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6164171065203790592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6164171065203790592'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/12/postgresql-tomcat-en-opensuse-parte-1.html' title='Postgresql Tomcat en OpenSuse  parte 1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8485315242170287386</id><published>2010-12-14T18:57:00.000-08:00</published><updated>2010-12-14T18:57:49.330-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>Probando Plugins en NetBeans 7.0 Beta</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;Probando los plugins en NetBeans 7.0 Beta&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQguam0MtPI/AAAAAAAACrA/HWZwIzzsoW4/s1600/nb1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="68" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TQguam0MtPI/AAAAAAAACrA/HWZwIzzsoW4/s320/nb1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TQgueiJr5aI/AAAAAAAACrE/2rh1g98ZBRU/s1600/nb2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="136" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TQgueiJr5aI/AAAAAAAACrE/2rh1g98ZBRU/s320/nb2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8485315242170287386?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8485315242170287386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8485315242170287386' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8485315242170287386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8485315242170287386'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/12/probando-plugins-en-netbeans-70-beta.html' title='Probando Plugins en NetBeans 7.0 Beta'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TQguam0MtPI/AAAAAAAACrA/HWZwIzzsoW4/s72-c/nb1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6413252168850426417</id><published>2010-11-26T14:30:00.000-08:00</published><updated>2010-11-26T14:30:18.566-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>Inicio de Traducción de NetBeans 7.0</title><content type='html'>Ya esta disponible los archivos para traducción de NetBeans 7.0 en diversos idiomas incluyendo español.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TPA0y5ItBZI/AAAAAAAACqs/74UnBMB9t5E/s1600/tran.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="155" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TPA0y5ItBZI/AAAAAAAACqs/74UnBMB9t5E/s320/tran.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6413252168850426417?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6413252168850426417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6413252168850426417' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6413252168850426417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6413252168850426417'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/inicio-de-traduccion-de-netbeans-70.html' title='Inicio de Traducción de NetBeans 7.0'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_fWhXbpnpdnc/TPA0y5ItBZI/AAAAAAAACqs/74UnBMB9t5E/s72-c/tran.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-8579983045087970733</id><published>2010-11-19T06:35:00.000-08:00</published><updated>2010-11-19T07:48:40.602-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0 Beta</title><content type='html'>Ya esta disponible NetBeans 7.0 Beta, la información general puedes encontrarla aqui&lt;br /&gt;&lt;a href="http://netbeans.org/community/releases/70/"&gt;http://netbeans.org/community/releases/70/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TOab4_auFNI/AAAAAAAACqk/fJ8Y0szMGe4/s1600/Pantallazo-6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="202" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TOab4_auFNI/AAAAAAAACqk/fJ8Y0szMGe4/s320/Pantallazo-6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Entre ellas soporte para JDK7&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;b style="font-size: 1em;"&gt;Web Languages&lt;/b&gt;&lt;/div&gt;&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;HTML5 editing support&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;JSON formatter&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TOaaGYqj6OI/AAAAAAAACqg/0neAYZGBY-Q/s1600/Pantallazo-5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="233" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TOaaGYqj6OI/AAAAAAAACqg/0neAYZGBY-Q/s320/Pantallazo-5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TOacN1eza7I/AAAAAAAACqo/gwSyRgRwen0/s1600/Pantallazo-7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="234" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TOacN1eza7I/AAAAAAAACqo/gwSyRgRwen0/s320/Pantallazo-7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-8579983045087970733?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/8579983045087970733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=8579983045087970733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8579983045087970733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/8579983045087970733'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/netbeans-70-beta.html' title='NetBeans 7.0 Beta'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TOab4_auFNI/AAAAAAAACqk/fJ8Y0szMGe4/s72-c/Pantallazo-6.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-1538896309308535050</id><published>2010-11-12T11:29:00.000-08:00</published><updated>2010-11-12T11:29:15.581-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>OpenJDK para MacOS</title><content type='html'>En un comunicado de Apple titulado&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h1 style="font-style: normal; font-weight: bold; line-height: 36px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;a href="http://www.apple.com/pr/library/2010/11/12openjdk.html"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Oracle and Apple Announce OpenJDK Project for Mac OS X&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;&lt;div style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: medium; line-height: normal;"&gt;&lt;a href="http://www.apple.com/pr/library/2010/11/12openjdk.html"&gt;http://www.apple.com/pr/library/2010/11/12openjdk.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Una noticia importante la colaboración de Apple en el proyecto OpenJDK, para continuar con el soporte de Java en Mac Os&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-1538896309308535050?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/1538896309308535050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=1538896309308535050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1538896309308535050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/1538896309308535050'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/openjdk-para-macos.html' title='OpenJDK para MacOS'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7739609672693524294</id><published>2010-11-09T05:18:00.000-08:00</published><updated>2010-11-09T05:18:30.758-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Migracion de Java.net</title><content type='html'>El portal Java.net ha sido migrado a la infraestructura anteriormente de Kenai.&lt;br /&gt;Puedes visitarlo en &lt;a href="http://java.net/"&gt;java.net&lt;/a&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNlJpBDM8nI/AAAAAAAACqc/FW-V-P70DeA/s1600/java.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="197" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNlJpBDM8nI/AAAAAAAACqc/FW-V-P70DeA/s320/java.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://weblogs.java.net/blog/communitymanager/archive/2010/11/03/javanet-begins-migration-collabnet-kenai-infrastructure"&gt;Aqui encontramos los detalles de la migración&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7739609672693524294?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7739609672693524294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7739609672693524294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7739609672693524294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7739609672693524294'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/migracion-de-javanet.html' title='Migracion de Java.net'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_fWhXbpnpdnc/TNlJpBDM8nI/AAAAAAAACqc/FW-V-P70DeA/s72-c/java.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-9124770535418911031</id><published>2010-11-03T11:59:00.000-07:00</published><updated>2010-11-03T11:59:39.388-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Ventana de login para NetBeans Platform parte 2</title><content type='html'>Solo deseamos que tenga los botones de Aceptar y Cancelar habilitados, para ello modificamos el&lt;br /&gt;método createLoginDialog().&lt;br /&gt;private void createLoginDialog(){&lt;br /&gt;JButton ok = new JButton();&lt;br /&gt;ok.setText("OK");&lt;br /&gt;JButton cancel = new JButton();&lt;br /&gt;cancel.setText("Cancel");&lt;br /&gt;cancel.addActionListener(new ActionListener() {&lt;br /&gt;public void actionPerformed(ActionEvent arg0) {&lt;br /&gt;//close whole application&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;ok.addActionListener(new ActionListener() {&lt;br /&gt;public void actionPerformed(ActionEvent arg0) {&lt;br /&gt;//authenicate username and password&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;NotifyDescriptor nd = new NotifyDescriptor.Confirmation(form, "Login");&lt;br /&gt;nd.setOptions(new Object[]{ok, cancel});&lt;br /&gt;DialogDisplayer.getDefault().notifyLater(nd);&lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Corregimos las importaciones&lt;/div&gt;&lt;div&gt;import java.awt.event.ActionEvent;&lt;/div&gt;&lt;div&gt;import java.awt.event.ActionListener;&lt;/div&gt;&lt;div&gt;import javax.swing.JButton;&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGsiY-T-CI/AAAAAAAACpM/Yjeal9xM4hQ/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="223" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGsiY-T-CI/AAAAAAAACpM/Yjeal9xM4hQ/s320/8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Agregamos el codigo para el botón Cancel, agregango exit();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;cancel.addActionListener(new ActionListener() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public void actionPerformed(ActionEvent arg0) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;//close whole application&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;exit();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;});&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ahora creamos el metodo exit()&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;importamos&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGsvbt88QI/AAAAAAAACpQ/5AlB4IQFtYU/s1600/i.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="77" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGsvbt88QI/AAAAAAAACpQ/5AlB4IQFtYU/s320/i.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Código&amp;nbsp;completo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: -webkit-auto;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGs4NknXcI/AAAAAAAACpU/_IIn4wL2XAM/s1600/in.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGs4NknXcI/AAAAAAAACpU/_IIn4wL2XAM/s320/in.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div&gt;Para cerrar la aplicación al presionar la X en la ventana agregamos el código&lt;/div&gt;&lt;div&gt;nd.addPropertyChangeListener(new PropertyChangeListener(){&lt;/div&gt;&lt;div&gt;public void propertyChange(PropertyChangeEvent evt){&lt;/div&gt;&lt;div&gt;if(NotifyDescriptor.CLOSED_OPTION.equals(evt.getNewValue())){&lt;/div&gt;&lt;div&gt;exit();&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;});&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Editar LoginFrame.java y agregar&lt;/b&gt;&lt;/div&gt;&lt;div&gt;public String getUsername(){&lt;/div&gt;&lt;div&gt;return this.jTextFieldUser.getText();&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;public String getPassword(){&lt;/div&gt;&lt;div&gt;return this.jPasswordField.getPassword().toString();&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGtSerttUI/AAAAAAAACpY/SgtYgRsIY7M/s1600/l.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGtSerttUI/AAAAAAAACpY/SgtYgRsIY7M/s320/l.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora nos ubicamos en el modulo UserMagnament&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGuQgHaUZI/AAAAAAAACpg/S_qUoKEl--I/s1600/i.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGuQgHaUZI/AAAAAAAACpg/S_qUoKEl--I/s1600/i.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Buscamos las propiedades del proyecto&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Marcamos el paquete org.avbravo.UserMagnament como publico.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGudKJfGpI/AAAAAAAACpk/SMIz_lF3_5c/s1600/i.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="181" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGudKJfGpI/AAAAAAAACpk/SMIz_lF3_5c/s320/i.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Editamos UserMagnamentPanel.java, y cambiamos la definición de la clase agregandole&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGup7lhdrI/AAAAAAAACpo/uTF42oIPGxU/s1600/e.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="158" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGup7lhdrI/AAAAAAAACpo/uTF42oIPGxU/s320/e.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;Ahora editamos las propiedades del modulo login&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGuyz6pINI/AAAAAAAACps/B4qFykTsZos/s1600/i.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGuyz6pINI/AAAAAAAACps/B4qFykTsZos/s1600/i.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En bibliotecas seleccionamos Añadir Dependencias&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGu7nG1CQI/AAAAAAAACpw/AvCfj-dmiV0/s1600/i.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="110" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGu7nG1CQI/AAAAAAAACpw/AvCfj-dmiV0/s320/i.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos UserMaganment de la lista, presionamos el botón Aceptar&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGvD58th8I/AAAAAAAACp0/QQa_RnYsQ4U/s1600/l.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGvD58th8I/AAAAAAAACp0/QQa_RnYsQ4U/s320/l.png" width="304" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Se muestra la dependencia agregada&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGvLEcmSNI/AAAAAAAACp4/tvHC8vSrfsU/s1600/r.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="141" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGvLEcmSNI/AAAAAAAACp4/tvHC8vSrfsU/s320/r.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Editamos Installer.java&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Agregamos&lt;/div&gt;&lt;div&gt;NotifyDescriptor d;&lt;/div&gt;&lt;div&gt;int msgTypeError = NotifyDescriptor.ERROR_MESSAGE;&lt;/div&gt;&lt;div&gt;int msgType = NotifyDescriptor.INFORMATION_MESSAGE;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGviP3K4eI/AAAAAAAACqA/aiirNMVA8nY/s1600/m.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="134" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGviP3K4eI/AAAAAAAACqA/aiirNMVA8nY/s320/m.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Y Creamos el método&lt;/b&gt;&lt;/div&gt;&lt;div&gt;private boolean authenticate() {&lt;/div&gt;&lt;div&gt;if (NbPreferences.forModule(UserMagnamentPanel.class).get("user", "").equals(this.form.getUsername()))&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;try {&lt;/div&gt;&lt;div&gt;String passwordFromForm = null;&lt;/div&gt;&lt;div&gt;String passwordFromPref = NbPreferences.forModule(UserMagnamentPanel.class).get("pass",&lt;/div&gt;&lt;div&gt;"").toString();&lt;/div&gt;&lt;div&gt;String passwordPref = new String(this.form.getPassword());&lt;/div&gt;&lt;div&gt;if (passwordPref.equals(passwordFromPref)) {&lt;/div&gt;&lt;div&gt;d = new NotifyDescriptor.Message("El password es correcto", msgType);&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div&gt;} else {&lt;/div&gt;&lt;div&gt;d = new NotifyDescriptor.Message("El password no es correcto", msgType);&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div&gt;exit();&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;//do nothing here&lt;/div&gt;&lt;div&gt;// } else {&lt;/div&gt;&lt;div&gt;// exit();&lt;/div&gt;&lt;div&gt;// }&lt;/div&gt;&lt;div&gt;} catch (Exception ex) {&lt;/div&gt;&lt;div&gt;Exceptions.printStackTrace(ex);&lt;/div&gt;&lt;div&gt;d = new NotifyDescriptor.Message("authenticate() " + ex.getLocalizedMessage().toString(),&lt;/div&gt;&lt;div&gt;msgTypeError);&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;} else {&lt;/div&gt;&lt;div&gt;d = new NotifyDescriptor.Message("El usuario no es correcto", msgType);&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div&gt;exit();&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;return false;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Corregimos las importaciones&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGtwxT-3tI/AAAAAAAACpc/K6GIv1ZpsrI/s1600/i.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="35" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGtwxT-3tI/AAAAAAAACpc/K6GIv1ZpsrI/s320/i.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Con esto al ejecutar el programa nos validara el login. Que sera almacenado en las Opciones.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-9124770535418911031?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/9124770535418911031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=9124770535418911031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9124770535418911031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/9124770535418911031'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/ventana-de-login-para-netbeans-platform_03.html' title='Ventana de login para NetBeans Platform parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGsiY-T-CI/AAAAAAAACpM/Yjeal9xM4hQ/s72-c/8.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6104263771054769299</id><published>2010-11-03T11:38:00.000-07:00</published><updated>2010-11-03T11:58:10.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Ventana de login para NetBeans Platform parte 1</title><content type='html'>Cuando necesitamos utilizar una ventana de Login para nuestra aplicación basada en NetBeans Platform, podemos referirnos al tutorial&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h1 style="color: #d20106; font-size: 1.6em; font-weight: normal; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://platform.netbeans.org/tutorials/60/nbm-login.html"&gt;NetBeans Platform Login Tutorial&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;Pasos:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;Creamos un proyecto basado en NetBeans platform&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;Agregar un nuevo modulo&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGv9he40fI/AAAAAAAACqE/fPfAJ3g6Jj0/s1600/x.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="139" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGv9he40fI/AAAAAAAACqE/fPfAJ3g6Jj0/s320/x.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;Creamos un Panel de opciones&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGwKmfdXsI/AAAAAAAACqI/TIyFF6IYtLM/s1600/p.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="190" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGwKmfdXsI/AAAAAAAACqI/TIyFF6IYtLM/s320/p.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;Agregamos los elementos al diseño&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGwRftYUVI/AAAAAAAACqM/M6IVgz2vQDA/s1600/d.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="142" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGwRftYUVI/AAAAAAAACqM/M6IVgz2vQDA/s320/d.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;En el método store() agregamos&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;NbPreferences.forModule(UserMagnamentPanel.class).put("user", jTextField1.getText());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;NbPreferences.forModule(UserMagnamentPanel.class).put("pass",&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jPasswordField1.getPassword().toString());&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Importamos&lt;/b&gt;&lt;/div&gt;&lt;div&gt;import org.openide.util.NbPreferences;&lt;/div&gt;&lt;div&gt;En el método load() agregamos&lt;/div&gt;&lt;div&gt;jTextField1.setText(NbPreferences.forModule(UserMagnamentPanel.class).get("user", ""));&lt;/div&gt;&lt;div&gt;jPasswordField1.setText(NbPreferences.forModule(UserMagnamentPanel.class).get("pass", ""));&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;Ejecutamos el proyecto, luego en Herramientas-&amp;gt;Opciones&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGwhRKmxMI/AAAAAAAACqQ/O0MnBN3XHC8/s1600/e.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGwhRKmxMI/AAAAAAAACqQ/O0MnBN3XHC8/s1600/e.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-size: 13px; line-height: 18px;"&gt;Nos muestra las opciones&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGwouwKJVI/AAAAAAAACqU/c8yuipq8lY4/s1600/e.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGwouwKJVI/AAAAAAAACqU/c8yuipq8lY4/s320/e.png" width="277" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;Agregamos un nuevo modulo al proyecto&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGp91Tp_aI/AAAAAAAACok/wQvuCGKlDk0/s1600/uno.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGp91Tp_aI/AAAAAAAACok/wQvuCGKlDk0/s1600/uno.png" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;Creamos un instalador&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGqftiI2SI/AAAAAAAACoo/n5CYFOXV2d0/s1600/dos.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="267" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGqftiI2SI/AAAAAAAACoo/n5CYFOXV2d0/s320/dos.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos Installer/Activator&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGqrOgifBI/AAAAAAAACos/MfIjvalN7jw/s1600/tres.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGqrOgifBI/AAAAAAAACos/MfIjvalN7jw/s320/tres.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;Creamos un Panel&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGrIRuP8eI/AAAAAAAACow/BWVQjvlUQNY/s1600/tres.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGrIRuP8eI/AAAAAAAACow/BWVQjvlUQNY/s320/tres.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Diseñamos los componentes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGrSKHyToI/AAAAAAAACo0/-qmJRalnCL4/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="219" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGrSKHyToI/AAAAAAAACo0/-qmJRalnCL4/s320/4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En las propiedades del módulo agregamos. API de Diálogos, Api de Utilidades para iU&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGra15z7JI/AAAAAAAACo4/30HaZD-7rVg/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TNGra15z7JI/AAAAAAAACo4/30HaZD-7rVg/s1600/4.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Ahora llamaremos el Panel desde el Installer.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Primero creamos un objeto&lt;/div&gt;&lt;div&gt;LoginFrame form = new LoginFrame();&lt;/div&gt;&lt;div&gt;y agregamos en el método restored()&lt;/div&gt;&lt;div&gt;NotifyDescriptor nd = new NotifyDescriptor.Message("Ok");&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notifyLater(nd);&lt;/div&gt;&lt;div&gt;importamos&lt;/div&gt;&lt;div&gt;import org.openide.DialogDisplayer;&lt;/div&gt;&lt;div&gt;import org.openide.NotifyDescriptor;&lt;/div&gt;&lt;div&gt;Quedaría de la siguiente manera&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGrkWO8OiI/AAAAAAAACo8/2CQgpPtSUIM/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="248" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGrkWO8OiI/AAAAAAAACo8/2CQgpPtSUIM/s320/5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ejecutamos el proyecto&lt;/div&gt;&lt;div&gt;Solo nos mostrara el mensaje de OK.&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGrrbHuzZI/AAAAAAAACpA/aGgHAgmrW-4/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TNGrrbHuzZI/AAAAAAAACpA/aGgHAgmrW-4/s1600/6.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ahora modificamos el código de Installer.java para que muestre el panel de login. Y Creamos el&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;metódo createLoginDialog()&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;@Override&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public void restored() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;createLoginDialog();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div&gt;&lt;div&gt;private void createLoginDialog(){&lt;/div&gt;&lt;div&gt;NotifyDescriptor nd = new NotifyDescriptor.Confirmation(form, "Login");&lt;/div&gt;&lt;div&gt;DialogDisplayer.getDefault().notifyLater(nd);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGr2tE1MEI/AAAAAAAACpE/OLglLO2AaxU/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGr2tE1MEI/AAAAAAAACpE/OLglLO2AaxU/s320/7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ejecutamos el proyecto&lt;/div&gt;&lt;div&gt;Ahora si nos muestra el panel solicitando la información del usuario.&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGr-edJZJI/AAAAAAAACpI/ZKVahhy8ifY/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="175" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TNGr-edJZJI/AAAAAAAACpI/ZKVahhy8ifY/s320/8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6104263771054769299?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6104263771054769299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6104263771054769299' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6104263771054769299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6104263771054769299'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/11/ventana-de-login-para-netbeans-platform.html' title='Ventana de login para NetBeans Platform parte 1'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_fWhXbpnpdnc/TNGv9he40fI/AAAAAAAACqE/fPfAJ3g6Jj0/s72-c/x.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-6931279889231296701</id><published>2010-10-29T13:35:00.000-07:00</published><updated>2010-10-29T13:35:47.515-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>NetBeans Options Window Module parte 2</title><content type='html'>Continuando con el tutorial&lt;br /&gt;Diseñar una Ventana&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMstRRXuMWI/AAAAAAAACno/kBV5lakDchk/s1600/t.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="212" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMstRRXuMWI/AAAAAAAACno/kBV5lakDchk/s320/t.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos la configuración&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMsteliLqEI/AAAAAAAACns/ONolbjmF7KY/s1600/re.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMsteliLqEI/AAAAAAAACns/ONolbjmF7KY/s320/re.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;indicamos el nombre&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMstvTTKtJI/AAAAAAAACnw/uQ0_upPOkjI/s1600/q.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="246" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMstvTTKtJI/AAAAAAAACnw/uQ0_upPOkjI/s320/q.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En la ventana Agregamos un JPanel, un JLabel y un JTextField&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMst5kVNXpI/AAAAAAAACn0/LWoj2_sdnsw/s1600/w.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="277" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMst5kVNXpI/AAAAAAAACn0/LWoj2_sdnsw/s320/w.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;En el constructor agregamos&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Preferences pref = NbPreferences.forModule(CoolOptionsPanel.class);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;String name = pref.get("namePreference", "");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;pref.addPreferenceChangeListener(new PreferenceChangeListener() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public void preferenceChange(PreferenceChangeEvent evt) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;if (evt.getKey().equals("namePreference")) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextField1.setText(evt.getNewValue());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;});&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextField1.setText(name);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsuEBTMqzI/AAAAAAAACn4/ZwdzPAOgWj4/s1600/we.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="169" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsuEBTMqzI/AAAAAAAACn4/ZwdzPAOgWj4/s320/we.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Agregamos el import java.util.prefs.Preferences&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsuUMBEfBI/AAAAAAAACn8/xovHFwTvrnw/s1600/po.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="169" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsuUMBEfBI/AAAAAAAACn8/xovHFwTvrnw/s320/po.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Importar org.openide.util.NbPreferences&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsviGBjFoI/AAAAAAAACoA/3b7_B57eVks/s1600/t.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="87" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsviGBjFoI/AAAAAAAACoA/3b7_B57eVks/s320/t.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Importar java.util.prefs.PreferenceChangeListener&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsvs0DjY7I/AAAAAAAACoE/XBiqDSqUrFk/s1600/t2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="45" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsvs0DjY7I/AAAAAAAACoE/XBiqDSqUrFk/s320/t2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: left;"&gt;Importar java.utils.prefs.PreferenceChangeEvent&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsv1bjbqPI/AAAAAAAACoI/YP-c1jqr_6s/s1600/t3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="49" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsv1bjbqPI/AAAAAAAACoI/YP-c1jqr_6s/s320/t3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Instalamos el plugin y desde el menu Ventana, seleccionamos Lectura&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsv9v-sI5I/AAAAAAAACoM/oLGGcEU_8iQ/s1600/t4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="43" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsv9v-sI5I/AAAAAAAACoM/oLGGcEU_8iQ/s320/t4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div style="text-align: left;"&gt;Podemos observar el contenido en el JtextField&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMswF6KEXDI/AAAAAAAACoQ/KTf7hh8wqBo/s1600/t5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="174" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMswF6KEXDI/AAAAAAAACoQ/KTf7hh8wqBo/s320/t5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-6931279889231296701?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/6931279889231296701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=6931279889231296701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6931279889231296701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/6931279889231296701'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/netbeans-options-window-module-parte-2.html' title='NetBeans Options Window Module parte 2'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TMstRRXuMWI/AAAAAAAACno/kBV5lakDchk/s72-c/t.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7558025601168851889</id><published>2010-10-29T13:08:00.000-07:00</published><updated>2010-10-29T13:15:58.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>NetBeans Options Window Module</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;NetBeans Options Window Module&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Basado en&lt;br /&gt;&lt;a href="http://platform.netbeans.org/tutorials/nbm-options.html"&gt;http://platform.netbeans.org/tutorials/nbm-options.html&lt;/a&gt;&lt;br /&gt;1.Crear un proyecto de tipo modulo&lt;br /&gt;2. Crear un Panel de Opciones&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsnmH6sbLI/AAAAAAAACm4/EvbYj8j46ao/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="216" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsnmH6sbLI/AAAAAAAACm4/EvbYj8j46ao/s320/1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;3. Indicamos el titulo y la palabra clave&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsnvOdmujI/AAAAAAAACm8/rJj3GIeE1sc/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="190" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsnvOdmujI/AAAAAAAACm8/rJj3GIeE1sc/s320/2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;4. Se muestra la ventana de Ubicación, presionamos el botón Terminar&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsn5QqNKFI/AAAAAAAACnA/EWAWD5h6TgU/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsn5QqNKFI/AAAAAAAACnA/EWAWD5h6TgU/s320/4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;5. Se agrega un nuevo panel&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsoBrGk4fI/AAAAAAAACnE/K4mkKlZG1qk/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="199" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsoBrGk4fI/AAAAAAAACnE/K4mkKlZG1qk/s320/6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;7. En el menú Herramientas seleccionamos Opciones&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsoKUZQeAI/AAAAAAAACnI/FJf_QRXmbOI/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsoKUZQeAI/AAAAAAAACnI/FJf_QRXmbOI/s320/7.png" width="164" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;8. En opciones , seleccionamos Varios&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsoV_6FVyI/AAAAAAAACnM/aHuKvL2Wvl0/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="77" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsoV_6FVyI/AAAAAAAACnM/aHuKvL2Wvl0/s320/8.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;9. Agregamos un JPanel, Caja de texto y una etiqueta&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsomSZE-8I/AAAAAAAACnQ/spatf4gqk0U/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="121" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsomSZE-8I/AAAAAAAACnQ/spatf4gqk0U/s320/10.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;10. Instalamos el plugin y verificamos las Opciones.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsovvzrwoI/AAAAAAAACnU/Of0j2x9M9iY/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="148" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMsovvzrwoI/AAAAAAAACnU/Of0j2x9M9iY/s320/11.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;11. Ahora en el código fuente buscamos el método store() y agregamos la&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;siguiente instrucción.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;NbPreferences.forModule(CoolOptionsPanel.class).put("namePreference",&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;jTextField1.getText());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMso6c5dpaI/AAAAAAAACnY/WEMIaGdGWEw/s1600/112.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="68" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMso6c5dpaI/AAAAAAAACnY/WEMIaGdGWEw/s320/112.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;12.Corregimos las importaciones y seleccionamos.&amp;nbsp;org.openide.util.NbPreferences&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMspJ-vtpWI/AAAAAAAACnc/je8vTRB8FMs/s1600/13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="134" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMspJ-vtpWI/AAAAAAAACnc/je8vTRB8FMs/s320/13.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;12.&amp;nbsp;Instalamos el plugin nuevamente y verificamos las Opciones.&amp;nbsp;org.openide.util.NbPreferences&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;13. Escribimos netbeans y presionamos el botón aceptar.&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMspd6_f0ZI/AAAAAAAACng/rGNAEFqDfQQ/s1600/65.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="182" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMspd6_f0ZI/AAAAAAAACng/rGNAEFqDfQQ/s320/65.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;14. Ahora para recuperar el valor, buscamos el metodo load() y escribimos&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsppwvFlPI/AAAAAAAACnk/6gkyNKCtGls/s1600/er.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="89" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMsppwvFlPI/AAAAAAAACnk/6gkyNKCtGls/s320/er.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;15. Instalamos nuevamente el plugin y verificamos las opciones y nos&lt;/div&gt;&lt;div&gt;aparece el texto netbeans, almacenado anteriormente.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7558025601168851889?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7558025601168851889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7558025601168851889' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7558025601168851889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7558025601168851889'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/netbeans-options-window-module-tutorial.html' title='NetBeans Options Window Module'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_fWhXbpnpdnc/TMsnmH6sbLI/AAAAAAAACm4/EvbYj8j46ao/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2752626778589063543</id><published>2010-10-29T07:12:00.000-07:00</published><updated>2010-10-29T07:29:27.001-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Agregar el plugin a un proyecto</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;Creamos un proyecto basado en NetBeans Platform Application&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMrTxObotxI/AAAAAAAACmI/kGxRHsxffH4/s1600/nb.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="188" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMrTxObotxI/AAAAAAAACmI/kGxRHsxffH4/s320/nb.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Imdicamos el nombre del proyecto&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMrUF-PovuI/AAAAAAAACmM/pC4YsDWNN2s/s1600/sui.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="126" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TMrUF-PovuI/AAAAAAAACmM/pC4YsDWNN2s/s320/sui.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos las propiedades del proyecto&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrUoa-wbMI/AAAAAAAACmQ/huLGdoKkfYo/s1600/io.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrUoa-wbMI/AAAAAAAACmQ/huLGdoKkfYo/s1600/io.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;En modulos dar click derecho y seleccionar Añadir existentes&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMrVFbzfK_I/AAAAAAAACmU/_XkB3ao9dY4/s1600/existent.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMrVFbzfK_I/AAAAAAAACmU/_XkB3ao9dY4/s1600/existent.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Seleccionamos el modulo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrVnfuUgFI/AAAAAAAACmY/UtPRyeVTbJU/s1600/modulo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrVnfuUgFI/AAAAAAAACmY/UtPRyeVTbJU/s1600/modulo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Se muestra el modulo agregado&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrV5F5EBEI/AAAAAAAACmc/pSj-QsvwFks/s1600/suite3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrV5F5EBEI/AAAAAAAACmc/pSj-QsvwFks/s1600/suite3.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Ejecutamos el proyecto&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrWG9hmC6I/AAAAAAAACmg/4RUPuDgcyLI/s1600/suite.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="63" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TMrWG9hmC6I/AAAAAAAACmg/4RUPuDgcyLI/s320/suite.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2752626778589063543?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2752626778589063543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2752626778589063543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2752626778589063543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2752626778589063543'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/agregar-el-plugin-un-proyecto.html' title='Agregar el plugin a un proyecto'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TMrTxObotxI/AAAAAAAACmI/kGxRHsxffH4/s72-c/nb.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2881879797825539471</id><published>2010-10-28T12:32:00.000-07:00</published><updated>2010-10-28T12:32:51.255-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='databases'/><title type='text'>Bases de Datos Relacionales.Algo del pasado o forman parte del presente.</title><content type='html'>Hace años cuando inicie en el mundo del desarrollo de software he observado la evolución de muchas tecnologías algunas con éxito otras marcadas por el fracaso debido a diversos factores, sin duda han sido los proyectos basados en Open Source y Software Libre, los que me han llamado más la atención, entre ellos claro esta NetBeans.&lt;br /&gt;En esta ocasión recuerdo la primera vez que utilice alguna base de datos relacional, &lt;tablas, llaves primarias, llaves foraneas, entidad relación,normalización,etc&gt;, y en ese entonces me preguntaba porque hay que enseñar "normalización-1, normalización-2,normalización-3", definida de multiples maneras cuando al final es el mismo concepto y el porque no iniciar con la mejor forma normal desde el principio, luego me preguntaba son las bases de datos relacionales una verdadera solución a la mayoría de los problemas o simplemente son un avance sobre el manejo tradicional de los archivos...&lt;br /&gt;   También me preguntaba porque debemos definir una estructura rígida para el almacenamiento de los datos, si  en el mundo real esto es flexible y dinámico, y como podemos almacenar algún tipo de información sin una estructura fija y no  tener que convertir el proceso natural en un proceso estructurado por obligación del modelo relacional y de la estructura rígida de las bases de datos relacionales.&lt;br /&gt;Por ejemplo cual es la mejor manera de almacenar datos de un formato como marc-21, donde no existe una estructura.&lt;br /&gt;Pues bien, las bases de datos relacionales más que un beneficio para este tipo de aplicaciones ofrecen un modelo complejo o no muy natural de hacerlo. Pues bien la solución a este tipo de situaciones ha llegado mediante bases de datos NOSQL, muchas orientadas a documentos como Couchdb, MongoDB, etc.&lt;br /&gt;En algunas situaciones dependiendo de la necesidad tal vez las bases de datos nosql no sean una alternativa, pero están cambiando de multiples maneras la forma en que se almacenan y procesan  los datos..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-2881879797825539471?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/2881879797825539471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=2881879797825539471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2881879797825539471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/2881879797825539471'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/bases-de-datos-relacionalesalgo-del.html' title='Bases de Datos Relacionales.Algo del pasado o forman parte del presente.'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3432971824282834160</id><published>2010-10-27T11:27:00.000-07:00</published><updated>2010-10-27T11:27:36.302-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><title type='text'>Capacitación virtual en NetBeans Platform</title><content type='html'>Nuestro amigo Diego Silva (uno de los mejores escritores de blogs sobre NetBeans en español) esta coordinando con&amp;nbsp;&lt;span class="Apple-style-span" style="color: #5d5d5d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://blogs.sun.com/geertjan/" style="color: #d83128; text-decoration: none;"&gt;Geertjan Wielenga&lt;/a&gt;&amp;nbsp;para dictar capacitaciones para los latinoamericanos.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Información oficial en el blog de Diego Silva&lt;br /&gt;&lt;a href="http://www.apuntesdejava.com/2010/10/ultimo-minuto-capacitacion-virtual-en.html"&gt;http://www.apuntesdejava.com/2010/10/ultimo-minuto-capacitacion-virtual-en.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMhti3P3EBI/AAAAAAAAClg/CDTMVboBaH4/s1600/diego.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="111" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMhti3P3EBI/AAAAAAAAClg/CDTMVboBaH4/s320/diego.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3432971824282834160?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3432971824282834160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3432971824282834160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3432971824282834160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3432971824282834160'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/capacitacion-virtual-en-netbeans.html' title='Capacitación virtual en NetBeans Platform'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_fWhXbpnpdnc/TMhti3P3EBI/AAAAAAAAClg/CDTMVboBaH4/s72-c/diego.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-3806685606677032547</id><published>2010-10-27T06:25:00.000-07:00</published><updated>2010-10-27T06:25:41.589-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='m21couchdb'/><title type='text'>marc-json</title><content type='html'>Ajuste el código del plugin para migrar archivos Marc21 a Couchdb, para que soporte el formato marc-json.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMgnILAvTyI/AAAAAAAAClY/ydEJGSriRz8/s1600/marc-json.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="234" src="http://3.bp.blogspot.com/_fWhXbpnpdnc/TMgnILAvTyI/AAAAAAAAClY/ydEJGSriRz8/s320/marc-json.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Parte del&amp;nbsp;código&amp;nbsp;fuente&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMgoQhpK0OI/AAAAAAAAClc/FLhX0pKJCZg/s1600/codigo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="201" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TMgoQhpK0OI/AAAAAAAAClc/FLhX0pKJCZg/s320/codigo.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-3806685606677032547?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/3806685606677032547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=3806685606677032547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3806685606677032547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/3806685606677032547'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/marc-json.html' title='marc-json'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_fWhXbpnpdnc/TMgnILAvTyI/AAAAAAAAClY/ydEJGSriRz8/s72-c/marc-json.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-330712018697495753</id><published>2010-10-18T12:15:00.000-07:00</published><updated>2010-10-18T12:15:23.114-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans'/><title type='text'>NetBeans 7.0 Milestone 2 disponible</title><content type='html'>El Milestone 2 de NetBeans 7.0 esta disponible para su descarga.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_fWhXbpnpdnc/TLybgup46YI/AAAAAAAAClU/sxpaiJt4N8o/s1600/m2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="104" src="http://1.bp.blogspot.com/_fWhXbpnpdnc/TLybgup46YI/AAAAAAAAClU/sxpaiJt4N8o/s320/m2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://bits.netbeans.org/netbeans/7.0/m2/"&gt;En este enlace puedes descargar el M2&lt;/a&gt;&lt;br /&gt;Las caracteristicas&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 11px; line-height: 15px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Java&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Support for Maven 3&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;JUnit 4.8.2 integration and various JUnit improvements&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Remote HTTP URLs supported for Javadoc in libraries and Java platforms&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;New improved visual customizer for GridBagLayout&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Java EE&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Improved support for CDI, REST services and Java Persistence; new support for Bean Validation&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Support for JSF component libraries, including bundled PrimeFaces library&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Improved editing for Expression Language in JSF, including code completion, refactoring and hints&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;GlassFish&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;GlassFish 3.1 Support&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Domain restart and log viewer for remote GlassFish&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Enable and disable deployed applications&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;WebLogic Application Server&lt;ul style="display: block; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Streamlined and faster deployment to WebLogic&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;New server runtime node displaying deployed applications and resources&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;JSF integration with server libraries&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Platform&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Less intrusive checking for external changes when switching between the IDE and other programs&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Editor&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Word wrap&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Show invisible characters&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;HTML 5 support&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;PHP&lt;ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 8px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Generate PhpDoc&lt;/li&gt;&lt;li style="margin-bottom: 10px; margin-top: 0px;"&gt;Rename refactoring, Safe Delete Refactoring&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-330712018697495753?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/330712018697495753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=330712018697495753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/330712018697495753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/330712018697495753'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/netbeans-70-milestone-2-disponible.html' title='NetBeans 7.0 Milestone 2 disponible'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_fWhXbpnpdnc/TLybgup46YI/AAAAAAAAClU/sxpaiJt4N8o/s72-c/m2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-7653209586455529842</id><published>2010-10-15T09:40:00.000-07:00</published><updated>2010-10-15T09:40:59.949-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='couchdb'/><title type='text'>Obtener los documentos de una base de datos en Couchdb</title><content type='html'>Mostrare un pequeño&amp;nbsp;código&amp;nbsp;en Java que utiliza Couchdb4j para interactuar con los documentos almacenados en Couchdb.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db = dbSession.getDatabase(dbname);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (db == null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int count = db.getDocumentCount();&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (count == 0) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NotifyDescriptor d = new NotifyDescriptor.Message("No existen documentos de la base de datos " + dbname, msgType);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DialogDisplayer.getDefault().notify(d);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ViewResults results = db.getAllDocuments();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//definimos el los campos para mostrar en el jtable&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Object[] filas = new Object[4]; // Hay tres columnas en la tabla&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (Document document : results.getResults()) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String id = (String) document.get("id");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Document full = db.getDocument(document.getId());&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String lnombre =full.getString("archivo");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String lfecha = full.getString("fecha");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String lprefijo = full.getString("prefijo");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String ltipo &amp;nbsp; &amp;nbsp;= full.getString("tipo");&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NotifyDescriptor d = new NotifyDescriptor.Message("ObtenerRegistros() &amp;nbsp;" + ex.getLocalizedMessage().toString(), msgTypeError);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DialogDisplayer.getDefault().notify(d);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11140295-7653209586455529842?l=avbravo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://avbravo.blogspot.com/feeds/7653209586455529842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11140295&amp;postID=7653209586455529842' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7653209586455529842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11140295/posts/default/7653209586455529842'/><link rel='alternate' type='text/html' href='http://avbravo.blogspot.com/2010/10/obtener-los-documentos-de-una-base-de.html' title='Obtener los documentos de una base de datos en Couchdb'/><author><name>avbravo</name><uri>http://www.blogger.com/profile/11646646633845998411</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://2.bp.blogspot.com/-D9CRFly_aDw/TV51XBhJEVI/AAAAAAAACuk/-t50v3v2JYo/s220/avbravo.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11140295.post-2832225289786263016</id><published>2010-10-14T07:11:00.000-07:00</published><updated>2010-10-14T07:11:52.408-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netbeans platform'/><category scheme='http://www.blogger.com/atom/ns#' term='marc21'/><category scheme='http://www.blogger.com/atom/ns#' term='m21couchdb'/><title type='text'>M21Couchdb Migrador Marc21 a Couchdb</title><content type='html'>En esta ocasión realice un plugin muy&amp;nbsp;básico&amp;nbsp;para migrar datos desde un archivo en formato mar21 (.mrc) &amp;nbsp;a una base de datos couchdb.&lt;br /&gt;El funcionamiento es sencillo, se analiza el contenido del archivo se obtienen los campos y luego estos se insertan en una base de datos documental.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_fWhXbpnpdnc/TLcO3NLH4ZI/AAAAAAAAClM/AwpX8g4bO3Y/s1600/m.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_fWhXbpnpdnc/TLcO3NLH4ZI/AAAAAAAAClM/AwpX8g4bO3Y/s1600/m.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Simplemente seleccionando el archivo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_fWhXbpnpdnc/TLcPC9O1UtI/AAAAAAAAClQ/CSYHUXXkoBY/s1600/m21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="294" src="http://4.bp.blogspot.com/_fWhXbpnpdnc/TLcPC9O1UtI/AAAAAAAAClQ/CSYHUXXkoBY/s320/m21.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Este plugin utiliza la biblioteca Marc4j&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Aqui podemos ver el contenido del archivo Sesion.java&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;package org.avbravo.m21couchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;/**&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;* @author avbravo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import com.fourspaces.couchdb.Database;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import com.fourspaces.couchdb.Document;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import com.fourspaces.couchdb.Session;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.io.FileInputStream;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.io.InputStream;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.Connection;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.DatabaseMetaData;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.DriverManager;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.ResultSet;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.ResultSetMetaData;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.sql.Statement;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.util.ArrayList;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.util.Calendar;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.util.Date;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.util.Iterator;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import java.util.List;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import javax.swing.JOptionPane;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.MarcReader;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.MarcStreamReader;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.marc.DataField;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.marc.Leader;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.marc.Record;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.marc4j.marc.Subfield;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.openide.DialogDisplayer;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.openide.NotifyDescriptor;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;import org.openide.awt.StatusDisplayer;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;/**&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;* @author avbravo&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;public class Sesion {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; // private String ip = "localhost";&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;// &amp;nbsp; private int puerto = 5984;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;String directorio = "";&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; private static String urlArchivo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Record record;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MarcReader reader;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Leader leader;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static String ipCouchdb = "localhost";&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static int puertoCouchdb = 5984;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static String userCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static String passwordCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;private static String prefijo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; private static String nuevo="si";&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static Session dbSession;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static Database db;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static Document doc;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp;static DatabaseMetaData dmd;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;int num_columnas;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;// &amp;nbsp; &amp;nbsp;static List&amp;lt;String&amp;gt; ListaTablas = new ArrayList&amp;lt;String&amp;gt;();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;static List&amp;lt;String&amp;gt; ListaMensajes = new ArrayList&amp;lt;String&amp;gt;();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;int msgTypeError = NotifyDescriptor.ERROR_MESSAGE;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;int msgType = NotifyDescriptor.INFORMATION_MESSAGE;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static String getNuevo() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return nuevo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static void setNuevo(String nuevo) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sesion.nuevo = nuevo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static String getUrlArchivo() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return urlArchivo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static void setUrlArchivo(String urlArchivo) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sesion.urlArchivo = urlArchivo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static List&amp;lt;String&amp;gt; getListaMensajes() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return ListaMensajes;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static void setListaMensajes(List&amp;lt;String&amp;gt; ListaMensajes) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sesion.ListaMensajes = ListaMensajes;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static String getPrefijo() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return prefijo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public static void setPrefijo(String prefijo) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sesion.prefijo = prefijo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getIpCouchdb() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return ipCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setIpCouchdb(String ipCouchdb) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ipCouchdb = ipCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getPasswordCouchdb() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return passwordCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setPasswordCouchdb(String passwordCouchdb) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.passwordCouchdb = passwordCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public int getPuertoCouchdb() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return puertoCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setPuertoCouchdb(int puertoCouchdb) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.puertoCouchdb = puertoCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public String getUserCouchdb() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return userCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setUserCouchdb(String userCouchdb) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.userCouchdb = userCouchdb;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; * Agrega una tabla a la lista&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; */&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; *inicio&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; */&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public boolean ConectarCouchDB() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dbSession = new Session(ipCouchdb, puertoCouchdb);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String host = dbSession.getHost();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;dbSession&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List&amp;lt;String&amp;gt; databasesCouchdb = dbSession.getDatabaseNames();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("host..." + dbSession.getHost());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (dbSession == null) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;JOptionPane.showMessageDialog(null, "ConectarCouchDB()\nMensaje: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("ConectarCouchDB) " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("ConectarCouchDB. Error " + ex.getMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public boolean CrearBaseDatos(String dbname) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db = dbSession.createDatabase(dbname);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (db == null) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;JOptionPane.showMessageDialog(null, "CrearBaseDatos()\nMensaje: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("CrearBaseDatos(String dbname) " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("CrearBaseDatos(String dbname). Error " + ex.getMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public boolean AbrirBaseDatos(String dbname) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db = dbSession.getDatabase(dbname);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (db == null) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;JOptionPane.showMessageDialog(null, "AbrirBaseDatos()\nMensaje: " + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("AbrirBaseDatos(String dbname) " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("AbrirBaseDatos(String dbname). Error " + ex.getMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void AgregarDocumentos() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc = new Document();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.setId("myid");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.put("nombre", "valor");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db.saveDocument(doc);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("AgregarDocumentos " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("AgregarDocumentos(). Error " + ex.getMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void MigrarArchivo(){&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;CargarArchivo();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StatusDisplayer.getDefault().setStatusText("procesarTabla(). Error " + ex.getMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("MigrarArchivo() " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; public boolean CargarArchivo() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStream in = new FileInputStream(urlArchivo);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (in != null) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reader = new MarcStreamReader(in);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (reader.hasNext()) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;// obtener el registro completo mostrando todos los campos&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;record = reader.next();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(record.toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ObtenerRegistroMarc();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ObtenerValorCampos();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Campo856();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// break;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NotifyDescriptor d = new NotifyDescriptor.Message("No se encontro el archivo " + urlArchivo, msgTypeError);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NotifyDescriptor d = new NotifyDescriptor.Message(ex.getLocalizedMessage().toString(), msgTypeError);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DialogDisplayer.getDefault().notify(d);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return false;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;public void ObtenerRegistroMarc() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc = new Document();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;leader = record.getLeader();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;System.out.println("leader: " + leader.toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//no se usa el id para que couchdb lo genere mejor&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//doc.setId(id);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.put("leader", leader.toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String codigo, texto;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int largo;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List fields = record.getControlFields();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println("(tags 001 &amp;nbsp;a 009 size " + fields.size() + ")");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; fields.size(); i++) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//descompongo el elemento&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;largo = fields.get(i).toString().length();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;System.out.println(fields.get(i));&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;codigo = fields.get(i).toString().substring(0, 3);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;texto = fields.get(i).toString().substring(4, largo);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;System.out.println("-----------&amp;gt; " + codigo + " --&amp;gt; " + texto);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.put(codigo, texto);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// returns fields for tags 010 through 999&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List fields2 = record.getDataFields();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println("tags 010 to 999 size " + fields2.size());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; fields2.size(); i++) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;largo = fields2.get(i).toString().length();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;System.out.println(fields2.get(i));&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;codigo = fields2.get(i).toString().substring(0, 3);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;texto = fields2.get(i).toString().substring(4, largo);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.put(codigo, texto);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Campo856();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;db.saveDocument(doc);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println("--guardado----");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception ex) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.ListaMensajes.add("ObtenerRegistroMarc() " + ex.getLocalizedMessage().toString());&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; public void Campo856() {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//------------------campo 245&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DataField field = (DataField) record.getVariableField("856");&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String tag = field.getTag();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char ind1 = field.getIndicator1();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char ind2 = field.getIndicator2();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp; &amp;nbsp;System.out.println("Tag: " + tag + " Indicator 1: " + ind1 + " Indicator 2: " + ind2);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List subfields = field.getSubfields();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Iterator i = subfields.iterator();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (i.hasNext()) {&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Subfield subfield = (Subfield) i.next();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char code = subfield.getCode();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String data2 = subfield.getData();&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println("Subfield code: " + code + " Data element: " + data2);&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&
