<?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:blogger='http://schemas.google.com/blogger/2008' 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-8070264041251873340</id><updated>2024-08-29T10:52:59.594+02:00</updated><category term="Algoritmo caballo Horse Algorithm"/><category term="Algoritmo reinas Queens Algorithm"/><category term="Apache ESB bus Camel Fuse ServiceMix Synapse WSO2"/><category term="Apigee test API"/><category term="IA"/><category term="JSON"/><category term="Java versions versiones diferencias differences"/><category term="PROLOG"/><category term="SSL keystore truststore two-way command comando"/><category term="SUDOKU"/><category term="SVN Eclipse plugin subversion subversive tigris"/><category term="WSO2 ESB URL Encoded Builder"/><category term="WSO2 ESB mediator mediador"/><category term="WebLogic Certificado Confianza SSL"/><category term="formateador"/><category term="poll php framework"/><category term="validador"/><category term="validator formatter"/><category term="verificador"/><category term="verificator"/><title type='text'>Programaando</title><subtitle type='html'>Ando programando</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-401192844710569019</id><published>2016-07-25T18:44:00.001+02:00</published><updated>2016-07-25T18:44:27.102+02:00</updated><title type='text'>Eliminar dependencias en Maven / Delete dependencies in Maven project</title><content type='html'>Un problema habitual en Maven son las dependencias heredadas de otras dependencias, especialmente cuando queremos evitar añadir un .jar concreto. Para solucionar este problema tenemos 2 herramientas sencillas y rápidas.&lt;br /&gt;
&lt;br /&gt;
Con &#39;&lt;b&gt;mvn dependency:tree&lt;/b&gt;&#39; podemos saber que dependencias están importando nuestras dependencias. A continuación debemos añadir una nueva entrada en las &amp;nbsp;&#39;&amp;lt;exclusions&amp;gt;&#39; de nuestra dependencia.&lt;br /&gt;
&lt;br /&gt;
Para evitar que en un futuro vuelva a aparecer dicha dependencia, podemos usar el plugin siguiente:&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt; &amp;nbsp; &amp;nbsp;&amp;lt;plugin&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;maven-enforcer-plugin&amp;lt;/artifactId&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.3.1&amp;lt;/version&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;executions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;execution&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;id&amp;gt;enforce-version&amp;lt;/id&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;goals&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;goal&amp;gt;enforce&amp;lt;/goal&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/goals&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;configuration&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;rules&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;bannedDependencies&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;excludes&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;!-- exclude all versions lower than 1.2.17--&amp;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;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;exclude&amp;gt;log4j:log4j:[0.0,1.2.17)&amp;lt;/exclude&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/excludes&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/bannedDependencies&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/rules&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/execution&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/executions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/plugin&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
con este plugin se obtiene un error cuando se esta detectando una dependencia rechazada.&lt;br /&gt;
&lt;br /&gt;
______________________________________________&lt;br /&gt;
&lt;br /&gt;
A common problem with Maven is to know what dependencies are being imported by our own dependencies, especially&amp;nbsp;when we try to avoid a particular .jar file. This problem is esasily solved with two tools.&lt;br /&gt;
&lt;br /&gt;
&#39;&lt;b&gt;mvn dependency:tree&lt;/b&gt;&#39;&amp;nbsp;allows us to know all the dependencies imported and which one imports another one. Adding a new entry in &#39;&amp;lt;exclusions&amp;gt;&#39; section of this dependency, we avoid the corresponding file.&lt;br /&gt;
&lt;br /&gt;
To force that in a future this dependency will not be impoerted again, we can use the following plugin:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;plugin&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;maven-enforcer-plugin&amp;lt;/artifactId&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.3.1&amp;lt;/version&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;executions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;execution&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;id&amp;gt;enforce-version&amp;lt;/id&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;goals&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;goal&amp;gt;enforce&amp;lt;/goal&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/goals&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;configuration&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;rules&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;bannedDependencies&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;excludes&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;!-- exclude all versions lower than 1.2.17--&amp;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;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;exclude&amp;gt;log4j:log4j:[0.0,1.2.17)&amp;lt;/exclude&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/excludes&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/bannedDependencies&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&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;lt;/rules&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/configuration&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/execution&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/executions&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/plugin&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
With this plugin you get an error when this dependency is detected again.&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/401192844710569019/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2016/07/eliminar-dependencias-en-maven-delete.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/401192844710569019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/401192844710569019'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2016/07/eliminar-dependencias-en-maven-delete.html' title='Eliminar dependencias en Maven / Delete dependencies in Maven project'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-8235257742257049852</id><published>2015-02-06T16:04:00.000+01:00</published><updated>2015-02-06T16:04:00.008+01:00</updated><title type='text'>Migración de MySQL 5.5 a 5.6/ Migration from MySQL 5.5 to 5.6</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Crear una copia: mysqldump (shell&amp;gt; mysqldump --single-transaction --all-databases &amp;gt; bd_backup_20150115.sql;) o workbrench&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;linux: es bueno comenzar con una actualizacion: sudo apt-get update&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;detener el servicio de MySQL (consider setting innodb_fast_shutdown to 0 before shutting down, en InnoDB el apagado es mas lento y tendría q estar totalmente apagado)&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;windows: NET STOP MySQL | C:\&amp;gt; &quot;C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin&quot; -u root shutdown&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;linux:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;check: sudo service mysql status&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;stop: sudo service mysql stop&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;por si la nueva versión da problemas con el arranque: &amp;nbsp; mantener la anterior con un rename de mysqld (/usr/sbin/mysqld -&amp;gt; /usr/sbin/mysqld-5.5) y&amp;nbsp;hacer una copia de la configuracion actual (my.cnf o my.ini)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;lanzar la actualizacion&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;windows: installer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Red Hat:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;copiar el instalador mysql-apt-config_0.3.2-1ubuntu12.04_all.deb (para lanzar el apt-get)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;añadir el fichero anterior al repo: sudo dpkg -i mysql-apt-config_0.3.2-1ubuntu12.04_all.deb&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;sudo apt-get install mysql-server&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;sudo apt-get install libmysqlclient18&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;CIUDADO!! en mi caso uso el python connector y en la version 2.0.2 daba un error de perdida de conexion y en la 2.0.3 no lo daba pero se quedaba colgado, por lo que he instalado el 1.2.3&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Mantener los parametros que han cambiado de valor por defecto para que funcione bien lo que teniamos, poniendo la siguiente configuracion en el fichero:&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;windows: my.ini en el directorio raiz&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;linux: my.cnf en el directorio raiz (/etc/mysql/my.cnf)&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;[mysqld]&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;innodb_file_per_table=0&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;innodb_checksum_algorithm=INNODB&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;binlog_checksum=NONE&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Lanzar la comprobación de las tablas y que se actualicen/corrijan si hace falta (shell&amp;gt; mysql_upgrade -u root -p)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;rearrancar el servicio / programa&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;windows: NET START MySQL / mysqld&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;linux: sudo service mysql start&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;h3 class=&quot;r&quot; style=&quot;margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis;&quot;&gt;
&lt;span style=&quot;color: #252525; line-height: 22.3999996185303px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;____________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #252525; line-height: 22.3999996185303px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Create a backup: mysqldump (shell&amp;gt; mysqldump --single-transaction --all-databases &amp;gt; bd_backup_20150115.sql;) or workbrench&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;linux: it is advisable to update the system: sudo apt-get update&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Stop the MySQL service (consider setting innodb_fast_shutdown to 0 before shutting down, in InnoDB the stop action takes more time and it is necessary a complete stop)&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;windows: NET STOP MySQL | C:\&amp;gt; &quot;C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin&quot; -u root shutdown&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;linux:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;check: sudo service mysql status&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;stop: sudo service mysql stop&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Safety actions: &amp;nbsp; keep a copy, with a rename, of mysqld (/usr/sbin/mysqld -&amp;gt; /usr/sbin/mysqld-5.5) an another of the current configuration (my.cnf o my.ini)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Launch the actualization&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;windows: installer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Red Hat:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;copy the instaler mysql-apt-config_0.3.2-1ubuntu12.04_all.deb (to launch the apt-get)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;adding the file to the repo: sudo dpkg -i mysql-apt-config_0.3.2-1ubuntu12.04_all.deb&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;sudo apt-get install mysql-server&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;sudo apt-get install libmysqlclient18&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;CAREFUL!! the python connector version 2.0.2 had a problem with &lt;u&gt;connection&lt;/u&gt;&amp;nbsp;and version 2.0.3 does not return the &quot;lost connection error&quot; but is frozen the thread, so I had to install the version 1.2.3&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Keeping the value of the paremeters that has change the default value in this version, so the following configuration must be added to configuration file:&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;windows: my.ini (mysql path or &quot;Program Data&quot; folder)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;linux: my.cnf (path /etc/mysql/my.cnf)&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;[mysqld]&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;innodb_file_per_table=0&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;innodb_checksum_algorithm=INNODB&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;binlog_checksum=NONE&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Checking problems and updating tables (shell&amp;gt; mysql_upgrade -u root -p)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Starting the service or program&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;windows: NET START MySQL / mysqld&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;linux: sudo service mysql start&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #252525; line-height: 22.3999996185303px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Refs:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;5.5 to 5.6: http://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;APT upgrade: http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/index.html#repo-qg-apt-upgrading&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;windows upgrade: http://dev.mysql.com/doc/refman/5.6/en/windows-upgrading.html&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/8235257742257049852/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2015/02/migracion-de-mysql-55-56-migration-from.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8235257742257049852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8235257742257049852'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2015/02/migracion-de-mysql-55-56-migration-from.html' title='Migración de MySQL 5.5 a 5.6/ Migration from MySQL 5.5 to 5.6'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-2362750451991152786</id><published>2014-06-24T10:30:00.002+02:00</published><updated>2014-09-30T13:42:31.804+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SSL keystore truststore two-way command comando"/><title type='text'>SSL, keystores, truststores and 2-way-SSL</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Con esta entrada pretendo aclarar estos conceptos y mostrar algún comando de interés.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;i style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;b&gt;SSL:&lt;/b&gt; &lt;/i&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;capa de conexión segura, nos permite intercambiar información de forma cifrada a&amp;nbsp;través&amp;nbsp;de la red,&amp;nbsp;dicho de otra forma, no visible para el resto.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;El&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;Java KeyStore&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;JKS&lt;/b&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;) es un repositorio de certificados de confianza (con sus claves privadas). El&amp;nbsp;propósito&amp;nbsp;final es proveer las credenciales.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;El &lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;TrustStore&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;JKS&lt;/b&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;) es un repositorio de certificados de confianza (con sus claves publicas). Este sirve, por ejemplo, para negociar la conexión SSL entre el cliente y el servidor. El&amp;nbsp;propósito&amp;nbsp;final es validar las&amp;nbsp;credenciales.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;b&gt;Two-Way SSL&lt;/b&gt;: es un método de&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;autenticación donde la aplicación cliente&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;verifica la identidad de la aplicación servidora y luego la servidora verifica la identidad del cliente.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Si hablamos de certificados, debemos aclarar el termino &lt;b&gt;CA&lt;/b&gt;&amp;nbsp;que se corresponde con una entidad certificadora (emite y revoca los certificados). Lo primero es confiar en la propia CA para lo que se suele recurrir a la instalación (añadir al truststore)&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;del certificado autofirmado de la CA.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Comandos&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Los principales comandos para el manejo de certificados los ofrece el kit keytool de Java.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;listar certificados en el keystore&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -list -v -keystore $keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;obtener los certificados del servidor&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;openssl s_client -connect $ip:$port -prexit -showcerts&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Caducidad de un certificado .pem&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;openssl x509 -in $cert -noout -enddate&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Información del certificado&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code class=&quot;js plain&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;openssl pkcs12 -&lt;/code&gt;&lt;code class=&quot;js keyword&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;in&lt;/code&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 14.300000190734863px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;code class=&quot;js plain&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;$cert.p12 -info&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Generar un certificado .pem desde un p.12&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small; line-height: 22.399999618530273px;&quot;&gt;openssl pkcs12 -in $cert.p12 -out $finalCert.pem&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Importar un certificado de una CA en un keystore&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -import -trustcacerts -alias root -file $cacert.crt -keystore $keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Generar un keystore con un certificado auto-firmado (para pruebas)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -genkey -keyalg RSA -alias $selfsignedAlias -keystore $keystore.jks&amp;nbsp;-storepass $password&amp;nbsp;-validity $numberDays -keysize 2048&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.3999996185303px;&quot;&gt;(otra opción)&amp;nbsp;openssl req -new -x509 -sha256 -newkey rsa:2048 -days 365 -nodes -out /path/cert.pem -keyout /path/cert.key&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 class=&quot;r&quot; style=&quot;margin: 0px; overflow: hidden; padding: 0px; text-overflow: ellipsis;&quot;&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;____________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;This blog post I&#39;ll try to explain several concepts and show the main commands about SSL.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;i style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;b&gt;SSL:&lt;/b&gt;&amp;nbsp;Secure Sockets Layer, it makes&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;color: #252525;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;i&gt;encryption communication, so our information will not be visible to another person or system.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;Java KeyStore&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;JKS&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;) is a repository of security certificates (with private keys). The final purpose is to provide the credentials.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;TrustStore&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;b style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;JKS&lt;/b&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;) is a repository of security certificates (with public keys). This is useful for establish a SSL connection between a client and a server.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;The final purpose is to validate the credentials.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;b&gt;Two-way SSL&lt;/b&gt;: is a authentication method where client application verify the identity of the server application and, after that, server verify the identity of the client.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;When we speak about certificates, we must considerer the &lt;b&gt;CA&lt;/b&gt;,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Certificate Authority (who releases and revokes the certificates). The first step is to trust in the CA so you must to install (add to truststore) the CA self-signed certificate.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;Commands&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #252525; line-height: 22.399999618530273px;&quot;&gt;The main commands to managament of certificates are offers by the keytool kit of Java.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Listing of certificates in the keystore&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -list -v -keystore $keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Getting all certificates from the server&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;openssl s_client -connect $ip:$port -prexit -showcerts&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small; line-height: 22.399999618530273px;&quot;&gt;Getting informatión about the certificate&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code class=&quot;js plain&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;openssl pkcs12 -&lt;/code&gt;&lt;code class=&quot;js keyword&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;in&lt;/code&gt;&lt;span style=&quot;color: #333333; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 14.300000190734863px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;code class=&quot;js plain&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: none !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 14.300000190734863px; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre; width: auto !important;&quot;&gt;$cert.p12 -info&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Expiration date of a certificate (.pem format)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;openssl x509 -in $cert -noout -enddate&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Generating a certificate with format .pem from format p.12&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;openssl pkcs12 -in $cert.p12 -out $finalCert.pem&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Import a root or intermediate CA certificate to an existing Java keystore&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -import -trustcacerts -alias root -file $cacert.crt -keystore $keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;Generate a keystore and self-signed certificate (for testing purposes)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;keytool -genkey -keyalg RSA -alias $selfsignedAlias -keystore $keystore.jks -storepass $password -validity $numberDays -keysize 2048&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.3999996185303px;&quot;&gt;(another option)&amp;nbsp;openssl req -new -x509 -sha256 -newkey rsa:2048 -days 365 -nodes -out /path/cert.pem -keyout /path/cert.key&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #252525; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22.399999618530273px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/2362750451991152786/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2014/06/ssl-keystores-truststores-and-2-way-ssl.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2362750451991152786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2362750451991152786'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2014/06/ssl-keystores-truststores-and-2-way-ssl.html' title='SSL, keystores, truststores and 2-way-SSL'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-5371989298786795941</id><published>2014-06-12T21:48:00.000+02:00</published><updated>2014-06-12T21:49:14.155+02:00</updated><title type='text'>Mejores ofertas / The best discounts</title><content type='html'>&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;Hola,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;He participado, junto con un compañero, en la creación de una web que permite obtener las mejores ofertas en Rakuten, el nuevo marketplace que viene pegando fuerte. Poco a poco iremos completando la funcionalidad ofrecida y, quizás en un futuro próximo, permitiendo comprar precios de distintos sitios para encontrar el producto mas interesante o que mas haya bajado de precio.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fff9ee;&quot;&gt;&lt;span style=&quot;color: #222222; font-family: Verdana, Geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;Querría compartirlo con vosotros, por si la página os pudiera ser&amp;nbsp;útil. El sitio se llama&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://locosporlasrebajas.com/&quot; style=&quot;background-color: #fff9ee; color: #888888; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://locosporlasrebajas.com/&lt;/a&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot; /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;Cualquier comentario sobre la misma será bien recibido.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot; /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;_______________________________________________&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot; /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;Hello,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;I have&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: Verdana, Geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;participated, with a friend, in the development of a new site with the best discounts of Rakuten, the new&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;&amp;nbsp;marketplace which arrives strong. As soon as posible, we will try to add new functionality and, probably, to compare prices from differents marketplaces so you could find a product with the better price.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;I want to share this site with you, perhaps it is useful for somebody. The website is:&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://locosporlasrebajas.com/&quot; style=&quot;background-color: #fff9ee; color: #888888; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://locosporlasrebajas.com/&lt;/a&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot; /&gt;
&lt;span style=&quot;background-color: #fff9ee; color: #222222; font-family: Verdana, Geneva, sans-serif; font-size: 15px; line-height: 21.559999465942383px;&quot;&gt;Every comment about the website will be&amp;nbsp;thankful.&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/5371989298786795941/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2014/06/hola-he-participado-junto-con-un.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/5371989298786795941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/5371989298786795941'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2014/06/hola-he-participado-junto-con-un.html' title='Mejores ofertas / The best discounts'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-2141171368196334038</id><published>2014-02-21T13:46:00.001+01:00</published><updated>2014-06-12T21:49:27.452+02:00</updated><title type='text'>Nueva web / New site</title><content type='html'>&lt;br /&gt;
Hola a todos, sé que este tema no está relacionado directamente con el desarrollo y la programación, pero a nivel personal he estado trabajando en un nuevo proyecto y me gustaría comentarlo.&lt;br /&gt;
&lt;br /&gt;
Se trata del desarrollo de una página web:&lt;br /&gt;
&lt;a href=&quot;http://articulosparaelcazador.com/&quot; target=&quot;_blank&quot;&gt;http://articulosparaelcazador.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cualquier comentario sobre la misma será bien recibido.&lt;br /&gt;
&lt;br /&gt;
_______________________________________________&lt;br /&gt;
&lt;br /&gt;
Hello, this&amp;nbsp;article is not directly related with development and programming, but I am involved in a personal proyect and I would like to tell to everyone.&lt;br /&gt;
&lt;br /&gt;
It is about a new website (now there is only Spanish version, sorry for inconveniences):&lt;br /&gt;
&lt;a href=&quot;http://articulosparaelcazador.com/&quot; target=&quot;_blank&quot;&gt;http://articulosparaelcazador.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Every comment about the website will be&amp;nbsp;thankful.&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/2141171368196334038/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2014/02/nueva-web.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2141171368196334038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2141171368196334038'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2014/02/nueva-web.html' title='Nueva web / New site'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-1585145746439651514</id><published>2014-02-04T17:49:00.003+01:00</published><updated>2014-02-04T17:49:45.160+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java versions versiones diferencias differences"/><title type='text'>Principales diferencias entre las distintas versiones de Java / Main differences between Java versions</title><content type='html'>&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #999999; font-size: x-large;&quot;&gt;&amp;nbsp;1.4&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;assert keyword&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; x = 1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; assert (x != 0);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fff2cc; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Regular expressions&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Pattern p = Pattern.compile(&quot;fish&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Matcher m = p.matcher(&quot;one fish, two fish, red fish, blue fish&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; while (m.find()) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;      /*&lt;/span&gt;...*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;IPv6 support&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; S&lt;/span&gt;e modificaron clases para soportar IPv6, como por ejemplo InetAddress, MulticastSocket, etc.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Logging&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; P&lt;/span&gt;roperties file with all configuration for logs&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;XML parser and XSLT processor &lt;/b&gt;(JAXP)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Transformer xmlTransformer = TransformerFactory.newInstance().newTransformer(&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new StreamSource(new StringReader(xsltResource))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;_______________________________________&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Document doc = parseFile(xmlFileName);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;   &lt;/span&gt;Node root = doc.getDocumentElement();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Integrated security and cryptography extensions &lt;/b&gt;(JCE, JSSE, JAAS)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;SSLServerSocketFactory sslSrvFact = (SSLServerSocketFactory) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SSLServerSocketFactory.getDefault();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; s =(SSLServerSocket)sslSrvFact.createServerSocket(port);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; SSLSocket c = (SSLSocket)s.accept();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; OutputStream out = c.getOutputStream();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; InputStream in = c.getInputStream();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Preferences API&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Preferences myPreferences = Preferences.systemRoot();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;   &lt;/span&gt;String value = (String) myPreferences.get(key, defaultValue);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #999999; font-size: x-large;&quot;&gt;&amp;nbsp;5 (1.5)&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Generics&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;List&amp;lt;String&amp;gt; l = new ArrayList&amp;lt;String&amp;gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; l.add(&quot;string&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Metadada&lt;/b&gt; (annotations)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;@Override&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; @MethodInfo(author = &#39;Pankaj&#39;, comments = &#39;Main method&#39;, date = &#39;Nov 17 2012&#39;, revision = 1)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; public String toString() {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return &#39;Overriden toString method&#39;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Enhanced for loop&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;for (String s: stringList) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(s);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Enumerations&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;public enum Currency {PENNY, NICKLE, DIME, QUARTER};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Varargs&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;void printReport(String header, int... numbers) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int num : numbers) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.out.println(num);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Concurrency utilities&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Classes like: Semaphore, Executors, SynchronousQueue&amp;lt;E&amp;gt;, ... in java.util.concurrent.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #999999; font-size: x-large;&quot;&gt;&amp;nbsp;6&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Scripting Language Support&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Improved Web Service support through JAX-WS&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;package javax.xml.ws. It&#39;s commonly used by axis2 and cxf.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;[performance improvements]&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Upgrade of JAXB to version 2.0&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Support for pluggable annotations&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #999999; font-size: x-large;&quot;&gt;&amp;nbsp;7&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19.200000762939453px;&quot;&gt;&lt;b style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;String in switch&lt;/b&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19.200000762939453px;&quot;&gt;&lt;b style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;Allowing underscores in numeric literals&lt;/b&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19.200000762939453px;&quot;&gt;&lt;b&gt;&lt;b style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;b&gt;Catching multiple exception types and rethrowing exceptions with improved type checking&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;b&gt;Lambda&lt;/b&gt;&amp;nbsp;&lt;/b&gt;(anonymous function)&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; Runnable r2 = () -&amp;gt; System.out.println(&quot;Hello world two!&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span 13px=&quot;&quot; 19.200000762939453px=&quot;&quot; font-family:=&quot;&quot; font-size:=&quot;&quot; line-height:=&quot;&quot; sans-serif=&quot;&quot;&gt;&lt;b&gt;Concurrency utilities&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.200000762939453px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.200000762939453px;&quot;&gt;&amp;nbsp; &amp;nbsp; static final int AVAILABLE_PROCESSORS = &amp;nbsp; Runtime.getRuntime().availableProcessors();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.200000762939453px;&quot;&gt;&amp;nbsp; &amp;nbsp; final ForkJoinPool pool = new ForkJoinPool(AVAILABLE_PROCESSORS);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19.200000762939453px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: #999999; font-size: x-large;&quot;&gt;&amp;nbsp;8&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Lambda expressions&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;printPersonsWithPredicate(&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;codeblock&quot; style=&quot;margin-left: 30px; margin-right: 30px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;    roster,
    p -&amp;gt; p.getGender() == Person.Sex.MALE
        &amp;amp;&amp;amp; p.getAge() &amp;gt;= 18
        &amp;amp;&amp;amp; p.getAge() &amp;lt;= 25
);&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Allows developers to embed JavaScript code&lt;/b&gt; (Project Nashorn)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Annotations on Java Types&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; List&amp;lt;@NonNull Object&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Date and Time API&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Package java.time&lt;/span&gt;&lt;ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/1585145746439651514/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2014/02/principales-diferencias-entre-las.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/1585145746439651514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/1585145746439651514'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2014/02/principales-diferencias-entre-las.html' title='Principales diferencias entre las distintas versiones de Java / Main differences between Java versions'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-2982097911452503623</id><published>2013-04-14T21:23:00.002+02:00</published><updated>2013-04-14T21:27:14.959+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SVN Eclipse plugin subversion subversive tigris"/><title type='text'>Eclipse: SVN plugins</title><content type='html'>&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Actualmente Eclipse cuenta con dos plugins principales para acceder a repositorios SVN:&amp;nbsp; Subversion de Tigris (probado el cliente v. 1.8.0 con core v.  1.8.4) y Subversive (probado el conector v. 2.2.2 con Team Provider v.  0.7.9).&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Estoy trabajando con ellos en diferentes entornos y como resultados de las pruebas puedo decir:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Subversive esta mejor preparado para trabajar con branches/tags&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Commits y descargas son similares&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris ofrece un enlace directo a &quot;&lt;i&gt;Update to HEAD&lt;/i&gt;&quot; mientras que con Subversive tienes que buscar esa versión en el &quot;&lt;i&gt;Update to Revision...&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris ofrece para el control, como herramientas adicionales, &quot;&lt;i&gt;Show Revision Properties&lt;/i&gt;&quot; y &quot;&lt;i&gt;Show Revision Graph&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&amp;nbsp;En  caso de conflicto se comportan de forma similar, salvando que Tigris no  tiene un &quot;&lt;i&gt;Overwrite and commit&lt;/i&gt;&quot; por lo que antes de poder hacer el  &quot;&lt;i&gt;Commit&lt;/i&gt;&quot; habría que lanzar un &quot;&lt;i&gt;Mark as merged&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;A la hora de hacer el commit, Tigris ofrece la posibilidad de hacer un &quot;&lt;i&gt;Compare With&lt;/i&gt;&quot; de los elementos modificados&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Ambos &lt;b&gt;funcionan mal para el borrado de elementos locales&lt;/b&gt; (si el borrado ha sido en remoto lo actualizan sin problemas), dando bastantes problemas, especialmente si lo que se pretende es rehacer algo que se ha eliminado sin hacer el commit de por medio:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Subversive no hace bien el commit pero tampoco da avisa con algún error&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris, además de indicar que el cambio es por un borrado,&amp;nbsp; si que da un error &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Eliminando  primero los ficheros y después las carpetas ya vacías, Tigris si que  acaba haciendo el commit (si no se ha intentando regenerar nada)  mientras que Subversive sigue sin subir los cambios &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;________________________________________________&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span &gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Nowadays&amp;nbsp; Eclipse has two main plugins when you work with SVN: Subversion of Tigris (I have tested the client v. 1.8.0 with core v.  1.8.4) and Subversive (I have tested the conector v. 2.2.2 with Team Provider v.  0.7.9).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span &gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;I am working with both of them in different IDEs and I have &lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;concluded the following:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Subversive is better prepared to work with branches/tags&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Commits and downloads work similar with both of them&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris offers a shortcut with &quot;&lt;i&gt;Update to HEAD&lt;/i&gt;&quot; while with Subversive you have to find this version with &quot;&lt;i&gt;Update to Revision...&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris offers additional tools for control like &quot;&lt;i&gt;Show Revision Properties&lt;/i&gt;&quot; and &quot;&lt;i&gt;Show Revision Graph&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&amp;nbsp;In case of conflict they work similar, but Tigris has not got &quot;&lt;i&gt;Overwrite and commit&lt;/i&gt;&quot; so you have to clic in &quot;&lt;i&gt;Mark as merged&lt;/i&gt;&quot; before do the &quot;&lt;i&gt;Commit&lt;/i&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;When make a commit, with Tigris you can use the option&amp;nbsp; &quot;&lt;i&gt;Compare With&lt;/i&gt;&quot; with the modified elements&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Both of them &lt;b&gt;do not work correctly when you delete local elements &lt;/b&gt;(if it has been in remote, they update the changes without any problem), giving problems, especialy when you try to redo something without do a commit before:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Subversive does not the commit but it also does not any warning&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Tigris, in addition to marking the change of type erasure, get an error&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span &gt;&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;When you firstly remove files and after that remove empty folders, Tigris does a correct commit (if you did not redo anything) while Subversive continued without do the changes &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/2982097911452503623/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2013/04/eclipse-svn-plugins.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2982097911452503623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/2982097911452503623'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2013/04/eclipse-svn-plugins.html' title='Eclipse: SVN plugins'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-8594502185582352999</id><published>2013-01-14T21:01:00.000+01:00</published><updated>2013-01-14T21:01:45.304+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache ESB bus Camel Fuse ServiceMix Synapse WSO2"/><title type='text'>ESB Apache </title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;En esta entrada pretendo hacer una pequeña aclaración entre las diferentes opciones de&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;buses (ESBs)&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;basadas en productos de Apache:&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://camel.apache.org/&quot; target=&quot;_blank&quot;&gt;Camel &lt;/a&gt;is un pequeño motor de enrutado y&amp;nbsp;mediación&amp;nbsp;que implementa&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enterprise Integration Patterns (patrones de integración, para canalizar las peticiones). Aunque Apache no lo considera como un bus, por el comportamiento puede considerarse similar a uno de ellos.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://servicemix.apache.org/&quot; target=&quot;_blank&quot;&gt;ServiceMix &lt;/a&gt;es un integrador de&amp;nbsp;código&amp;nbsp;abierto basado en OSGi que permite el empleo de forma sencilla de otros productos de Apache como&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: Verdana, sans-serif; line-height: 16px;&quot;&gt;Camel&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 16px;&quot;&gt;ActiveMQ, CXF, ODE, Karaf.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://fusesource.com/products/enterprise-servicemix/&quot; target=&quot;_blank&quot;&gt;Fuse&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;básicamente es un Apache SerivceMix que ofrece soporte.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Synapse:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 25px;&quot;&gt;Apache Synapse es un bus ligero de apache actualmente adandonado en pro de Apache ServiceMix.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://wso2.com/products/enterprise-service-bus/&quot; target=&quot;_blank&quot;&gt;WSO2&lt;/a&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;WSO2 Enterprise Service Bus es un bus gratuito, basado en Apache Synapse pero con varios años de evolución por su cuenta. Tiene un interfaz bastante amigable (aunque no tan potente como otros buses de pago) y cuenta con una serie de productos del mismo WSO2 para potenciarlo.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;________________________________________&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In this page, I try to exposed the differents ESBs based in Apache&#39;s products:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://camel.apache.org/&quot; target=&quot;_blank&quot;&gt;Camel&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana, arial, helvetica, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;&lt;a href=&quot;http://camel.apache.org/&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;&lt;/a&gt;i&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;s smart routing and mediation engine which implements the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Enterprise Integration Patterns. This is not really an ESB although&amp;nbsp;&lt;/span&gt;can behave similar as one of them&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://servicemix.apache.org/&quot; target=&quot;_blank&quot;&gt;ServiceMix &lt;/a&gt;is&amp;nbsp;&lt;span style=&quot;line-height: 16px;&quot;&gt;open-source integration container that&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;provides a complete, enterprise ready ESB exclusively powered by OSGi.&amp;nbsp;It unifies other products of Apache as&amp;nbsp;&lt;b&gt;Camel&lt;/b&gt;,&amp;nbsp;ActiveMQ, CXF, ODE, Karaf.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://fusesource.com/products/enterprise-servicemix/&quot; target=&quot;_blank&quot;&gt;Fuse&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;is basically Apache SerivceMix with support.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Synapse:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Apache Synapse is a lightweight&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Enterprise Service Bus&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Buenard, serif; line-height: 25px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;currently abandoned by Apache&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;in favor of apache Servicemix.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://wso2.com/products/enterprise-service-bus/&quot; target=&quot;_blank&quot;&gt;WSO2&lt;/a&gt;: WSO2 Enterprise Service Bus is a free ESB originally based on Apache Synapse but with several years of evolution&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;on its own. It has a very friendly interface&amp;nbsp;(although not as powerful as other buses charge) and has several products of the same suite of WSO2&amp;nbsp;that add value&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/8594502185582352999/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2013/01/esb-apache.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8594502185582352999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8594502185582352999'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2013/01/esb-apache.html' title='ESB Apache '/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-8516160977014325850</id><published>2012-06-28T17:36:00.001+02:00</published><updated>2012-06-28T17:36:20.941+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="formateador"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><category scheme="http://www.blogger.com/atom/ns#" term="validador"/><category scheme="http://www.blogger.com/atom/ns#" term="validator formatter"/><category scheme="http://www.blogger.com/atom/ns#" term="verificador"/><category scheme="http://www.blogger.com/atom/ns#" term="verificator"/><title type='text'>Validar JSON / Validate JSON</title><content type='html'>Uno de los problemas que puede darnos quebraderos de cabeza, en las invocaciones a servicios REST, es la malformación del body cuando trabajamos con JSON.&lt;br /&gt;
&lt;br /&gt;
La mayoría de editores de texto no valida este formato y, cuando el mensaje es muy extenso, el menor cambio, puedo producir un body incorrecto.&lt;br /&gt;
&lt;br /&gt;
Para evitar esto os recomiendo emplear un &lt;b&gt;verificador on-line&lt;/b&gt;. No requieren instalación por su sencillez y nos sacaran rápidamente de dudas. Tras probar varios de estos programas, os sugiero el siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://jsonformatter.curiousconcept.com/&quot; target=&quot;_blank&quot;&gt;jsonformatter&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Es &lt;b&gt;gratuito&lt;/b&gt;, muestra bien donde esta el fallo y además permite varias opciones para formatear el texto.&lt;br /&gt;
&lt;br /&gt;
_____________________________________________&lt;br /&gt;
&lt;br /&gt;
One of the most common problem when you invoke to REST services is possibility of malformed body when use JSON.&lt;br /&gt;
&lt;br /&gt;
Most of text editors don&#39;t validate this format and, when the mensage is longer, a little change can have any error.&lt;br /&gt;
&lt;br /&gt;
To avoid this I suggest use a validator on-line. It doesn&#39;t required any installation and solves quickly the error. After test several of these programs I recommend the following next:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://jsonformatter.curiousconcept.com/&quot; target=&quot;_blank&quot;&gt;jsonformatter&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It&#39;s free, shows to you very well where the fail is and also has several options for formatting the text.&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/8516160977014325850/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2012/06/validar-json-validate-json.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8516160977014325850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/8516160977014325850'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2012/06/validar-json-validate-json.html' title='Validar JSON / Validate JSON'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-9205239380870985138</id><published>2012-04-27T16:29:00.002+02:00</published><updated>2012-04-27T16:31:08.552+02:00</updated><title type='text'>Enviar una petición POST / Send a POST</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
Algo sencillo, y muchas veces necesario, es el envío de una petición HTTP, por ejemplo, para comprobar el estado de un servicio o probar de forma&amp;nbsp;rápida&amp;nbsp;nuestros servicios REST. Existen distintas posibilidades para enviar una petición HTTP de forma rápida, vamos a ver algunos ejemplos para el envío de un POST.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;CURL&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Instalado en linux, un ejemplo de su uso sería:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;curl --digest -v -X POST -T post.xml -x http://endpoint_host:port/path&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
donde post.xml es un fichero que contiene el body que queremos mandar.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;WGET&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
También instalado en linux, un ejemplo de su uso sería:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;wget&amp;nbsp;
http://endpoint_host:port/path&amp;nbsp;&amp;nbsp;--post-file=
post.xml&amp;nbsp;&amp;nbsp;–d&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
No os&amp;nbsp;dejéis&amp;nbsp;engañar por su apariencia simplona, ambos comandos son muy potentes y tienen muchas opciones de&amp;nbsp;configuración (uso de proxies, certificados, etc.), tan solo hay que echar un ojo a la correspondiente ayuda.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Alguno ya se estaría preocupando al parecer esto una entrada para linuxeros, pero la verdad que lo de windows no son los comandos. En este caso me decanto por una extensión que tiene firefox llamada &quot;Poster&quot;
&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Poster&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Aquí&amp;nbsp;ya contamos con una interfaz gráfica y que nos ofrece lo básico para realizar cualquier tipo de petición.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Adjunto una captura de pantalla que podéis ver en la figura 1.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwq4IMl1VMWGTV8IeTXxjjxGnHAgbMoAhySO6Uo36ENk1vp0vpnmhYFhduDsqp6Lgl1Ko_85yRPE_3AYYqlqbgf7AiL_MApirmN2El9g6Wr8JSyfS09zVtO69bzH3Ada99a-xCpkK2xLsF/s1600/Captura.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwq4IMl1VMWGTV8IeTXxjjxGnHAgbMoAhySO6Uo36ENk1vp0vpnmhYFhduDsqp6Lgl1Ko_85yRPE_3AYYqlqbgf7AiL_MApirmN2El9g6Wr8JSyfS09zVtO69bzH3Ada99a-xCpkK2xLsF/s320/Captura.PNG&quot; title=&quot;Figura 1: Poster&quot; width=&quot;296&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Figura 1: Poster&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
__________________________________&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Something simple but necessary is send a HTTP request, for example, it&#39;s used for to check the state of one service or to test our REST services. There are several options, let&#39;s go to see three of them sending a POST request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;CURL&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
It is installed in Linux, an example could be:&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;curl --digest -v -X POST -T post.xml -x http://endpoint_host:port/path&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
where post.xml is a file that contains the file to send.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;WGET&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
It also is installed in Linux, an example could be:
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;wget&amp;nbsp;&amp;nbsp;http://endpoint_host:port/path&amp;nbsp;&amp;nbsp;--post-file=&amp;nbsp;post.xml&amp;nbsp;&amp;nbsp;–d&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Both of them are very strong commands, you can see in their helps.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Poster&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
In Windows I prefer a firefox extensions called Poster. It has all necessary to do a basic HTTP request and it has graphical interface.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
I&#39;ve attached one image, see &#39;figura 1&#39;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/9205239380870985138/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2012/04/enviar-una-peticion-post-send-post.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/9205239380870985138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/9205239380870985138'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2012/04/enviar-una-peticion-post-send-post.html' title='Enviar una petición POST / Send a POST'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwq4IMl1VMWGTV8IeTXxjjxGnHAgbMoAhySO6Uo36ENk1vp0vpnmhYFhduDsqp6Lgl1Ko_85yRPE_3AYYqlqbgf7AiL_MApirmN2El9g6Wr8JSyfS09zVtO69bzH3Ada99a-xCpkK2xLsF/s72-c/Captura.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-3754964621680590387</id><published>2012-01-05T12:36:00.002+01:00</published><updated>2012-01-05T12:38:43.983+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WebLogic Certificado Confianza SSL"/><title type='text'>WebLogic, Configurar certificado de confianza</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Cuando invocamos por https a un endpoint desde una aplicación desplegada en un WebLogic, este puede rechazar una respuesta correcta por no confiar en el certificado.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Para solventar esto deberemos descargarnos el certificado expuesto por el endpoint (se puede hacer accediendo con cualquier navegador y pulsar la parte de https para ver/descargar dicho certificado) y añadirlo al almacen de claves que emplea el WebLogic. Esto se puede realizar lanzando los comandos desde el directorio &quot;&lt;i&gt;C:\bea\wlserver_10.3\server\lib&lt;/i&gt;&quot;:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;keytool -import -trustcacerts -alias &quot;NombreReconocible&quot; -file&lt;br /&gt;
C:\ubicacion\nombreCertificadoDescargado.crt -storepass&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &quot;DemoTrustKeyStorePassPhrase&quot; -keystore DemoTrust.jks&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
keytool -import -trustcacerts -alias &quot;NombreReconocible&quot; -file&lt;br /&gt;
C:\ubicacion\nombreCertificadoDescargado.crt -storepass&lt;br /&gt;
&quot;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DemoIdentityKeyStorePassPhrase&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; -keystore DemoIdentity.jks&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Tras este paso conviene reiniciar el servidor de aplicaciones para que coja la nueva configuración. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
______________________________________________&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;When we&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;invoked&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;by https&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;an&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;endpoint&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;of &lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;an application deployed&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;in a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;WebLogic&lt;/span&gt;, it can &lt;span class=&quot;hps&quot;&gt;reject a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;correct answer&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;for not trusting&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the certificate.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;hps&quot;&gt;To solve&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;this we will&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;download the certificate&lt;/span&gt; used in&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;endpoint (&lt;/span&gt;it can be &lt;span class=&quot;hps&quot;&gt;accessed&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;with any browser&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and press&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;https&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;area to view/download&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the certificate&lt;/span&gt;) and &lt;span class=&quot;hps&quot;&gt;add it to the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;keystore&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;used by&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;WebLogic.&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;This can be done&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;by launching&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;this commands from&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;the directory &quot;&lt;/span&gt;C: &lt;span class=&quot;hps&quot;&gt;\ bea&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;\&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;wlserver_10.3&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;\&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;server \&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;lib&lt;/span&gt;&lt;span class=&quot;&quot;&gt;&quot;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;keytool -import -trustcacerts -alias &quot;NombreReconocible&quot; -file&lt;br /&gt;
C:\ubicacion\nombreCertificadoDescargado.crt -storepass&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &quot;DemoTrustKeyStorePassPhrase&quot; -keystore DemoTrust.jks&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
keytool -import -trustcacerts -alias &quot;NombreReconocible&quot; -file&lt;br /&gt;
C:\ubicacion\nombreCertificadoDescargado.crt -storepass&lt;br /&gt;
&quot;&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DemoIdentityKeyStorePassPhrase&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot; -keystore DemoIdentity.jks&lt;/span&gt;&lt;/div&gt;&lt;div id=&quot;:hp&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;After this step&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;you should&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;restart&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the application server&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;take the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;new configuration.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/3754964621680590387/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2012/01/weblogic-configurar-certificado.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3754964621680590387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3754964621680590387'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2012/01/weblogic-configurar-certificado.html' title='WebLogic, Configurar certificado de confianza'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-3356969982564795821</id><published>2011-07-02T18:10:00.000+02:00</published><updated>2011-07-02T18:10:49.679+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WSO2 ESB mediator mediador"/><title type='text'>WSO2 ESB Mediator</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Vamos a ver como deberíamos crear un mediador en el ESB de WSO2. Una vez creado, generaremos el .jar que incluiremos en el classpath del ESB y ya podremos invocarlo desde la sequence.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;En este ejemplo concreto se usará para llamar finalmente a una función propia que incluya lógica de validación de la petición. Lo interesante es ver como acceder al body, para manejarlo según nuestro interés.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;_________________________________________________&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;Let&#39;s see how&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;we should create&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;a mediator in the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;WSO2&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;ESB&lt;/span&gt;&lt;span title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;Once created,&lt;/span&gt; we must &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;generate the&lt;/span&gt;&lt;span title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt; .Jar&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;that will be included&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;in the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;ESB&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;classpath&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;and you&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;can&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;invoke it from&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;sequence.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;This particular example&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;is&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;finally&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;used to&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;call&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;a specific function&lt;/span&gt;&lt;span title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;, including&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;logic&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;to validate the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;request.&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;What&lt;/span&gt;&lt;span title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;&#39;s interesting is&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;how to access the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;body&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;handle&lt;/span&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;ESB v3.0.1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;Java 1.6&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;import java.io.InputStream;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;br /&gt;
import java.io.ByteArrayInputStream;&lt;br /&gt;
import java.util.TreeMap;&lt;br /&gt;
import org.apache.axis2.addressing.EndpointReference;&lt;br /&gt;
import org.apache.axis2.Constants;&lt;br /&gt;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;&lt;br /&gt;
import org.apache.axiom.om.OMElement;&lt;br /&gt;
import org.apache.axiom.soap.SOAPBody;&lt;br /&gt;
import org.apache.axiom.soap.SOAPEnvelope;&lt;br /&gt;
import org.apache.commons.logging.Log;&lt;br /&gt;
import org.apache.commons.logging.LogFactory;&lt;br /&gt;
import org.apache.synapse.mediators.AbstractMediator;&lt;br /&gt;
import org.apache.synapse.core.axis2.Axis2MessageContext;&lt;br /&gt;
import org.apache.synapse.core.SynapseEnvironment;&lt;br /&gt;
import org.apache.synapse.ManagedLifecycle;&lt;br /&gt;
import org.apache.synapse.MessageContext;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class ValidatorMediator extends AbstractMediator&amp;nbsp; implements ManagedLifecycle {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private static final Log log = LogFactory.getLog(ValidatorMediator.class);&lt;br /&gt;
&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; //@Override&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public final boolean mediate(MessageContext messageContext) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; EndpointReference epr=messageContext.getTo();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String to = epr.getAddress(); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; log.info(&quot;Start ValidatorMediator: &quot;+messageContext);&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;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; org.apache.axis2.context.MessageContext axis2MessageCtx =  ((Axis2MessageContext) messageContext).getAxis2MessageContext();&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;&amp;nbsp;&amp;nbsp; String httpmethod=(String)axis2MessageCtx.getProperty(Constants.Configuration.HTTP_METHOD);&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; TreeMap&amp;lt;String,String&amp;gt; requestHeaders=null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String user=null; //usuario que solicita la operacion&lt;br /&gt;
&amp;nbsp;&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;&amp;nbsp;&amp;nbsp; //@SuppressWarnings(&quot;unchecked&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; requestHeaders =  (TreeMap&amp;lt;String,String&amp;gt;)axis2MessageCtx.getProperty(org.apache.axis2.context.MessageContext.TRANSPORT_HEADERS);&lt;br /&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; &amp;nbsp;&amp;nbsp;&amp;nbsp; java.util.Set&amp;lt;String&amp;gt; keys=requestHeaders.keySet();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String oauth=(String)requestHeaders.get(ConstantsValidator.oauth_header);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; user=UtilVal.getCabeceraValue(ConstantsValidator.oauth_requester, oauth);&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; }catch(Exception e)&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; &amp;nbsp;&amp;nbsp;&amp;nbsp; log.error(&quot;ValidatorMediator, fallo al obtener el usuario que realiza la solicitud:&quot;+e);&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;&amp;nbsp;&amp;nbsp; String body_req =null;&lt;br /&gt;
&amp;nbsp;&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;&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; SOAPBody body = messageContext.getEnvelope().getBody();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; OMElement firstElement = body.getFirstElement();&lt;br /&gt;
&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; if(firstElement!=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;&amp;nbsp; body_req = firstElement.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; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }catch (Exception e){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; log.error(&quot;Sin cuerpo en mensaje (o no accesible)&quot;);&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;&amp;nbsp;&amp;nbsp; ResVal rv=invocarVerificacion(body_req,to,httpmethod,user);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; log.error(&quot;INFO - resultado=&quot;+rv.toString());&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; if(!rv.isOk()){&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; messageContext.setProperty(&quot;estado&quot;,&quot;failRESTBody&quot;);&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; messageContext.setProperty(&quot;estadoCode&quot;,rv.getStatus());&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; try{&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; InputStream in = new ByteArrayInputStream(rv.getBody().getBytes());&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; StAXOMBuilder nodeBuilder=new StAXOMBuilder(in);&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; SOAPEnvelope env=messageContext.getEnvelope();&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; if(env.getBody().getFirstElement()!=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;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; env.getBody().getFirstElement().discard();&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; env.getBody().addChild(nodeBuilder.getDocumentElement()); &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; messageContext.setEnvelope(env);&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; }catch(Exception e)&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; {&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; log.error(&quot;ValidatorMediator, fallo al asignar el mensaje de error:&quot;+e);&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; }&lt;br /&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; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&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 void destroy() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated method stub&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &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 void init(SynapseEnvironment arg0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated method stub&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* validaciones&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* @param body_req cuerpo de la peticion&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* @param to direccion de destino&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* @param httpmethod metodo HTTP invocado&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* @param user usuario/aplicacion que realiza la solicitud&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* @return resultado de la logica de validacion/simulacion&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static ResVal invocarVerificacion(String body_req, String to, String httpmethod, String user)&lt;br /&gt;
&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; }&lt;br /&gt;
&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/3356969982564795821/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/07/wso2-esb-mediator.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3356969982564795821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3356969982564795821'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/07/wso2-esb-mediator.html' title='WSO2 ESB Mediator'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-3273001225437218649</id><published>2011-06-21T17:35:00.002+02:00</published><updated>2011-06-21T17:41:58.438+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo caballo Horse Algorithm"/><title type='text'>Algoritmo del caballo / Horse Algorithm</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&lt;span&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;#define N 8&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;void rastreo (int (* pt)[N],int *pn,int fila,int columna,int *fin);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;int main (void)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int tablero[N][N],i,j,num=1,fil=0,col=0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int* pT[N];&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int *pn;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pn=&amp;amp;n;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pT[0]=&amp;amp;tablero[0][0];&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;N;i++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=0;j&amp;lt;N;j++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tablero[i][j]=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;*** programa para la simulacion de un caballo ***\n&quot;);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rastreo(pT,pn,fil,col,&amp;amp;0);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;void rastreo (int (* pt)[N],int *pn,int fila,int columna,int *fin)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a,b,intento=0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; intento++;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; switch(intento)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 1: { a=fila-2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna-1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 2: { a=fila-2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna+1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 3: { a=fila-1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna+2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 4: { a=fila+1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna+2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 5: { a=fila+2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna+1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 6: { a=fila+2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna-1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 7: { a=fila+2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna-2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; case 8: { a=fila-1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; b=columna-2;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; break;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(a&amp;gt;=0&amp;amp;&amp;amp;a&amp;lt;N&amp;amp;&amp;amp;b&amp;gt;=0&amp;amp;&amp;amp;b&amp;lt;N)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(pt[a][b]=0)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; ((*pt)[a]+b)=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; *pn++;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; if(*pn&amp;lt;N*N)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; rastreo(pt,pn,a,b,fin);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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(!*fin)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; *pn--;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; ((*pt)[a]+b)=0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; else&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; *fin=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&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; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }while(!*fin);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;} &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #fff2cc;&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/3273001225437218649/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/06/algoritmo-del-caballo-horse-algorithm.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3273001225437218649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/3273001225437218649'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/06/algoritmo-del-caballo-horse-algorithm.html' title='Algoritmo del caballo / Horse Algorithm'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-5569285057062035362</id><published>2011-06-17T14:21:00.003+02:00</published><updated>2011-06-17T14:27:08.762+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apigee test API"/><title type='text'>Apigee</title><content type='html'>Apigee proporciona una forma rápida de ofrecer tus APIs para realizar pruebas con ellas. esta pensado para servicios REST y puedes generar una interfaz para lanzar peticiones y compartirlas de forma rápida&lt;br /&gt;
&lt;br /&gt;
________________________________________&lt;br /&gt;
&lt;br /&gt;
Apigee provides a quick way to offer your APIs to test them.It is designed for REST services and can generate an interface to launch requests and share them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://apigee.com/jchernandez/embed/console/jcahigal&quot; width=&quot;100%&quot; height=&quot;600&quot;&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/5569285057062035362/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/06/apigee.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/5569285057062035362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/5569285057062035362'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/06/apigee.html' title='Apigee'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-4742371035744983598</id><published>2011-06-06T21:11:00.003+02:00</published><updated>2011-06-08T15:10:59.652+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algoritmo reinas Queens Algorithm"/><title type='text'>Algoritmo de las reinas / Queens Algorithm</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Implementado en C&amp;nbsp; /&amp;nbsp; &lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;implemented&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;C&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;void rastrea (int i, int *q,int fila[8],int diagonal1[15],int diagonal2[15],int columna[8]);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;int main (void)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i,q,fila[8],diagonal1[15],diagonal2[15],columna[8],k;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\b R E I N A S (\&quot;no os comais\&quot;) \n&quot;);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; fila[i]=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;15;i++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; diagonal1[i]=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;15;i++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; diagonal2[i]=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rastrea(0,&amp;amp;q,fila,diagonal1,diagonal2,columna);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(k=0;k&amp;lt;8;k++)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t fila %d, columna %d\n&quot;,k,columna[k]);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;void rastrea (int i, int *q,int fila[8],int diagonal1[15],int diagonal2[15],int columna[8])&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int j=-1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; j=j+1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; *q=0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(fila[j]&amp;amp;&amp;amp;diagonal1[i+j]&amp;amp;&amp;amp;diagonal2[i-j+7])&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; columna[i]=j;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; fila[j]=diagonal1[i+j]=diagonal2[i-j+7]=0;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(i&amp;lt;7)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; rastrea(i+1,q,fila,diagonal1,diagonal2,columna);&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; if(!*q)&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; fila[j]=diagonal1[i+j]=diagonal2[i-j+7]=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&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; *q=1;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }while((!*q)&amp;amp;&amp;amp;(j&amp;lt;7));&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/4742371035744983598/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/06/algoritmo-de-las-reinas-queens.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/4742371035744983598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/4742371035744983598'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/06/algoritmo-de-las-reinas-queens.html' title='Algoritmo de las reinas / Queens Algorithm'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-1975250564071837226</id><published>2011-06-01T19:15:00.001+02:00</published><updated>2011-06-08T15:10:27.809+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="poll php framework"/><title type='text'>Poll: PHP framework</title><content type='html'>&lt;script language=&quot;JavaScript&quot; src=&quot;http://w.sharethis.com/button/buttons.js&quot;&gt;
&lt;/script&gt;&lt;script language=&quot;JavaScript&quot;&gt;
stLight.options({ publisher:&#39;18355ba4-a04c-4a33-a76f-847aadfc0f80&#39;, onhover:false });
&lt;/script&gt;&lt;script language=&quot;JavaScript&quot; src=&quot;http://www.micropoll.com/a/MicroPoll?id=423254&quot;&gt;
&lt;/script&gt;&lt;noscript&gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;a href=&quot;http://www.micropoll.com/a/mpview/1076573-423254&quot;&amp;amp;gt;Click Here for Poll&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;a href=&quot;http://www.questionpro.com&quot; title=&quot;online survey&quot;&amp;amp;gt;Online Survey&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;a href=&quot;http://www.surveyanalytics.com/conjoint&quot; title=&quot;Conjoint Analysis&quot;&amp;amp;gt;Conjoint Analysis&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt; | &amp;amp;lt;a href=&quot;http://www.micropoll.com&quot; title=&quot;Polls&quot;&amp;amp;gt;Polls&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt; | &amp;amp;lt;a href=&quot;http://www.surveyswipe.com&quot; title=&quot;mobile surveys&quot;&amp;amp;gt;Mobile Surveys&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; | &amp;amp;lt;a href=&quot;http://www.ideascale.com/feedback-tab.html&quot; title=&quot;Feedback Tab&quot;&amp;amp;gt;Feedback Tab&amp;amp;lt;/a&amp;amp;gt;&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;a href=&quot;http://www.micropoll.com/a/MicroPoll?mode=html&amp;amp;amp;id=423254&quot;&amp;amp;gt;View MicroPoll&amp;amp;lt;/A&amp;amp;gt;&amp;amp;lt;/div&amp;amp;gt;&lt;/noscript&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/1975250564071837226/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/06/poll-php-framework.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/1975250564071837226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/1975250564071837226'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/06/poll-php-framework.html' title='Poll: PHP framework'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-744558585396107117</id><published>2011-05-26T23:27:00.003+02:00</published><updated>2011-06-06T21:28:36.859+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WSO2 ESB URL Encoded Builder"/><title type='text'>WSO2 ESB URLEncodedBuilder</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;WSO2 ESB v3.0.1&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Java 1.6&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Generar y importar un .jar&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;__________________________&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Generate and import a .jar&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import java.io.InputStream;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axis2.AxisFault;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axis2.addressing.EndpointReference;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axis2.builder.Builder;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axis2.context.MessageContext;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axiom.om.OMAbstractFactory;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axiom.om.OMElement;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axiom.soap.SOAPBody;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axiom.soap.SOAPEnvelope;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.axiom.soap.SOAPFactory;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.commons.logging.Log;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import org.apache.commons.logging.LogFactory;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;import javax.xml.namespace.QName;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;* @author Juan Carlos Hdez.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;* UrlencodedBuilder: adaptador de peticiones con formato application/x-www-form-urlencoded al ESB de WSO2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; formatted requests adapter application / x-www-form-urlencoded the WSO2 ESB&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;public class UrlencodedBuilder implements Builder{&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*&amp;nbsp; sgapValidator&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static final String tag = &quot;_urlencoded&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return Returns the document element.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public OMElement processDocument(InputStream inputStream, String contentType,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; MessageContext messageContext)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throws AxisFault {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOAPFactory soapFactory = OMAbstractFactory.getSOAP11Factory();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOAPEnvelope soapEnvelope = soapFactory.getDefaultEnvelope();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (inputStream != null) {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; java.io.Reader buff = new java.io.BufferedReader(new java.io.InputStreamReader(inputStream, &quot;UTF-8&quot;));&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; java.io.Writer writer = new java.io.StringWriter();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; int n;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; char[] buffer = new char[1024];&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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;while ((n = buff.read(buffer)) != -1) {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; writer.write(buffer, 0, n);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; String bodyReq=writer.toString(); &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; soapEnvelope=genSOAPEnvelope(soapFactory,bodyReq);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; messageContext.setProperty(org.apache.axis2.Constants.Configuration.MESSAGE_TYPE,&quot;application/xml&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (Exception e) {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&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; //error(&quot;UrlencodedBuilder Error generating body:&quot;+e);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //error(&quot;UrlencodedBuilder InputStreamRequest null&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return soapEnvelope;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /**&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Funcion interna para generar el body del envelope como consideremos oportuno&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;* Internal function to generate the body of the envelope as it sees fit&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param soapFactory&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param messageContext&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @param bodyReq&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * @return&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private SOAPEnvelope genSOAPEnvelope(SOAPFactory soapFactory,String bodyReq)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SOAPEnvelope soapEnvelope = soapFactory.getDefaultEnvelope();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOAPBody body = soapEnvelope.getBody();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OMElement bodyFirstChild = soapFactory.createOMElement(new QName(tag), body);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bodyFirstChild.setText(bodyReq);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return soapEnvelope;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/744558585396107117/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/05/wso2-esb-url-encoded-builder.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/744558585396107117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/744558585396107117'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/05/wso2-esb-url-encoded-builder.html' title='WSO2 ESB URLEncodedBuilder'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8070264041251873340.post-7501491992667851329</id><published>2011-05-25T20:55:00.005+02:00</published><updated>2011-06-06T21:29:16.575+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IA"/><category scheme="http://www.blogger.com/atom/ns#" term="PROLOG"/><category scheme="http://www.blogger.com/atom/ns#" term="SUDOKU"/><title type='text'>Sudokus con PROLOG</title><content type='html'>&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Un algoritmo implementado en prolog capaz de resolver Sudokus a partir de una lista valores de entrada, con valor de ‘0’ en aquellas casillas donde este por determinar el valor correcto.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;__________________________&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot; style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;An algorithm&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;implemented in&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;Prolog&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;can&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;solve&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;Sudokus&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;a list&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;of input values&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;​​,&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;with a value of&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;&#39;0&lt;/span&gt; &lt;span class=&quot;hps atn&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;those&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;fields&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;where this&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;to determine&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;correct value&lt;/span&gt;&lt;span class=&quot;&quot; title=&quot;Haz clic para obtener otras posibles traducciones&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;/*****************************************************************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Project:&amp;nbsp; PRACSUDOKU&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;FileName: PRACSUDOKU.PRO&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Purpose: Practica para IA&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Written by: Juan Carlos Hernández González &amp;amp; David Álvarez Oquina with Visual Prolog&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Comments: Resolución de Sudokus&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;******************************************************************************/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;domains&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;numero=integer&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;pos=integer&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fila=integer*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Sudoku=integer*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;predicates&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(integer)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;pertenece(numero,fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;diferente(fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;buscavacia(fila,integer,integer)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ponervalor(fila,pos,integer,fila) &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraervalor(pos,fila,integer)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;pasaracoordenadas(integer,integer,integer)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraerfila(fila,integer,fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraercolumna(fila,integer,fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraercuadro(fila,integer,fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;compruebavalorvalido(fila,integer,integer)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;escribe(fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fin(fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;resuelve(fila)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;clauses&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(1).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(2).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(3).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(4).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(5).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(6).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(7).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(8).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;valorok(9).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Si el numero pertenece a la lista*/ &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;pertenece(Numero,[CABEZA|COLA]):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Numero=CABEZA;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;pertenece(Numero,COLA).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Si todos los elementos de la lista son diferentes entre si*/ &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;diferente([CABEZA|COLA]):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;not(pertenece(CABEZA,COLA)),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;diferente(COLA).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;diferente([]).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*a partir de una posicion global del sudoku, nos retorna su fila y su columna*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;pasaracoordenadas(Pos,Fil,Col):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Fil= Pos div 9,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Col= Pos mod 9.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Busca el primer elemento vacio (=0) de la lista.Contador debe ser inicialmente 0*/ &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;buscavacia([Cab|Cola],Contador,Pos):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Cab=0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Pos=Contador;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Contador2=Contador+1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;buscavacia(Cola,Contador2,Pos),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Cab&amp;lt;&amp;gt;0.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Extrae el valor de la posicion dada de la lista*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraervalor(Pos,[Cab|Cola],Valor):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Pos=0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Valor=Cab;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Temp=Pos-1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(Temp,Cola,Valor).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Pone el valor en la posicion indicada y retorna el SodokuFinal*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ponervalor([],Pos,Val,[]).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ponervalor([Cab|Cola],Pos,Val,[Cabf|Colaf]):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Pos=0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Pos2=Pos-1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Cabf=Val,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; ponervalor(Cola,Pos2,Val,Colaf);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Pos&amp;lt;&amp;gt;0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Cabf=Cab, &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; Pos2=Pos-1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; ponervalor(Cola,Pos2,Val,Colaf).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Extrae una fila del Sudoku en Fila. Contador debe ser inicialmente 0 */&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraerfila(Sudoku,Fil,Fila):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V1=Fil*9,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V1,Sudoku,C1),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V2=Fil*9+1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V2,Sudoku,C2), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V3=Fil*9+2,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V3,Sudoku,C3),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V4=Fil*9+3,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V4,Sudoku,C4),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V5=Fil*9+4,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V5,Sudoku,C5),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V6=Fil*9+5,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V6,Sudoku,C6),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V7=Fil*9+6,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V7,Sudoku,C7), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V8=Fil*9+7,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V8,Sudoku,C8),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V9=Fil*9+8,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V9,Sudoku,C9),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Fila=[C1,C2,C3,C4,C5,C6,C7,C8,C9].&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Extrae una columna del Sudoku en Colum.Contador debe ser inicialmente 0*/ &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraercolumna(Sudoku,Col,Colum):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V1=Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V1,Sudoku,C1),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V2=9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V2,Sudoku,C2),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V3=2*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V3,Sudoku,C3), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V4=3*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V4,Sudoku,C4),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V5=4*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V5,Sudoku,C5),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V6=5*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V6,Sudoku,C6),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V7=6*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V7,Sudoku,C7),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V8=7*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V8,Sudoku,C8), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V9=8*9+Col,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V9,Sudoku,C9),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Colum=[C1,C2,C3,C4,C5,C6,C7,C8,C9].&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Optiene los 9 valores del sudoku en Cuadro,considerando los numcuadro:0,1,2,3,4,5,6,7,8*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;extraercuadro(Sudoku,Numcuadro,Cuadro):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V1=3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V1,Sudoku,C1),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V2=1+3*(Numcuadro mod 3) + (Numcuadro div 3)*27, &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V2,Sudoku,C2),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V3=2+3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V3,Sudoku,C3),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V4=9+3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V4,Sudoku,C4),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V5=10+3*(Numcuadro mod 3) + (Numcuadro div 3)*27, &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V5,Sudoku,C5),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V6=11+3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V6,Sudoku,C6),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V7=18+3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V7,Sudoku,C7),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V8=19+3*(Numcuadro mod 3) + (Numcuadro div 3)*27, &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V8,Sudoku,C8),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;V9=20+3*(Numcuadro mod 3) + (Numcuadro div 3)*27,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraervalor(V9,Sudoku,C9),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Cuadro=[C1,C2,C3,C4,C5,C6,C7,C8,C9].&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*verifica q valor en la pos del Sudoku es valido para la fila, la columna y el cuadro*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;compruebavalorvalido(Sudoku,Valor,Pos):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;pasaracoordenadas(Pos,Fil,Col), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraerfila(Sudoku,Fil,Fila),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;not(pertenece(Valor,Fila)),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraercolumna(Sudoku,Col,Columna),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;not(pertenece(Valor,Columna)),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Ncuadro= (Fil div 3)*3 + (Col div 3),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;extraercuadro(Sudoku,Ncuadro,Cuadro), &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;not(pertenece(Valor,Cuadro)).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*escribe el resultado obtenido con formato encolumnado*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;escribe([],Contador).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;escribe([Ca|Co],Contador):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;(Contador mod 9)=0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;write(&quot;\n&quot;),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;write(Ca),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;write(&quot; &quot;),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Nuevocontador=Contador+1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;escribe(Co,Nuevocontador);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;(Contador mod 9)&amp;lt;&amp;gt;0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;write(Ca),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;write(&quot; &quot;),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;Nuevocontador=Contador+1,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;escribe(Co,Nuevocontador).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*verifica si se ha rellenado todo el sudoku, es decir, si no quedan posiciones vacias*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fin([]).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fin([Ca|Co]):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ca&amp;lt;&amp;gt;0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fin(Co).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Ha terminado*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;resuelve(Sudoku_ent):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fin(Sudoku_ent),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(&quot;Solucion &quot;),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; escribe(Sudoku_ent).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/*Busca la 1ª vacia, intenta asignarle un valor valido, y de serlo &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obtiene el nuevo sudoku y continua la resolucion recursivamente*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;resuelve(Sudoku_ent):-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; not(fin(Sudoku_ent)),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buscavacia(Sudoku_ent,0,Pos),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; valorok(Num),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compruebavalorvalido(Sudoku_ent,Num,Pos),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ponervalor(Sudoku_ent,Pos,Num,Sudoku_parcial),&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resuelve(Sudoku_parcial).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;goal&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;resuelve(&amp;nbsp;&amp;nbsp; [5,1,0,0,0,0,0,0,4,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,0,0,5,8,3,1,6,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,0,0,0,0,0,7,0,0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,0,0,0,3,0,0,0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,0,0,0,0,2,0,0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,1,0,0,0,0,0,0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,0,0,0,4,0,0,0,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,0,9,0,0,0,0,0,8,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fff2cc; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2,0,0,0,0,0,0,0,7]).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;Si quieres ver el resto de la entrada, no dudes en visitar:
You can see full article in:

http://programaando.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaando.blogspot.com/feeds/7501491992667851329/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaando.blogspot.com/2011/05/resolver-sudokus-con-prolog.html#comment-form' title='4 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/7501491992667851329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8070264041251873340/posts/default/7501491992667851329'/><link rel='alternate' type='text/html' href='http://programaando.blogspot.com/2011/05/resolver-sudokus-con-prolog.html' title='Sudokus con PROLOG'/><author><name>Juan Carlos Hdez.</name><uri>http://www.blogger.com/profile/08082028834577511086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLPC1tAft9v22K8HPIIemR6n0LLWFVtwlF8ifzMhgWmq62Ksuat3m_IqUVuNFC1LuaLBO2CFEl4vjgOVyDJCA2Ouip_f2tE3WjFhy3oabtIiW1rKeGGO4lQZ9QuJHkVw/s220/yo_navidad_13.jpg'/></author><thr:total>4</thr:total></entry></feed>