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

<channel>
	<title>Rafael Liu Blog &#187; gatein</title>
	<atom:link href="http://rafaelliu.net/tag/gatein/feed/" rel="self" type="application/rss+xml" />
	<link>http://rafaelliu.net</link>
	<description>Café, pinguins e outras coisas</description>
	<lastBuildDate>Wed, 28 Mar 2012 21:54:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Rodando GateIn no Eclipse</title>
		<link>http://rafaelliu.net/2011/09/30/rodando-gatein-no-eclipse/</link>
		<comments>http://rafaelliu.net/2011/09/30/rodando-gatein-no-eclipse/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 14:04:31 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=494</guid>
		<description><![CDATA[Graças ao módulo WCI, o GateIn pode rodar em vários servidores. A JBoss distribui ele em duas formas: baseado no JBoss e baseado no Tomcat. Desenvolver portlets para o GateIn utilizando o empacotamento em JBoss é bem simples, basta adicionar um novo servidor (é preciso ter o módulo WTP, e preferencialmente o JBoss Tools também) [...]]]></description>
			<content:encoded><![CDATA[<p>Graças ao módulo WCI, o GateIn pode rodar em vários servidores. A JBoss distribui ele em duas formas: baseado no JBoss e baseado no Tomcat. Desenvolver portlets para o GateIn utilizando o empacotamento em JBoss é bem simples, basta adicionar um novo servidor (é preciso ter o <a title="Eclipse WTP" href="http://www.eclipse.org/webtools/" target="_blank">módulo WTP</a>, e preferencialmente o<a title="JBoss Tools" href="http://www.jboss.org/tools" target="_blank"> JBoss Tools</a> também) JBoss apontando para a instalação do GateIn e está tudo resolvido.</p>
<p>Se você quer utilizar o GateIn com Tomcat é um pouco mais complicado, mas nada preciso adicionar a instalação do Tomcat do GateIn normalmente fazer algumas alterações:</p>
<p>1. Mudar no &#8220;Server Location&#8221; para &#8220;Use Tomcat installation (takes control of Tomcat installation)&#8221;</p>
<p>2. No  &#8221;Launch Configuration&#8221; configurar o &#8220;Working directory&#8221; com o $TOMCAT_HOME</p>
<p>3. Ainda no  &#8221;Launch Configuration&#8221; adicionar os parâmetros:</p>
<p style="padding-left: 30px;">-Djava.security.auth.login.config=../conf/jaas.conf</p>
<p style="padding-left: 30px;">-Dexo.conf.dir.name=gatein/conf</p>
<p>4. Provavelmente será também preciso alterar limites de memória da JVM e timeouts de subida/descida do WTP.</p>
<p>Para desenvolver no GateIn, tanto no JBoss quanto no Tomcat, pode ser interessante adicionar o parâmetro <code>-Dexo.product.developing=true</code>, que desabilita vários caches e desabilita o merge/compressão de CSS e JS.</p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2011/09/30/rodando-gatein-no-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.IllegalArgumentException: LifecycleId already added for id: SEAM_PORTLET.</title>
		<link>http://rafaelliu.net/2010/03/07/java-lang-illegalargumentexception-lifecycleid-already-added-for-id-seam_portlet/</link>
		<comments>http://rafaelliu.net/2010/03/07/java-lang-illegalargumentexception-lifecycleid-already-added-for-id-seam_portlet/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:08:02 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[portlet]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=364</guid>
		<description><![CDATA[It&#8217;s almost a tradition now in this blog posting fixes to common Exceptions, so here is another one This one goes to people using JBoss Portlet Bridge 2.0.0.CR1 (don&#8217;t know about other versions). The stacktrace is the following: Caused by: java.lang.IllegalArgumentException: LifecycleId already added for id: SEAM_PORTLET. at com.sun.faces.lifecycle.LifecycleFactoryImpl.addLifecycle&#40;LifecycleFactoryImpl.java:199&#41; at org.jboss.portletbridge.lifecycle.PortletLifecycleFactory.addLifecycle&#40;PortletLifecycleFactory.java:60&#41; at org.jboss.portletbridge.lifecycle.PortletLifecycleFactory.&#40;PortletLifecycleFactory.java:48&#41; ... 195 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s almost a tradition now in this blog posting fixes to common Exceptions, so here is another one <img src='http://rafaelliu.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This one goes to people using JBoss Portlet Bridge 2.0.0.CR1 (don&#8217;t know about other versions). The stacktrace is the following:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"> Caused by<span style="color: #339933;">:</span> java.<span style="color: #006633;">lang</span>.<span style="color: #003399;">IllegalArgumentException</span><span style="color: #339933;">:</span> LifecycleId already added <span style="color: #000000; font-weight: bold;">for</span> id<span style="color: #339933;">:</span> SEAM_PORTLET.
         <span style="color: #006633;">at</span> com.<span style="color: #006633;">sun</span>.<span style="color: #006633;">faces</span>.<span style="color: #006633;">lifecycle</span>.<span style="color: #006633;">LifecycleFactoryImpl</span>.<span style="color: #006633;">addLifecycle</span><span style="color: #009900;">&#40;</span>LifecycleFactoryImpl.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">199</span><span style="color: #009900;">&#41;</span>
         at org.<span style="color: #006633;">jboss</span>.<span style="color: #006633;">portletbridge</span>.<span style="color: #006633;">lifecycle</span>.<span style="color: #006633;">PortletLifecycleFactory</span>.<span style="color: #006633;">addLifecycle</span><span style="color: #009900;">&#40;</span>PortletLifecycleFactory.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">60</span><span style="color: #009900;">&#41;</span>
         at org.<span style="color: #006633;">jboss</span>.<span style="color: #006633;">portletbridge</span>.<span style="color: #006633;">lifecycle</span>.<span style="color: #006633;">PortletLifecycleFactory</span>.<span style="color: #009900;">&#40;</span>PortletLifecycleFactory.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">48</span><span style="color: #009900;">&#41;</span>
         ... <span style="color: #cc66cc;">195</span> more</pre></div></div>

<h4>The long history:</h4>
<p>Portlet Bridge uses a custom JSF Lifecycle for handling behaviour specific to portlets. It does so by means of a embedded <code>faces-config.xml</code> in it&#8217;s jar. The problem is that it tries to add this SEAM_PORTLET even if it already exists. That means that having 2 Portlet Bridges JAR in your application&#8217;s classpath will cause confusion.</p>
<p>That raises a not so trivial scenario. Even tho you have only one Portlet Bridge JAR, depending on how your JBoss classloading configuration is set, this Exception can occur. That&#8217;s because JBoss uses temporary folders to unpack Javar Archives in it&#8217;s <code>&lt;JBOSS_HOME&gt;/server/default/tmp</code> (or whatever configuration you are using). These folders have unique auto-generated names, so between startups your WAR may be unpacked to a folder in tmp while there&#8217;s already an older version there with a different name.</p>
<h4>The short history:</h4>
<p>Delete your JBoss configuration&#8217;s tmp and work (don&#8217;t worry, it&#8217;s safe) folder or search for some duplicated <code>portletbridge-impl.jar</code>.</p>
<p>Reference: <a title="LifecycleId already added for id: SEAM_PORTLET." href="https://jira.jboss.org/jira/browse/PBR-147" target="_blank">JIRA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2010/03/07/java-lang-illegalargumentexception-lifecycleid-already-added-for-id-seam_portlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajude a traduzir o GateIn</title>
		<link>http://rafaelliu.net/2010/01/11/ajude-a-traduzir-o-gatein/</link>
		<comments>http://rafaelliu.net/2010/01/11/ajude-a-traduzir-o-gatein/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 11:38:52 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[Diverso]]></category>
		<category><![CDATA[gatein]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=299</guid>
		<description><![CDATA[Muito anúncio Polishop mas&#8230; Quer ajudar o GateIn e ganhar seu nome na lista de contribuidores? Traduza o GateIn para português! É fácil: acesse a wiki e veja]]></description>
			<content:encoded><![CDATA[<p>Muito anúncio Polishop mas&#8230;</p>
<p>Quer ajudar o GateIn e ganhar seu nome na lista de contribuidores? Traduza o GateIn para português! É fácil: acesse a <a title="Translating GateIn" href="http://community.jboss.org/wiki/TranslatingGateIn" target="_blank">wiki</a> e veja</p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2010/01/11/ajude-a-traduzir-o-gatein/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Portais em 1 minuto</title>
		<link>http://rafaelliu.net/2010/01/04/portais-em-1-minuto/</link>
		<comments>http://rafaelliu.net/2010/01/04/portais-em-1-minuto/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 23:20:39 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[Portlets]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=238</guid>
		<description><![CDATA[Até agora já postei algumas vezes sobre a nova solução de portal da JBoss, o GateIn. Enquanto escrevia meu terceiro post (aguardem!!) me dei conta que muitos podem não ter a mínima idéia do que estou falando. O que é uma ferramenta de portal? Eu preciso de uma ferramenta dessas? Como ela pode me ajudar? [...]]]></description>
			<content:encoded><![CDATA[<p>Até agora já postei algumas vezes sobre a nova solução de portal da JBoss, o <a title="GateIn" href="http://www.jboss.org/gatein" target="_blank">GateIn</a>. Enquanto escrevia meu terceiro post (aguardem!!) me dei conta que muitos podem não ter a mínima idéia do que estou falando. O que é uma ferramenta de portal? Eu preciso de uma ferramenta dessas? Como ela pode me ajudar? Como faço para utilizá-la? Bom, tomei um tempo para escrever um pouco sobre conceitos.</p>
<h4>O que são portais?</h4>
<p>Antes de saber como o GateIn pode ajudá-lo a construir portais, vamos ao que são portais (por simplicidade vou chamar <em>portlet containers</em> também de portais).</p>
<p>Um portal é um site que organiza grandes quantidades de informações em um único lugar, disponibilizando-as de forma consistente e organizada. Usualmente possuem serviço de busca de conteúdo e navegabilidade. Podem também oferecer meios de interação como canais de help desk, ouvidoria, etc. Alguns exemplos devem dar uma noção mais concreta, eles são: intranets de grandes empresas, órgãos do governo como <a title="Ministério da Ciência e Tecnologia" href="http://www.mct.gov.br" target="_blank">MCT</a>, <a title="Portal da Tranparência" href="http://www.portaltransparencia.gov.br/" target="_blank">Transparência</a> e portais públicos como o <a title="UOL" href="http://www.uol.com.br/" target="_blank">UOL</a>, <a title="Terra" href="http://www.terra.com.br/" target="_blank">Terra</a>, <a title="Yahoo" href="http://m.br.yahoo.com" target="_blank">Yahoo</a>.</p>
<p>Com o conceito em mente, vamos partir para a parte técnica da pergunta: como uma solução de portal pode te ajudar? O GateIn implementa (e estende) as JSR 168 e JSR 286, Portlet 1.0 e 2.0, que são as especificações Java para definição de modos, estados, ciclo de vida e tudo que concerne o uso de portlets em portais. O que nos leva à próxima pergunta..</p>
<h4>O que são portlets?</h4>
<p>Lembro de quando programava em ASP, como achava <a title="Server Side Include" href="http://en.wikipedia.org/wiki/Server_Side_Includes" target="_blank">SSI</a> o <em>ó do borogodó</em>. Desde de aquele tempo as formas de reutilização vêm ficando cara vez mais sofisticada, passando pelo &lt;jsp:include&gt;, o Tiles (com o <span style="text-decoration: line-through;">nem tão</span> saudoso Struts) até o Facelets (agora parte da especificação JSF 2.0).</p>
<p>Portlets têm outra abordagem à reutilização, ao invés de dividir a aplicação em partes reutilizáveis, eles encapsulam aplicações em componentes reutilizáveis. Não entendeu? Eu desenho:</p>
<table style="border-collapse: collapse; margin-left: auto; margin-right: auto; text-align: center;" border="0">
<tbody>
<tr>
<td><a href="/wp-content/uploads/2009/12/app-silo.png"><img class="alignnone size-full wp-image-253" title="app-silo" src="/wp-content/uploads/2009/12/app-silo.png" alt="" width="180" height="161" /></a></p>
<p class="wp-caption-text">Aplicação web comum</p>
</td>
<td><a href="/wp-content/uploads/2009/12/app-portlet.png"><img class="alignnone size-full wp-image-252" title="app-portlet" src="/wp-content/uploads/2009/12/app-portlet.png" alt="" width="283" height="203" /></a></p>
<p class="wp-caption-text">Portlets</p>
</td>
</tr>
</tbody>
</table>
<p>Esses componentes são diferentes de aplicações web, e não basta fazer deploy delas em um container web, elas precisam de um container especial. Esse container é o portal:</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/12/app-portlet-access.png"><img class="size-medium wp-image-251 aligncenter" title="app-portlet-access" src="/wp-content/uploads/2009/12/app-portlet-access-245x300.png" alt="" width="245" height="300" /></a></p>
<p>É através do desenvolvimento de portlets que são adicionadas funcionalidades e conteúdo ao portal. Uma vez desenvolvido, é feito seu deploy no GateIn.</p>
<h4>Pensando para portais</h4>
<p>Para desenvolver portais é preciso um pensamento diferente. Do mesmo jeito que os serviços SOA são organizados em processos, os portlets são sindicados em um portal. Os mesmo cuidados de se pensar serviços como unidades reutilizáveis são precisos para portlets. Do mesmo jeito, para tirar o máximo do desenvolvimento de portais é preciso de uma governança para prover reuso, catalogar, monitorar e auditar portlets. Gartner chegou a sugerir <a title="A Portal May Be Your First Step to Leverage SOA " href="http://www.gartner.com/DisplayDocument?doc_cd=130149" target="_blank">portais como um ponto de entrada para SOA</a>.</p>
<p>Vejo ferramentas de portal como uma necessidade que surgiu do desenvolvimento em cima de servidores de aplicação (como o JBoss). Servidores de aplicação não foram criados para servir conteúdo web, isso é apenas uma de suas funcionalidades, eles fazem muito mais do que isso. Portais por outro lado foram desenvolvidos exclusivamente para conteúdo web, e por isso trazem uma gama de facilidades voltadas para esse fim.</p>
<h4>Show me the money</h4>
<p>(StarCraft? não?) Embora tenha batido muito no aspecto de reusabilidade, que acho o mais central, existem várias outras facilidades:</p>
<ul>
<li><strong>Sindicância de conteúdo</strong>: é possível consolidar conteúdos ou outras aplicações web sob a mesma apresentação;</li>
<li><strong>Single Sign-on</strong>: federando-se aplicações web, é possível tirar vantagem de SSO. Uma vez que o usuário esteja logado no portal suas credenciais podem ser propagadas para as aplicações contidas nele;</li>
<li><strong>Personalização</strong>: como o portal toma conta da apresentação, é possível ter vários níveis de personalização como tematização e internacionalização;</li>
<li><strong>Reusabilidade</strong>: aplicações e conteúdos podem ser reaproveitados em diferentes locais dentro do portal ou mesmo em outros portais;</li>
<li><strong>Automatização</strong>: a criação de menus de navegação, breadcrumb, site map, segurança, layout, etc. são providas <em>out of the box</em>.</li>
</ul>
<p>Devido às várias facilidades providas, a palavra &#8220;portal&#8221; das ferrramentas de portal assumiu um sentido mais amplo do que o conceituado no começo do post. Sites de pequeno porte, que na realidade partilham pouco com portais, podem se beneficiar do uso dessas ferramentas.</p>
<p>Para ver tudo isso em ação, dêem uma olhada no <a title="GateIn Portal" href="/?p=214" target="_blank">post de lançamento do GateIn</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2010/01/04/portais-em-1-minuto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment no GateIn</title>
		<link>http://rafaelliu.net/2009/09/17/deployment-no-gatein/</link>
		<comments>http://rafaelliu.net/2009/09/17/deployment-no-gatein/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 23:57:10 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[gatein]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=220</guid>
		<description><![CDATA[EDIT: com o novo componente WCI não é mais preciso fazer alterações no web.xml. Em outra ocasião escrevo sobre esse componente. Vi no JIRA recentemente uma issues aberta indicando problema no deploy de portlets no GateIn. Para quem também não sabe para onde ir vou mostrar como fazer o deploy de portlets nesse portal. Primeiro [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EDIT</strong>: com o novo componente WCI não é mais preciso fazer alterações no web.xml. Em outra ocasião escrevo sobre esse componente.</p>
<p>Vi no JIRA recentemente uma issues aberta indicando problema no deploy de portlets no <a title="GateIn" href="http://www.jboss.org/gatein" target="_blank">GateIn</a>. Para quem também não sabe para onde ir vou mostrar como fazer o deploy de portlets nesse portal.</p>
<p>Primeiro precisamos alterar o web.xml da aplicação adicionando:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;filter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;filter-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>ResourceRequestFilter<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/filter-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;filter-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.exoplatform.portal.application.ResourceRequestFilter<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/filter-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/filter<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;filter-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;filter-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>ResourceRequestFilter<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/filter-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/*<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/filter-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>GateInServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>org.gatein.wci.api.GateInServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-class<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;load-on-startup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/load-on-startup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>GateInServlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>/gateinservlet<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/url-pattern<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/servlet-mapping<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Depois basta ir no GateIn, logado com usuário de pelo menos um dos grupos:</p>
<ul>
<li>/organization/management/executive-board</li>
<li>/platform/administrators</li>
</ul>
<p>Logaremos como root, e ir no menu Group -&gt; Administration -&gt; Application Registry:</p>
<p><img class="aligncenter size-medium wp-image-221" title="gatein1" src="http://rafaelliu.net/wp-content/uploads/2009/09/gatein1-300x161.png" alt="gatein1" width="300" height="161" /></p>
<p>O Application Registry é uma forma de repositório do GateIn. É lá que temos acesso aos portlets e gadgets disponíveis, e onde podemos mudar permissões de acesso e ver detalhes da configuração de cada um deles. Agora clicamos em Auto Import e damos um OK para a mensagem de confirmação:</p>
<p><img class="aligncenter size-medium wp-image-222" title="gatein2" src="http://rafaelliu.net/wp-content/uploads/2009/09/gatein2-300x218.png" alt="gatein2" width="300" height="218" /></p>
<p>Com isso o GateIn fará um scan de todos os deploys de aplicações web e instalará portlets definidos nelas. Os seus portlets devem aparecer na barra lateral:</p>
<p><img class="aligncenter size-medium wp-image-223" title="gatein3" src="http://rafaelliu.net/wp-content/uploads/2009/09/gatein3-300x270.png" alt="gatein3" width="300" height="270" /> <img src='http://rafaelliu.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2009/09/17/deployment-no-gatein/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GateIn Portal</title>
		<link>http://rafaelliu.net/2009/09/05/gatein-portal/</link>
		<comments>http://rafaelliu.net/2009/09/05/gatein-portal/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 14:18:05 +0000</pubDate>
		<dc:creator>rafaelliu</dc:creator>
				<category><![CDATA[JBoss]]></category>
		<category><![CDATA[exo]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://rafaelliu.net/?p=214</guid>
		<description><![CDATA[Nessa quinta-feira (dia 3) foi lançado oficialmente o projeto GateIn no evento Summit/JBoss World da Red Hat, em Chicago. O GateIn é uma solução de portal nascida da união do eXo Portal e o JBoss Portal e está em beta1. Bem além de uma simples solução de portal, o GateIn poderá ser extendido com módulos [...]]]></description>
			<content:encoded><![CDATA[<p>Nessa quinta-feira (dia 3) foi lançado oficialmente o projeto <a title="GateIn Portal" href="http://www.jboss.org/gatein" target="_blank">GateIn</a> no evento Summit/JBoss World da Red Hat, em Chicago. O GateIn é uma solução de portal nascida da união do eXo Portal e o JBoss Portal e está em beta1. Bem além de uma simples solução de portal, o GateIn poderá ser extendido com módulos da <a title="eXo Platform" href="http://www.exoplatform.com" target="_blank">eXo Platform</a> tornando-o um gerenciador de conteúdo (CMS), um gerenciador de documentos (GED) ou uma ferramenta de colaboração.</p>
<p>A solução ficou <strong>muito</strong> legal, um video lançado ontem mostra como ela é poderosa:</p>
<p><object width="400" height="250" data="http://vimeo.com/moogaloop.swf?clip_id=6438918&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6438918&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://rafaelliu.net/2009/09/05/gatein-portal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

