<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Liferay Latino Blog</title>
	<atom:link href="http://www.lrlatinoblog.com.ar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lrlatinoblog.com.ar</link>
	<description>La comunidad latina de Liferay</description>
	<lastBuildDate>Sat, 19 Nov 2011 18:47:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Agregar un editor WYSIWYG a un portlet</title>
		<link>http://www.lrlatinoblog.com.ar/2011/11/19/agregar-un-editor-wysiwyg-a-un-portlet/</link>
		<comments>http://www.lrlatinoblog.com.ar/2011/11/19/agregar-un-editor-wysiwyg-a-un-portlet/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 18:45:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[Diseño]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[CKEditor]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=210</guid>
		<description><![CDATA[Interesante nota de Erik Andersson en el site de Liferay donde explica como agregar un editor WYSIWYG a un portlet propio, y como se puede personalizar cambiando las barras de herramientas existentes o creando las propias. &#160;]]></description>
			<content:encoded><![CDATA[<p>Interesante <a href="http://www.liferay.com/web/erik.andersson/blog/-/blogs/11490753" target="_blank">nota</a> de Erik Andersson en el site de <a href="http://www.liferay.com" target="_blank">Liferay</a> donde explica como agregar un editor WYSIWYG a un portlet propio, y como se puede personalizar cambiando las barras de herramientas existentes o creando las propias.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2011/11/19/agregar-un-editor-wysiwyg-a-un-portlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comprimir CSS y JavaScript</title>
		<link>http://www.lrlatinoblog.com.ar/2011/04/09/comprimir-css-y-javascript/</link>
		<comments>http://www.lrlatinoblog.com.ar/2011/04/09/comprimir-css-y-javascript/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 18:28:06 +0000</pubDate>
		<dc:creator>joyola83</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ant]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Optimizacion]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com/?p=69</guid>
		<description><![CDATA[YUI Compressor es una herramienta que permite la reducción del tamaño de archivos Javascript y CSS permitiendo una optimización del tiempo de transferencia entre el servidor web y el browser. Los archivos Javascript son comprimidos eliminando comentarios y espacios en &#8230; <a href="http://www.lrlatinoblog.com.ar/2011/04/09/comprimir-css-y-javascript/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>YUI Compressor</strong> es una herramienta que permite la reducción del tamaño de archivos Javascript y CSS permitiendo una optimización del tiempo de transferencia entre el servidor web y el browser.</p>
<p>Los archivos Javascript son comprimidos eliminando comentarios y espacios en blanco, como asi tambien ofuscando variables locales utilizando nombres cortos.  Los archivos CSS son comprimidos haciendo uso de expresiones regulares basadas en CSS minifier.</p>
<p><strong>Instalación de YUI Compressor</strong></p>

<div class="wp_syntax"><div class="code"><pre class="powerscript" style="font-family:monospace;">sudo aptitude install yui-compressor</pre></div></div>

<p><strong>Comprimir y Obfuscar Javascript</strong></p>

<div class="wp_syntax"><div class="code"><pre class="powerscript" style="font-family:monospace;">cat *.js &gt; original.js
yui-compressor -type js -o compressed.js original.js</pre></div></div>

<p><strong>Comprimir CSS</strong></p>

<div class="wp_syntax"><div class="code"><pre class="powerscript" style="font-family:monospace;">cat *.css &gt; original.css
yui-compressor -type css -o compressed.css original.css</pre></div></div>

<p><strong>Utilizar YUI Compress con ANT</strong></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;yuicompressor.classpath&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;${yuicompressor.dir}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;**/yuicompressor-2.2.5.jar&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;**/YUIAnt.jar&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;">&lt;!– include <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;**/rhino*.jar&quot;</span>/ –<span style="color: #000000; font-weight: bold;">&gt;</span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fileset<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/path<span style="color: #000000; font-weight: bold;">&gt;</span></span></span> 
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;js.compress&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;taskdef</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;yuicompress&quot;</span> <span style="color: #000066;">classname</span>=<span style="color: #ff0000;">&quot;com.yahoo.platform.yui.compressor.YUICompressTask&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;classpath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;path</span> <span style="color: #000066;">refid</span>=<span style="color: #ff0000;">&quot;yuicompressor.classpath&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/classpath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/taskdef<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;yuicompress</span> <span style="color: #000066;">warn</span>=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #000066;">munge</span>=<span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #000066;">preserveallsemicolons</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">outputfolder</span>=<span style="color: #ff0000;">&quot;${js-min.dir}&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fileset</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;${js.dir}&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;include</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;javascript/*.js&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fileset<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/yuicompress<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>Utilizar YUI Compress con Maven</strong></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;project<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;build<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;plugins<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>net.alchim31.maven<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>yuicompressor-maven-plugin<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;executions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;execution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;phase<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>package<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/phase<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;goals<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;goal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>compress<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/goal<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/goals<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/execution<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/executions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;failOnWarning<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/failOnWarning<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nosuffix<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/nosuffix<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;force<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/force<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;aggregations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;aggregation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #808080; font-style: italic;">&lt;!-- Elimina los archivos declarado en agregations (default: false) --&gt;</span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;removeIncluded<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/removeIncluded<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
                      <span style="color: #808080; font-style: italic;">&lt;!-- Inserta una linea despues de concatenar los archivos (default: false) --&gt;</span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;insertNewLine<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>false<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/insertNewLine<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
                      <span style="color: #808080; font-style: italic;">&lt;!-- Es el archivo generado a partir de comprimir cada JS --&gt;</span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;output<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${project.basedir}/${webcontent.dir}/js/compressed.js<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/output<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
                      <span style="color: #808080; font-style: italic;">&lt;!-- Los archivos JS que deben comprimirse --&gt;</span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;includes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>                
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;include<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>javascript/*.js<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/include<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/includes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
                      <span style="color: #808080; font-style: italic;">&lt;!-- Los archivos JS que deben omitirse --&gt;</span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;excludes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exclude<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exclude<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/excludes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/aggregation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/aggregations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/plugin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/plugins<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/build<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/project<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2011/04/09/comprimir-css-y-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sentencia: try-with-resource (Java 7)</title>
		<link>http://www.lrlatinoblog.com.ar/2011/03/24/sentencia-try-with-resource-java-7/</link>
		<comments>http://www.lrlatinoblog.com.ar/2011/03/24/sentencia-try-with-resource-java-7/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 19:57:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=140</guid>
		<description><![CDATA[Los resources son objetos que deber ser cerrados despues que se terminaron de utilizar. Pomemos mencionar a InputStream o OutputStream como ejemplos de resources. Para cerrar un InputStream debemos escribir el siguiente código: InputStream in = null; try &#123; in &#8230; <a href="http://www.lrlatinoblog.com.ar/2011/03/24/sentencia-try-with-resource-java-7/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Los <strong>resources</strong> son objetos que deber ser cerrados despues que se terminaron de utilizar. Pomemos mencionar a <strong>InputStream</strong> o <strong>OutputStream</strong> como ejemplos de <strong>resources</strong>.</p>
<p>Para cerrar un InputStream debemos escribir el siguiente código:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">InputStream</span> in <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
   <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
      in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">FileInputStream</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">File</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/tmp/prueba.txt&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      ...
   <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Exception</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      ...
   <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">finally</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>in <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         in.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>La sentencia try-with-resources nos permitira cerrar automaticamente los resources declarados.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">InputStream</span> in <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">FileInputStream</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">File</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/tmp/prueba.txt&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">byte</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> buf <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #000066; font-weight: bold;">byte</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1024</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
   in.<span style="color: #006633;">read</span><span style="color: #009900;">&#40;</span>buf<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>buf<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Solamente las clases que implementan la interface <strong>AutoCloseable</strong> pueden ser cerradas automaticamentes cuando se declaran en un try-with-resources.</p>
<p>Clases que implementan <strong>AutoCloseable</strong></p>
<div id="_mcePaste">
<ul>
<li><span style="line-height: 19px;">InputStream</span></li>
<li><span style="line-height: 19px;">OutputStream</span></li>
<li><span style="line-height: 19px;">Reader</span></li>
<li><span style="line-height: 19px;">Writer</span></li>
<li><span style="line-height: 19px;">Connection</span></li>
<li><span style="line-height: 19px;">Statement</span></li>
<li><span style="line-height: 19px;">ResultSet</span></li>
</ul>
</div>
<p>Para más información:</p>
<p><a href="http://download.java.net/jdk7/docs/technotes/guides/language/try-with-resources.html">http://download.java.net/jdk7/docs/technotes/guides/language/try-with-resources.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2011/03/24/sentencia-try-with-resource-java-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4</title>
		<link>http://www.lrlatinoblog.com.ar/2011/03/23/firefox-4/</link>
		<comments>http://www.lrlatinoblog.com.ar/2011/03/23/firefox-4/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 15:28:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=128</guid>
		<description><![CDATA[Finalmente se ha liberado Firefox 4 trayendo un monton de novedades. Para actualizar esta nueva versión en Ubuntu desde el repositorio PPA hay que ejecutar los siguientes 3 comandos: sudo add-apt-repository ppa:mozillateam/firefox-stable sudo apt-get update sudo apt-get install firefox ubufox &#8230; <a href="http://www.lrlatinoblog.com.ar/2011/03/23/firefox-4/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finalmente se ha liberado Firefox 4 trayendo un monton de novedades.</p>
<p>Para actualizar esta nueva versión en Ubuntu desde el repositorio PPA hay que ejecutar los siguientes 3 comandos:</p>
<blockquote><p><strong>sudo add-apt-repository ppa:mozillateam/firefox-stable<br />
sudo apt-get update<br />
sudo apt-get install firefox ubufox</strong></p></blockquote>
<p>Como se en en Ubuntu 10.10:</p>

<div class="ngg-galleryoverview" id="ngg-gallery-1-128">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lrlatinoblog.com.ar/wp-content/gallery/firefox-4/add-ons-manager-mozilla-firefox_023.png" title=" " class="shutterset_set_1" >
								<img title="Addons" alt="Addons" src="http://www.lrlatinoblog.com.ar/wp-content/gallery/firefox-4/thumbs/thumbs_add-ons-manager-mozilla-firefox_023.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-2" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lrlatinoblog.com.ar/wp-content/gallery/firefox-4/liferay-latino-blog-la-comunidad-latina-de-liferay-mozilla-firefox_021.png" title=" " class="shutterset_set_1" >
								<img title="Lr Latino Blog" alt="Lr Latino Blog" src="http://www.lrlatinoblog.com.ar/wp-content/gallery/firefox-4/thumbs/thumbs_liferay-latino-blog-la-comunidad-latina-de-liferay-mozilla-firefox_021.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2011/03/23/firefox-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven</title>
		<link>http://www.lrlatinoblog.com.ar/2009/12/16/maven/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/12/16/maven/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 03:33:08 +0000</pubDate>
		<dc:creator>joyola83</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=113</guid>
		<description><![CDATA[A partir de la version 5.3 de Liferay, va a haber soporte oficial para maven.  En el este post Liferay Maven SDK publicado en el día de ayer en Liferay, se realiza una pequeña explicación de como se crea portlets &#8230; <a href="http://www.lrlatinoblog.com.ar/2009/12/16/maven/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A partir de la version 5.3 de Liferay, va a haber soporte oficial para maven.  En el este post <a href="http://www.liferay.com/web/mika.koivisto/blog/-/blogs/liferay-maven-sdk" target="_blank">Liferay Maven SDK</a> publicado en el día de ayer en Liferay, se realiza una pequeña explicación de como se crea portlets como plugins con Maven.</p>
<p>También se esta trabajando para crear themes, hooks y layouts.</p>
<p>Para trabajar con Liferay 5.2 existe actualmente una implementación para crear portles en <a href="http://wiki.github.com/azzazzel/liferay-maven-sdk/" target="_blank">GitHub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/12/16/maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liferay y Maven</title>
		<link>http://www.lrlatinoblog.com.ar/2009/12/04/liferay-y-maven/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/12/04/liferay-y-maven/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 03:10:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[portlet]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=110</guid>
		<description><![CDATA[En el último tiempo, Maven se me conviertio en una herramienta indispensable al momento de programar.  En el blog de Liferay salio un post que habla como generar un portlet con Maven, dicho pluggin no es oficial de Liferay, seguramente &#8230; <a href="http://www.lrlatinoblog.com.ar/2009/12/04/liferay-y-maven/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>En el último tiempo, Maven se me conviertio en una herramienta indispensable al momento de programar.  En el blog de Liferay salio un post que habla como generar un portlet con Maven, dicho pluggin no es oficial de Liferay, seguramente el fin de semana lo voy a probar y les cuento como funciona.</p>
<p>En este <a href="http://milen.commsen.com/2009/10/creating-liferay-portlet-with-liferay-maven-sdk.html" target="_blank">link</a> se detallan las instrucciones para crear un portlet con Maven.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/12/04/liferay-y-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>La importancia de comentar código</title>
		<link>http://www.lrlatinoblog.com.ar/2009/12/02/la-importancia-de-comentar-codigo/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/12/02/la-importancia-de-comentar-codigo/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 17:35:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=108</guid>
		<description><![CDATA[En Humofriki podemos encontrar un comic muy interesante y divertido.  El comic habla de la importancia de comentar nuestro código. Espero que les guste: link]]></description>
			<content:encoded><![CDATA[<p>En Humofriki podemos encontrar un comic muy interesante y divertido.  El comic habla de la importancia de comentar nuestro código.</p>
<p>Espero que les guste: <a href="http://www.humorfriki.com/la-importancia-de-comentar-el-codigo?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+HumorFriki+%28Humor+Friki+|+Porque+Los+Frikis+Tambi%C3%A9n+Re%C3%ADmos%29" target="_blank">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/12/02/la-importancia-de-comentar-codigo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webinar de Alfresco</title>
		<link>http://www.lrlatinoblog.com.ar/2009/11/30/webinar-de-alfresco/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/11/30/webinar-de-alfresco/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:12:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Alfresco]]></category>
		<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=106</guid>
		<description><![CDATA[El miercoles 2 de diciembre a las 12 pm (-5GMT) hay un webinar de Alfresco donde se discutira las caracteristicas de las distintas versiones de Alfresco; Enterprise 3.2, Community 3.2 y Traditional ECM.  Esto nos permitira tomar una mejor decisión &#8230; <a href="http://www.lrlatinoblog.com.ar/2009/11/30/webinar-de-alfresco/">Sigue leyendo <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>El miercoles 2 de diciembre a las 12 pm (-5GMT) hay un webinar de Alfresco donde se discutira las caracteristicas de las distintas versiones de Alfresco; Enterprise 3.2, Community 3.2 y Traditional ECM.  Esto nos permitira tomar una mejor decisión para tomar una buena decisión para la necesidades de nuestros clientes.</p>
<p>Para registrarse al webinar: <a title="Registrase al Webinar de Alfresco" href="http://app.en25.com/e/er.aspx?s=757&amp;lid=365&amp;elq=c3193d06a4884344bd83f57de9a39e36" target="_blank">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/11/30/webinar-de-alfresco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PUNYPNG</title>
		<link>http://www.lrlatinoblog.com.ar/2009/11/27/punypng/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/11/27/punypng/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 04:08:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diseño]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=104</guid>
		<description><![CDATA[PunyPNG es una aplicacion web que reduce el tamaño de una imagen, permitiendo una optimización de los tiempos de carga de un sitio web. PunyPNG lo podemos encontrar en http://www.gracepointafterfive.com/punypng/ Soporta los formatos: PNG, JPEG y GIF]]></description>
			<content:encoded><![CDATA[<p>PunyPNG es una aplicacion web que reduce el tamaño de una imagen, permitiendo una optimización de los tiempos de carga de un sitio web.</p>
<p>PunyPNG lo podemos encontrar en http://www.gracepointafterfive.com/punypng/</p>
<p>Soporta los formatos: PNG, JPEG y GIF</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/11/27/punypng/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>34 trucos para diseñadores y desarrolladores web</title>
		<link>http://www.lrlatinoblog.com.ar/2009/11/27/34-trucos-para-disenadores-y-desarrolladores-web/</link>
		<comments>http://www.lrlatinoblog.com.ar/2009/11/27/34-trucos-para-disenadores-y-desarrolladores-web/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 03:56:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[Diseño]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.lrlatinoblog.com.ar/?p=99</guid>
		<description><![CDATA[En xyberneticos me entero de una guia de 34 trucos para diseñadores y desarrolladores web; esta guia tiene muchos tips interesantes a tener en cuenta. Este es el link.]]></description>
			<content:encoded><![CDATA[<p>En <a title="xyberneticos" href="http://xyberneticos.com/" target="_blank">xyberneticos</a> me entero de una guia de 34 trucos para diseñadores y desarrolladores web; esta guia tiene muchos tips interesantes a tener en cuenta.</p>
<p>Este es el <a title="34 trucos para diseñadores y desarrolladores web" href="http://www.webanddesigners.com/34-cheat-sheets-for-web-designers-and-developers" target="_blank">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lrlatinoblog.com.ar/2009/11/27/34-trucos-para-disenadores-y-desarrolladores-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

