<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>jboss &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/jboss/</link>
	<description>Feed of posts on WordPress.com tagged "jboss"</description>
	<pubDate>Mon, 30 Nov 2009 03:01:03 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Application Administrator]]></title>
<link>http://mindsourceinc.wordpress.com/2009/11/24/application-administrator/</link>
<pubDate>Tue, 24 Nov 2009 22:33:50 +0000</pubDate>
<dc:creator>Michelle</dc:creator>
<guid>http://mindsourceinc.wordpress.com/2009/11/24/application-administrator/</guid>
<description><![CDATA[This position is an Application Administrator to support operations within our client&#8217;s depart]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This position is an Application Administrator to support operations within our client&#8217;s department. This position has a critical role in delivering our services to clients and ensuring successful ongoing operation of our applications and services. It services a highly interactive software development build/release process as well as a rich operational environment with many interrelated applications/database services. The candidate should be self-motivated, detail oriented, adaptable to change and must work well in a flexible team environment with developers, QA, operations staff, system administrators and managers.</p>
<p><strong>RESPONSIBILITIES:</strong></p>
<p><span style="text-decoration:underline;"> </span></p>
<p><span style="text-decoration:underline;">Application and database support </span></p>
<ul>
<li>Provide on-going database administration in both back-end and front-end with application infrastructure support for our client&#8217;s administration systems, including the deployment of new applications.</li>
<li>Review the physical design of existing databases for optimal database structures, database performance tuning, security, database backup/recovery strategy, implementing high-availability, and pro-active and reactive performance analysis, monitoring, troubleshooting and resolution of issues, capacity planning, monitoring data growth and system utilization, trend analysis and predicting future database resource requirements.</li>
<li>Install web-base applications from ground up to full-ballooned implementation and support, including configuration at Unix/Linux/Windows system level, back-end integration with database, front-end integration with user-interface, final delivery to users to fulfill users’ requirement and on-going maintenance.</li>
<li>Take the lead in ensuring that application and web services are configured and tuned according to application needs; provide troubleshooting as needed.</li>
<li>Work with System Administrators to ensure test and production boxes conform to the software application configuration needs.</li>
<li>Support the department-wide infrastructure application for database management, system monitoring and notification, job scheduling, deployment, provision and patching automation, application topology and service level management for campus-wide system performance.</li>
</ul>
<p><span style="text-decoration:underline;">Build/release activities</span></p>
<ul>
<li>Manage the build, tagging and release processes for a number of interdependent Java web applications and background processes in the QA and production environments. Ensure the build and release process is scalable and repeatable.</li>
<li>Work with the development team to ensure efficient and understandable build procedures are adhered to and conform to a standard process for configuration and release management</li>
<li>Develop and maintain tools that automate the building of software releases for an Agile-based development process. This is one of continuous integration, where the automated build process can be run many times a day if necessary.</li>
<li>Work with and support the QA team to ensure automated test suites run as part of the continuous integration build process.</li>
</ul>
<p><strong>REQUIREMENT FOR SKILL AND COMPETENCIES:</strong></p>
<ul>
<li>Expert hands-on with shell scripts, other scripting languages, preferably Perl, and tool automations</li>
<li>Minimum 2 years database administration experience in Oracle and 3 years Application administration experience in Unix/Linux infrastructure environments is required.</li>
<li>Hands-on experience of Oracle databases 10g for 24/7 database operations and tool automation in installation, configuration, backup/recovery, startup/shutdown, data refresh, and application integrations.</li>
<li>Experience with OEM/Grid Control is highly desired.</li>
<li>Knowledge and understanding of large scale ERP implementation and support like Oracle Financial and PeopleSoft systems.</li>
<li>Expert knowledge of Apache and Tomcat, and other web/application servers such as JBoss</li>
<li>Strong Unix and system administration skills with basic network and security knowledge</li>
<li>Strong experience and ability in web applications deployment, configuration and integration from both OpenSource and Commercial based systems with or without sophisticated vendor support.</li>
<li>Java/J2EE based programs</li>
<li>Java/servlet/JSP based web applications</li>
<li>Experience with Subversion, PVCS or similar source code repository</li>
<li>Experience with Maven and familiarity with automated build processes</li>
<li>Experience with the Agile development methodology and concepts of extreme programming and continuous integration</li>
<li>Understanding of the layers/tiers of web applications and the communication protocol between the tiers with networking protocols (TCP/IP, HTTP, SSL, DNS, FTP, etc.)</li>
<li>Ability to multi-task and work in a team environment is critical and should have excellent communication skills in both verbal and written forms.</li>
<li>Ability to manage multiple competing priorities and work under pressure in high stress situations</li>
<li>Excellent communication skills in both verbal and written</li>
<li>Ability to work under pressure and to deliver results in a complex and dynamic operational environment</li>
</ul>
<p><strong>Qualifications</strong></p>
<p>Minimum 5 years as an IT professional in build/release and application/database administration, plus one or more of the following areas: IT infrastructure operations 24/7, systems analysis and design, or application development.</p>
<p><strong>Education</strong><br />
Bachelors Degree in Computer Science, Engineering or related field or equivalent experience</p>
<p>If you are interested, please send your resume to <a href="mailto:tsotelo@mindsource.com?subject=Application Administrator">tsotelo@mindsource.com</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Installing #jruby on #rails on #torquebox]]></title>
<link>http://jrubyist.wordpress.com/2009/11/23/installing-jruby-on-rails-on-torquebox/</link>
<pubDate>Mon, 23 Nov 2009 23:53:39 +0000</pubDate>
<dc:creator>jrubyist</dc:creator>
<guid>http://jrubyist.wordpress.com/2009/11/23/installing-jruby-on-rails-on-torquebox/</guid>
<description><![CDATA[There are lots of options available for deploying #juby on #rails apps, from glassfish, to mongrel, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>There are lots of options available for deploying #juby on #rails apps, from glassfish, to mongrel, to jboss.  Along came an excellent solution for #jruby on #rails developers called #torquebox.  It&#8217;s an enterprise level deployment environment for #jruby on #rails apps built ontop of #jboss, with several nice features built into it.  These currently include support for job scheduling outside of cron that actually deploys with your application, task queues built on top of JMS topics, and even SOAP &#38; SIP (telecom) integration.</p>
<p>Torquebox can be installed two different ways:<br />
1) Download the entire #torquebox package and follow the instructions on <a href="http://torquebox.org">torquebox.org</a>.  This includes jruby, JBoss AS 5 and torquebox gems and jars for deploying apps.<br />
2) Modify an existing JBoss AS 5 with a single jar.</p>
<p>Since most users of ruby on rails already have some version of ruby on their system, but most don&#8217;t have jboss, I&#8217;ll provide an easy way to get started with option #1.  I know this is only a small contribution back to the j/ruby community, but I think it will help provide the lowest cost to entry for most #ruby on #rails developers wishing to transition to a stable #jruby on #rails deployment environment.</p>
<p>To help get you started, I&#8217;ve put together a script to download #torquebox, unzip it, add a symlink, append the .bash_profile, &#38; install jruby-openssl.<br />
I put together a script to download #torquebox, unzip it, add a symlink, append the .bash_profile, &#38; install jruby-openssl.</p>
<pre>
require 'rubygems'
require 'net/http'
require 'logger'

class TorqueboxInstaller

  def initialize( torquebox_version = '1.0.0.Beta18' )
    @torquebox_version = torquebox_version
    yield self if block_given?
  end

  def download
    if File.exist?( torquebox_zip_file )
      logger.info "#{torquebox_zip_file} already exists."
    else
      logger.info "About to download #{torquebox_zip_file}..."
      uri = "http://repository.torquebox.org/maven2/releases" +
               "/org/torquebox/torquebox-bin/" +
              "#{@torquebox_version}/#{torquebox_zip_file}"
      `curl #{uri} -O #{torquebox_zip_file}`
      logger.info "Downloading of #{torquebox_zip_file} complete."
    end
  end

  def unzip
    if File.exist?( "#{torquebox_directory}" )
      logger.info "#{torquebox_directory} already exists.  Not unzipping."
    else
      logger.info "Unzipping #{torquebox_zip_file}"
      `unzip #{torquebox_zip_file}`
    end
  end

  def symlink
    logger.info "Creating symlink torquebox-current " +
         " for #{torquebox_directory}"
    `rm torquebox-current` if File.exist?( "torquebox-current" )
    `ln -s #{torquebox_directory}/ torquebox-current`
  end

  def append_bash_profile
    logger.info "Append the bash profile"
    File.open("#{ENV['HOME']}/.bash_profile", "a") do &#124;file&#124;
      file.puts("# environment variables for torquebox ")
      file.puts("export TORQUEBOX_HOME=#{ENV['PWD']}" +
                                "/#{torquebox_directory}")
      file.puts("export JRUBY_HOME=$TORQUEBOX_HOME/jruby")
      file.puts("export JBOSS_HOME=$TORQUEBOX_HOME/jboss")
      file.puts("export PATH=$TORQUEBOX_HOME/bin:" +
                    "$JRUBY_HOME/bin:$JBOSS_HOME/bin:$PATH")
    end
  end

  def install_dependencies
    logger.info "Installing SSL support"
    exec "source ~/.bash_profile &#38;&#38; jruby -S gem install jruby-openssl"
  end

  def torquebox_zip_file
    torquebox_zip_file = "torquebox-bin-#{@torquebox_version}.zip"
  end

  def torquebox_directory
    "torquebox-#{@torquebox_version}-bin"
  end

  def logger
    @logger &#124;&#124;= Logger.new( STDOUT )
  end
end

TorqueboxInstaller.new do &#124;installer&#124;
  installer.download
  installer.unzip
  installer.symlink
  installer.append_bash_profile
  installer.install_dependencies
end
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JPA show SQL query]]></title>
<link>http://bugsmacgyvered.wordpress.com/2009/11/23/jpa-show-sql-query/</link>
<pubDate>Mon, 23 Nov 2009 13:26:44 +0000</pubDate>
<dc:creator>opiquetus</dc:creator>
<guid>http://bugsmacgyvered.wordpress.com/2009/11/23/jpa-show-sql-query/</guid>
<description><![CDATA[If you need to show SQL in JBoss debug screen (console) from your JPA / EJB project: &lt;properties]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you need to show SQL in JBoss debug screen (console) from your JPA / EJB project:</p>
<blockquote><p>&#60;properties&#62;<br />
&#60;property name= &#8220;hibernate.dialect&#8221;value=&#8221;org.hibernate.dialect.PostgreSQLDialect&#8221; /&#62;<br />
&#60;property name= &#8220;hibernate.show_sql&#8221; value=&#8221;true&#8221; /&#62;<br />
&#60;/properties&#62;</p></blockquote>
<p>in persistence.xml should do the trick.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Webclient for SVN, Hudson e Artifactory]]></title>
<link>http://kaosktrl.wordpress.com/2009/11/17/webclient-for-svn-hudson-e-artifactory/</link>
<pubDate>Tue, 17 Nov 2009 22:47:03 +0000</pubDate>
<dc:creator>kaosktrl</dc:creator>
<guid>http://kaosktrl.wordpress.com/2009/11/17/webclient-for-svn-hudson-e-artifactory/</guid>
<description><![CDATA[Salve a tutti, in questi giorni mi sono addentrato ancora nel mondo del continuous integration perch]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Salve a tutti, in questi giorni mi sono addentrato ancora nel mondo del continuous integration perchè sto lavorando su un progetto in Java, gestito in outsourcing, dove aiuto un gruppo di sviluppatori ad utilizzare strumenti di sviluppo che facilitano il lavoro quali un sistema di continuos integration.</p>
<p>Sono partito da un progetto con subversion installato su una macchina e so che nel progetto usano Jboss con JDK 1.5 (ancora non so perchè)</p>
<p>Su un&#8217;altra macchina remota vado e installo JDK 1.5.0.22, Ant 1.7.1, Maven 2.2.1 (fino ad ora (2 mesi di progetto) hanno usato solo Ant e vorrebbero passare a Maven), Jboss 5.1.0, <a href="http://community.polarion.com/index.php?page=overview&#38;project=svnwebclient" target="_blank"><strong>Webclient for SVN 3.1.0</strong></a> e <a href="http://www.jfrog.org/" target="_blank"><strong>Artifactory 2.1.2</strong>.</a></p>
<p>Piccola nota: volevo usare <a href="http://www.sventon.org/" target="_blank"><strong>Sventon</strong></a> ma l&#8217;ultima versione aveva problemi con le librerie e le precedenti mi davano anch&#8217;esse problemi.</p>
<p>Non sapete cosa è Artifactory ??? Allora è possibile che siete ancora freschi su Maven (non è che io non lo sia <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p>Artifactory è una applicazione web che permette di gestire repository Maven, sviluppata in Java e rilasciata con licenza LGPL 3.0. L&#8217;applicazione è realizzata da JFrog Ltd, una società privata isreliana.</p>
<p>Strutturalmente si poggia su <a href="http://jackrabbit.apache.org/" target="_blank">Apache Jackrabbit</a> per l&#8217;implemetazione delle specifiche <strong>JSR 170</strong> per il cosiddetto Java Content Repository (anche altri content manager come <a href="http://www.nuxeo.org/xwiki/bin/view/FAQ/Nuxeo52JCR" target="_blank">Nuxeo si appoggiano su Jackrabbit</a>).</p>
<p>Piccola nota: la JSR 170 (rilasciata nel 2005) è seguita dalla <strong>JSR 283</strong> da poco rilasciata (25 Settempre 2009) ed entrambe sono condotte da David Nuescheler, CTO della società svizzera <a href="http://www.day.com/day/en.html" target="_blank">Day Software</a>.</p>
<p>Inoltre Artifactory si basa su <a href="http://lucene.apache.org/java/docs/" target="_blank">Apache Lucene</a> per indicizzare i file e <a href="http://wicket.apache.org/" target="_blank">Apache Wicket</a> per l&#8217;interfaccia utente.</p>
<p>Ora l&#8217;applicazione è rilasciata come standalone ma esiste la versione war che può essere deployata su un application server e quindi l&#8217;ho messa su Jboss insieme ad Hudson e Webclient for SVN (questi 2 li ho poi legati con il <a href="http://wiki.hudson-ci.org/display/HUDSON/Polarion+Plugin" target="_blank">plugin di hudson per Polarion</a> che permette di linkare la lista di file modificati ai file presenti sul webclient e si possono anche vedere le differenze con le versioni precedenti).</p>
<p>La struttura è basata anche su database, di default <a href="http://db.apache.org/derby/" target="_blank">Apache Derby </a>ma che può essere cambiato (vedi anche <a href="http://blog.vinodsingh.com/2009/07/managing-maven-repository-with.html" target="_blank">qui)</a>.</p>
<p>A parte il fatto che Artifactory permette di base <a href="http://wiki.jfrog.org/confluence/display/RTF/Authenticating+with+LDAP" target="_blank">una autenticazione LDAP</a>, quello che lascia senza parole è la semplicità di uso (andrebbe confrontato con <a href="http://nexus.sonatype.org/" target="_blank"><strong>Nexus</strong></a> ma non ne ho tempo, di sicuro nella versione base manca LDAP (anche se ho scoperto di recente che esiste un plugin di terze parti) e di sicuro gli sviluppatori hanno realizzato una bella <a href="http://www.sonatype.com/products/maven/documentation/book-defguide" target="_blank">guida a maven</a> e un <a href="http://m2eclipse.sonatype.org/" target="_blank">plugin per Eclipse</a>). Una volta andato su</p>
<p>http://localhost:8080/artifactory</p>
<p>e loggato, sono andato sul pannello amministrativo e nella sezione repository ho creato un repository locale dove fare il deploy dei propri jar file e un repository virtuale in cui aggiungo quello locale più tutti i remoti quali quello di Maven, Jboss ecc ecc. Fatto ! Ora potete generare anche la sezione del file settings.xml da aggiungere nel vostro progetto Maven.</p>
<p>Per una vecchia guida vi rimando <a href="http://www.theserverside.com/tt/articles/article.tss?l=SettingUpMavenRepository" target="_blank">qui</a>. Per un confronto con Nexus e Archiva vi rimando a questo <a href="http://docs.codehaus.org/display/MAVENUSER/Maven+Repository+Manager+Feature+Matrix" target="_blank">link</a> (attenzione è scritto dallo stesso autore della guida su Artifactory ma sembra serio)</p>
<p>Buon maven a tutti !</p>
<p>Nota: Webclient for SVN si basa su Subversion 1.4 (con versioni successive ho avuto problemi perchè usa un SVNKit vecchio che non posso aggiornare perchè c&#8217;è una particolare classe non più presente nelle ultime versioni), potete trovare Subversion 1.4 qui:</p>
<p>http://downloads-guests.open.collab.net/servlets/ProjectDocumentList?folderID=6</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JBoss in Action - Cap 1]]></title>
<link>http://gborgese.wordpress.com/2009/11/17/jboss-in-action-cap-1/</link>
<pubDate>Tue, 17 Nov 2009 08:58:13 +0000</pubDate>
<dc:creator>pippopeppe83</dc:creator>
<guid>http://gborgese.wordpress.com/2009/11/17/jboss-in-action-cap-1/</guid>
<description><![CDATA[1.2 INSTALLAZIONE Ci sono due modi di installare jboss via zip o via JEMS installer. Via zip si otti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2 style="text-align:center;">1.2 INSTALLAZIONE</h2>
<ul style="text-align:left;">
<li>Ci sono due modi di installare jboss via zip o via JEMS installer. Via zip si ottiene una installazione subito funzionante con alcune funzionalità di sviluppo già attive come l&#8217;hot deployment. Lo svantaggio dello zip rispetto al JEMS installer sono le funzioni di sicurezza tutte spente. Con l&#8217;installer inoltre si decide quale funzioni attivare e quali no senza doversi preoccupare delle dipendenze.</li>
<li>In JBoss non ci sono file nascosti o altre risorse poste fuori la dir di installazione, ma tutto è contenuto all&#8217;interno. In questo modo si può spostarlo dove si preferisce e si può replicare l&#8217;esatta installazione in un altra macchina.</li>
<li>Se si segue l&#8217;installazione via JEMS si può poi copiare manualmente la dir di jboss in un&#8217;altra macchina in modo da avere due installazioni identiche</li>
</ul>
<h3>1.2.1 Prepararsi per l&#8217;installazione</h3>
<ul>
<li>Alcune sigle: JDK Java Development Kit contiene sia l&#8217;ambiente di compilazione che di esecuzione, JRE Java Runtime Enviroment, SDK Sun Development Kit</li>
<li>Nelle versioni precedenti alla 5 era necessario avere la JDK perchè bisognava compilare , dalla 5 in poi basta la JRE perchè JBoss viene fornito con una libreria di Eclipse JDT che compila codice a runtime</li>
<li>Molti usano l&#8217;ambiente della SUN  SDK ma si vedrà più avanti come utilizzarne anche altri</li>
<li>Per l&#8217;installazione basta settare la JAVA_HOME in linux</li>
</ul>
<p><em>set JAVA_HOME=/usr/java/jdk1.5.2 </em></p>
<p>export JAVA_HOME</p>
<ul>
<li>In windows andare nelle schermate delle variabili d&#8217;ambiente</li>
</ul>
<h3>1.2.2 Installarlo dalla distribuzione binaria</h3>
<ul>
<li>jboss viene eseguito in cima alla JVM, ma alcune operazioni vengono eseguite meglio con funzionalità di sistema operativo native. Per esempio le pagine web vengono servite con migliori performance se utilizzano librerie native. Ecco il<a href="http://www.jboss.org/jbossweb/downloads/jboss-native/"> link</a> per scaricarlo</li>
</ul>
<h3>1.2.3 Usare JEMS installer</h3>
<ul>
<li>bisogna eseguire un jar file questo si fa con il comando</li>
</ul>
<p>java -jar jems-installer-X.X.X.jar</p>
<ul>
<li>L&#8217;installer dovrebbe riconoscere il s.o. e quindi usare la versione native di jboss più adatta</li>
<li>Durante l&#8217;installazione si può scegliere quale configurazione usare (default, minimal ecc) e quali packs all&#8217;interno dell&#8217;installazione scelta abilitare. Si possono settare i data source per i database ed eventualmente abilitare l&#8217;isolamento per valore per caricare differenti versioni dello stesso file class.</li>
<li>Si possono rimuovere diversi sevizi che non sono sicuri come il tunnel http o JMX management console</li>
</ul>
<h2 style="text-align:center;">1.3 Esploriamo l&#8217;installazione</h2>
<h3>1.3.1 La dir di bin</h3>
<ul>
<li>twiddle: una jmx console a linea di comando</li>
<li>probe: una utility usata per scoprire jboss AS cluster</li>
<li>wsconsume, wsprovide, wsrunclient , wstools: una serie usata per i web service</li>
</ul>
<h3>1.3.2 La dir di client</h3>
<ul>
<li>ci sono le librerie per far interagire applicazioni client con jboss, tutte le altre applicazioni che non siano i browser. Per maggiori dettagli guardare il capitolo.</li>
</ul>
<h3>1.3.7 Esploriamo la struttura di ogni configuration</h3>
<ul>
<li>la dir di conf viene controllata al boot di jboss e poi non viene più letta. Vi sono questi file xml che servono per: bootstrap.xml definisce i servizi che partono all&#8217;avvio del server , jboss-service.xml definisce i servizi jmx che partono all&#8217;avvio, jboss-log4j.xml configura il logging , login-configuration.xml configura autenticazione e moduli di autorizzazione per la sicurezza , standardjboss.xml usati per configurare vari ejb containers</li>
<li>la dir deployers contiene tutti i servizi di jboss AS che sono necessarie per fare il deploy delle applicazioni e dei tipi di archivi</li>
<li>vi sono delle directory generate la prima volta che si esegue jboss: data serve per memorizzare dati temporanei; log ha tre file boot.log per log prima che il servizio di loggin sia abilitato, server.log è il file principale di log4j , audit.log è usato per i log di sicurezza, tmp , work usato dal web container per memorizzare e compilare jsp file e altri dati temporanei</li>
</ul>
<h2>1.4 Starting e stopping the server</h2>
<ul>
<li>./run.sh    lancia il default</li>
<li>./run.sh -c all  lancia la configurazione di all</li>
<li>./shutdown.sh -S  per fermarlo , oppure CTRL+C o si killa il processo</li>
</ul>
<h2>1.5 Deploying  to the server</h2>
<ul>
<li>attenzione con l&#8217;hot deploy perchè se si copia un&#8217;applicazione in maniera esplosa (una dir con postfisso .war o .ear) lui può cominciare a fare il deploy prima che l&#8217;intera struttura sia copiata, generando inevitabilmente errori.</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Plugins for Eclipse: JBoss Tools 3.0]]></title>
<link>http://mauriciomagnani.wordpress.com/2009/11/16/plugins-for-eclipse-jboss-tools-3-0/</link>
<pubDate>Mon, 16 Nov 2009 12:41:13 +0000</pubDate>
<dc:creator>Mauricio Magnani</dc:creator>
<guid>http://mauriciomagnani.wordpress.com/2009/11/16/plugins-for-eclipse-jboss-tools-3-0/</guid>
<description><![CDATA[O JBoss Tools  é um conjunto de ferrramentas,  que tráz inúmeras facilidades para quem está desenvol]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>O JBoss Tools  é um conjunto de ferrramentas,  que tráz inúmeras facilidades para quem está desenvolvendo projetos utilizando JSF(Java Server Faces), Hibernate , JBoss AS entre outros.<br />
Ela auxilia o desenvolvedor em diveras tarefas, trazendo assim maior produtividade e facilidade no desenvolvimento de sistemas que utilizam a plataforma JavaEE e JSF.<br />
Ele pode ser obtido em<a href="http://labs.jboss.com/tools/download"> http://labs.jboss.com/tools/download</a>, lá podemos observar que os downloads dos plugins são dividos por áreas: <em>Update Site</em> e <em>Download</em>.  E  mais,  dentro dessas áreas  encontramos mais algumas divisões: Stable Update,  Development Updates e Nightly Updates. Vamos ver o que significa cada uma dessas áreas:</p>
<ul>
<li>Update Site: Nessa <em>área encontramos</em> os links para instalação dos plugins que são gerenciados pelo eclipse via Update Manager. Então essa seria a opção mais recomendada para instalação dessas ferramentas.</li>
<li>Download: Nessa área encontramos arquivos geralmente no formato ZIP ou JAR. Pode-se instalar os plugins manualmente utilizando esses arquivos.</li>
<li>Stable Update: Nessa área estão os links ou arquivos dos plugins com versão estável, ou seja que podem ser utilzados em produção.</li>
<li>Development Updates: Nessa área estão os links ou arquivos dos plugins que se encontram em desenvolvimento para atualização das versões stables.</li>
<li>Nightly Updates: Nessa área estão os links ou arquivos dos plugins que se encontram na fase de desenvolvimento, que digamos assim são atualizados todas as noites(Nightly) direto da fonte(Developers).</li>
</ul>
<p>Então vamos instalar esse bendito plugin!  No Eclipse Galileo vá em  <em>Help e em Intall New Software&#8230;</em> clique em <em>add</em>. E preencha <em>name </em>: JBoss Tools e em <em>url :</em> http://download.jboss.org/jbosstools/updates/development/.<br />
Siga as instruções seguintes e reinicie o eclipse. Pronto! Agora a IDE possui ótimos recursos para desenvolvimento de paginas JSF, utilzando tecnologias como Hibernate, JBoss, entre outras.</p>
<p>Bom é isso, até a proxíma!<img src="/DOCUME%7E1/CONSIG%7E1/CONFIG%7E1/Temp/moz-screenshot.jpg" alt="" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JBOSS == JOBSS. Open Source middleware certification]]></title>
<link>http://bgeorges.wordpress.com/2009/11/15/free/</link>
<pubDate>Sun, 15 Nov 2009 14:37:43 +0000</pubDate>
<dc:creator>bgeorges</dc:creator>
<guid>http://bgeorges.wordpress.com/2009/11/15/free/</guid>
<description><![CDATA[Red Hat APAC just launched a new offer for JBoss Administrators who take the JB336 course this month]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Red Hat APAC just launched a new offer for JBoss Administrators who take the JB336 course this month.</p>
<p><a title="Free JBoss JBCAA certification" href="http://redhat.studio912.com/edm/JBoss/">Free JBCAA certification exam if you enroll in the JBoss Administration course in November</a></p>
<p>This training and certification combination packs quite a punch. JBoss training builds on your existing administration experience so that you can get the most out of your application stack. Having JBCAA certification will give you ability to install, configure, monitor, ..</p>
<p>Now, don&#8217;t wait, go online to benefit from this promotion!</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[PostgreSQL / JPA / EJB sequence ID jumping]]></title>
<link>http://bugsmacgyvered.wordpress.com/2009/11/12/postgresql-jpa-ejb-sequence-id-jumping/</link>
<pubDate>Thu, 12 Nov 2009 10:56:20 +0000</pubDate>
<dc:creator>opiquetus</dc:creator>
<guid>http://bugsmacgyvered.wordpress.com/2009/11/12/postgresql-jpa-ejb-sequence-id-jumping/</guid>
<description><![CDATA[If you encounter a problem where you generate a new primary key value through a persisted JPA entity]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you encounter a problem where you generate a new primary key value through a persisted JPA entity and it seems to change to a larger value than it&#8217;s suppose to. E.g. you add a new row of data to a table that has a primary key field called &#8220;id&#8221; and there&#8217;s only one value currently in that table which contains the &#8220;id&#8221; value 0 (zero). And yet the next value you add to the table through EJB / JPA jumps to a greatly larger value like 5000. SO to the chase. How to fix this problem:</p>
<p>Make sure you&#8217;re mapped @Id field is as follows:</p>
<p>@Id<br />
@GeneratedValue( strategy=GenerationType.SEQUENCE, generator=&#8221;generatorName&#8221; ) // name of the generator<br />
@SequenceGenerator( name=&#8221;generatorName&#8221;, sequenceName=&#8221;nameOfTheSequenceInYourDatabase&#8221;, allocationSize=1) // name of the sequence in the db<br />
@Column (name=&#8221;id&#8221;) // name of the column in the db<br />
private Integer id;</p>
<p>The most important part of that being: &#8220;allocationSize=1&#8243; this prevents the hibernate layer from trying to optimize this process so that when creating a new entry the server doesn&#8217;t have to go to the database to get this value. To quote my guru colleague: &#8220;This kind of optimization provides only marginal benefit.&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Die Entwicklungsplattform - Ein Update]]></title>
<link>http://codingtemple.wordpress.com/2009/11/11/die-entwicklungsplattform-ein-update/</link>
<pubDate>Wed, 11 Nov 2009 18:32:22 +0000</pubDate>
<dc:creator>ct</dc:creator>
<guid>http://codingtemple.wordpress.com/2009/11/11/die-entwicklungsplattform-ein-update/</guid>
<description><![CDATA[Wie man sieht, ist hier lange nichts passiert&#8230; das bedeutet aber keinen Projektstillstand]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Wie man sieht, ist hier lange nichts passiert&#8230; das bedeutet aber keinen Projektstillstand&#8230;</p>
<p><!--more-->zwei Umzüge haben mich etwas zurückgeworfen &#8211; ein häuslicher und ein Betriebssystemumzug auf Windows 7. Dadurch hat sich die Serverarchitektur etwas geändert: Jboss läuft nun nicht mehr auf Windows, sondern wurde mit in die virtuelle Debian-Maschine portiert. Dabei sind mir ein paar Kleinigkeiten aufgefallen, die hier erwähnenswert sind.</p>
<p>Als JDK sollte die Java Version 1.6 verwendet werden. Eine Installationsanleitung dafür findet man <a title="JDK Installation" href="http://wiki.infostudium.de/wiki/Installation_in_Linux_%28Java%29" target="_blank">hier</a>. Lädt man dazu allerdings den JBoss Server (5.1.0GA) auf JDK 1.6 Basis, meldet JBoss den Fehler &#8220;jmx-remoting.sar&#8221; kann nicht geladen werden. Diesen Fehler kann man durch Verwendung des Servers auf JDK 1.5 Basis beheben.</p>
<p>Der Mail Server wurde durch exim ersetzt (<em>apt-get install exim4</em>). Damit Mails rausgehen müssen noch folgende Einstellungen gemacht werden:</p>
<p>dpkg-reconfigure exim4-config &#8211;&#62; Dabei einstellen, dass Mails nicht nur im lokalen Netz verwendet werden sollen und die loopback adress (127.0.0.1) rauswerfen&#8230; Voila, es läuft <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Nähere Infos zur exim Konfiguration findet man aber auch <a title="exim konfigurieren" href="http://www.daniel-lewin.de/id/srv_exim.html" target="_blank">hier</a>.</p>
<p>So, happy coding &#8211; good to be back <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Int3s Partners with Red Hat to Turn on the Power for Toronto Hydro with JBoss Enterprise SOA Platform]]></title>
<link>http://customers.redhat.com/2009/11/11/int3s-partners-with-red-hat-to-turn-on-the-power-for-toronto-hydro-with-jboss-enterprise-soa-platform/</link>
<pubDate>Wed, 11 Nov 2009 12:30:24 +0000</pubDate>
<dc:creator>Red Hat Customer Reference Team</dc:creator>
<guid>http://customers.redhat.com/2009/11/11/int3s-partners-with-red-hat-to-turn-on-the-power-for-toronto-hydro-with-jboss-enterprise-soa-platform/</guid>
<description><![CDATA[One of the largest municipal electric distribution utility in Canada deploys JBoss Enterprise SOA Pl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img src="http://rhcustomers.wordpress.com/files/2009/11/int3s-toronto-hydro.jpg" align="right"/></p>
<p><em>One of the largest municipal electric distribution utility in Canada deploys JBoss Enterprise SOA Platform to eliminate proprietary lock-In and cut costs </em></p>
<p><strong>FAST FACTS</strong></p>
<p><strong>Customer:</strong> Toronto Hydro Corporation</p>
<p><strong>JBoss Advanced Business Partner:</strong> Int3s Corp.</p>
<p><strong>Industry:</strong> Utilities: Electric Power</p>
<p><strong>Geography:</strong> Toronto, Canada</p>
<p><strong>Business Challenge:</strong> To build a service-oriented architecture (SOA) as the foundation for future-looking strategic initiatives designed to support enablement of smart metering and smart grid integration, reduce operational costs, promote energy conservation, and improve IT productivity</p>
<p><strong>Solution:</strong>Deployed JBoss Enterprise SOA and Red Hat Enterprise Linux as the platform for innovative Smart Meter program and has successfully completed the initial phases of its program to create a customer-focused cost and energy-saving initiative</p>
<p><strong>Software:</strong> JBoss Enterprise SOA Platform (including JBoss ESB), Red Hat Enterprise Linux</p>
<p><strong>Benefits:</strong> Leveraging Int3s expertise in SOA and Red Hat / JBoss open source Enterprise Framework, Toronto Hydro was able to successfully complete the initial phases of its groundbreaking Smart Meter program and plan other customer-focused cost- and energy-saving initiatives going forward.</p>
<p><strong>Download the case study</strong> [<a href="http://rhcustomers.wordpress.com/files/2009/11/jboss_case-study_int3s_torontohydro.pdf"><strong>PDF</strong></a>]</p>
<p><em>“Toronto Hydro’s technology strategy required experienced resources to supplement internal staff in delivering complex custom development projects. The JBoss Enterprise SOA Platform is a comprehensive toolset that comes with everything we need to build a solid SOA for facilitating easy integration of disparate systems and data. It was the perfect solution to meet our current needs – and we trust Red Hat to meet our future ones.”– Nicholas Yee, Chief Technology Officer, Int3s </em></p>
<p><!--more--></p>
<p><strong>BACKGROUND</strong><br />
Toronto Hydro is one of the largest municipal electric distribution utility in Canada and operates two wholly owned affiliates with a combined workforce of over 1,400 people. It serves 697,000 residential and commercial customers across the greater Toronto Area, representing 18.5% of electricity consumers in the province of Ontario.  </p>
<p>Toronto Hydro’s technology strategy required experienced resources to supplement internal staff in delivering complex custom development projects and they partnered with Int3s, a Red Hat Advanced Business Partner, to help implement JBoss Enterprise SOA platform, including JBoss ESB. </p>
<p>Int3s designs, develops, and implements IT solutions for energy and utility, financial, and telecommunications organizations. By automating key business processes, Int3s is able to cost-effectively improve the overall business performance of its clients. A Red Hat Advanced Business Partner, Int3s has two distinct practices: one dedicated to service-oriented architecture (SOA) development and implementation, and one focused on business intelligence (BI) solutions. In both of its lines of business, Int3s is committed to using open source products for strategic client initiatives.</p>
<p><strong>BUSINESS CHALLENGE</strong><br />
In late 2006, the Vice President of IT &#38; Chief Information Officer of Toronto Hydro-Electric System, Eduardo E. Bresani, called in Nicholas Yee, the Chief Technology Officer of Int3s, to help him with an ambitious new five-year strategic initiative. His goal was to implement a service-oriented architecture (SOA) to replace his organization’s traditional IT infrastructure. </p>
<p>“The new CIO was focused on modernizing the technology infrastructure, and developing a plan to build next-generation systems that would enable the firm to be more agile and efficient,” said Yee. “One of the most attractive features of an SOA is that it allows companies to build composite services in which business processes can be extended over a number of different applications. “Using an SOA to integrate a number of disparate systems was one of the primary goals of the new CIO,” said Yee.</p>
<p>A key business driver for the change was the firm’s availability of IT resources. “Toronto Hydro continuing issue was that system integration and support activities were using more and more resources over time,” said Yee. “The CIO wanted to free up his personnel to focus on more strategic and value-added matters.” </p>
<p>A key business driver for the change was the firm’s availability of IT resources. Specifically, building point-to-point interfaces between all the various systems Toronto Hydro had put into place over the years – legacy as well as client-server and Web-based systems – was proving too costly and complex. “All the custom coding was proving very expensive to develop and maintain,” said Yee. </p>
<p>The new SOA implementation was part of Toronto Hydro’s groundbreaking “Smart Meter” initiative. The initiative had three primary business goals: to help the firm be more customer-focused; to provide its residential and business customers with tools to do a better job of conserving energy while managing their own electricity costs; and to meet regulatory mandates to use less energy, especially during periods of peak usage.</p>
<p>In the case of Toronto Hydro’s Smart Meter program as mandated by the province of Ontario, the intention was to program variable pricing into the system based on the time of day that electricity was consumed (Time-Of-Use billing). The goal was to price electricity higher during peak times to encourage people and businesses to conserve energy during periods of high demand. </p>
<p><strong>SOLUTION</strong><br />
Toronto Hydro and Int3s selected JBoss Enterprise Middleware for the Smart Meter program due to the size and stability of the technology and the toolsets that JBoss provided, including JBoss Hibernate, Rules, and jBPM Frameworks, to simplify the migration from Mule to the JBoss platform.</p>
<p>One of Toronto Hydro’s most important applications uses the JBoss SOA platform as a mashup framework to allow customers to view their consumption data on the Web.</p>
<p>“We didn’t want to be dependent on proprietary products for our SOA framework. What JBoss gives me is a solution that works with other products as long as they meet open source standards,&#8221; said Eduardo Bresani, Chief Information Officer, Toronto Hydro.</p>
<p>The second reason Toronto Hydro went with JBoss was the flexibility of the subscription model. “JBoss doesn’t charge for the product itself, but for the support – and we valued the enterprise level support that JBoss provides,” said Bresani.</p>
<p>Moving to an SOA was an essential first step in implementing Toronto Hydro’s Smart Meter initiative, as multiple diverse systems and data sets needed to be integrated to collect, process, and disseminate all the relevant customer and operational information. “Building custom APIs between each of the many systems involved simply wasn’t an option,” said Yee.</p>
<p>From the very beginning of the project, open source was the answer. “With open source, we could avoid vendor lock-in, and standardize everything related to business logic, business processes, and data models,” said Yee. </p>
<p>In a previous solution, Yee had led the team that developed the Rosetta Enterprise Service Bus (ESB), which was acquired by Red Hat’s Middleware Business Unit in 2006 and incorporated into the JBoss Enterprise SOA Platform. After running an evaluation program with the Mule ESB, the JBoss SOA Platform was selected and implemented as part of the Early Adopter Program in early 2008. </p>
<p>Although Toronto Hydro is not the largest utility in North America, it currently has the largest production deployment of smart meters on the continent which stands at over 600,000. The firm is also reaffirming its leadership position by rolling out its Time-Of-Use billing initiative that will bill customers higher rates at peak times, and lower rates at off-peak times. </p>
<p>“From a strategic point of view, Toronto Hydro’s commitment to open source made it an imperative to look at the size and stability of the technology vendor we chose for the long-term,” said Yee. “Based on our technical evaluations, we realized it was a much better fit to align ourselves with JBoss.” In addition to other functional advantages, there were the toolsets that JBoss provided, including JBoss Hibernate, Rules, and jBPM Frameworks. “These were all powerful tools that made migration from Mule over to the JBoss platform a very straightforward process,” said Yee.</p>
<p>Since the initial smart meter implementation, Int3s has expanded the use of the JBoss SOA Platform at Toronto Hydro in multiple projects including the development of an ETL (Extract, Transform and Load) framework for a new Enterprise Data Warehouse and integration to Google’s PowerMeter project.  The SOA Platform has also simplified large system implementations such as Oracle’s Customer Information System and the International Financial Reporting Standards (IFRS) using SAP.</p>
<p><strong>BENEFITS</strong><br />
The support provided by Red Hat has been superb. “As an Advanced Business Partner, we’ve had terrific access to some of the best development professionals at JBoss,” said Yee.  “Not only were they very responsive when we called, but they asked us to help prioritize what functionality should be incorporated in future releases of the platform, ensuring that JBoss will continue to meet our evolving needs.”</p>
<p>From a global perspective, utilities have moved from focusing on simply “keeping the lights on” to better matching supply to demand. </p>
<p>“Ultimately, it comes down to developing new applications that can be integrated with existing systems, and consolidating the huge amounts of complex data that comes from the household as well as the utility company,” said Yee. “Although we’re still in the infancy of that effort at Toronto Hydro, the JBoss Enterprise SOA Platform will enable us to do that.” </p>
<p>“JBoss technology comes with everything we need to build a solid SOA for facilitating easy integration of disparate systems and data. It was the perfect solution to meet our current needs – and we trust Red Hat to meet our future ones,” said Yee. </p>
<p>Toronto Hydro is also very pleased with the relationship its firm has forged with Red Hat. Other Red Hat utilities clients can now leverage the experience Int3s gained during its work with Toronto Hydro. “It’s a win-win situation for us both,” said Yee.</p>
<p>“Our relationship with Red Hat has been very good, everything has always gone very smoothly. In meetings with Red Hat at the headquarters in Raleigh, Bresani discussed the innovative deployment with executives. Bresani recalls the meetings, &#8220;We discussed how we were using the products and how we could work together closely to make their products more successful. The meeting gave me confidence that we’d made the right choice of technology and vendor.&#8221;</p>
<p>“We’ve succeeded because of the combination of the leadership of Toronto Hydro, the innovation of the Red Hat products, and the expertise of Int3s integrating systems. Together they allowed us to leverage the power of JBoss and really make the technology work for us.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Red Hat (JBoss) включён в квадрат лидеров Gartner]]></title>
<link>http://blog.diyakov.com/2009/11/11/jboss-gartner/</link>
<pubDate>Wed, 11 Nov 2009 07:29:06 +0000</pubDate>
<dc:creator>peterkd</dc:creator>
<guid>http://blog.diyakov.com/2009/11/11/jboss-gartner/</guid>
<description><![CDATA[Аналитики из Gartner опубликовали новый отчёт о рынке Enterprise Application Servers (EAS). По данны]]></description>
<content:encoded><![CDATA[Аналитики из Gartner опубликовали новый отчёт о рынке Enterprise Application Servers (EAS). По данны]]></content:encoded>
</item>
<item>
<title><![CDATA[How to get a thread-dump from Tomcat or JBoss]]></title>
<link>http://freddyandersen.wordpress.com/2009/11/10/how-to-get-a-thread-dump-from-tomcat-or-jboss/</link>
<pubDate>Tue, 10 Nov 2009 18:21:17 +0000</pubDate>
<dc:creator>Freddy</dc:creator>
<guid>http://freddyandersen.wordpress.com/2009/11/10/how-to-get-a-thread-dump-from-tomcat-or-jboss/</guid>
<description><![CDATA[Getting a thread-dump is one of the first steps in troubleshooting a misbehaving Java application. T]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Getting a thread-dump is one of the first steps in troubleshooting a misbehaving Java application. There are a few good ways todo this task but the easiest of them all is</p>
<h3><strong>kill -3 &#60;PID&#62;</strong></h3>
<p>This will send the thread-dump to your stdout logs.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Starting JBoss 5.1 automatically in FreeBSD 7.2]]></title>
<link>http://samzplace.wordpress.com/2009/11/10/starting-jboss-5-1-automatically-in-freebsd-7-2/</link>
<pubDate>Tue, 10 Nov 2009 01:27:20 +0000</pubDate>
<dc:creator>Joshua</dc:creator>
<guid>http://samzplace.wordpress.com/2009/11/10/starting-jboss-5-1-automatically-in-freebsd-7-2/</guid>
<description><![CDATA[I have used the ports collection to install JBoss 5.1 on my FreeBSD 7.2 Box. The installation went w]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have used the ports collection to install JBoss 5.1 on my FreeBSD 7.2 Box. The installation went well and as usual, the ports installation process did all the downloading and compiling of the package and its dependencies.</p>
<p>After installation, I need to test it to start developing. So I did a command to start it<br />
<code>/usr/local/jboss5/bin/run.sh</code></p>
<p>All works well and JBoss starts. I opened a browser in my local machine and visited http://127.0.0.1:8080 and the JBoss start page is loaded. </p>
<p>Next thing I have to do is to access JBoss on a different machine.</p>
<p>I then used my netbook to access http://192.168.0.***:8080 to my surprise, I didn&#8217;t get a response and an error message was displayed in my browser. I then searched the web for an answer. After a couple of links I was able to get an answer. I need to start JBoss with the option -b 0.0.0.0 supplied to the script run.sh. By default JBoss is binded to 127.0.0.1, meaning only the local machine can access it. So I have to find a way to start JBoss passed with that option.</p>
<p>Here are the steps to make JBoss automatically started on boot:<br />
1. Add these lines at the end of /etc/rc.conf<br />
<code>jboss5_enable="YES"<br />
jboss5_flags="-Djboss.bind.address=0.0.0.0"</code></p>
<p>2. The default jboss5 script in the /usr/local/etc/rc.d directory does not work with -b 0.0.0.0. Therefore, you have to replace it by the /usr/local/jboss5/bin/run.sh script. After replacing it, the &#8220;start&#8221; &#8220;stop&#8221; and &#8220;restart&#8221; options does not work with the script, but if you want to, you are free to edit the script to include it.<br />
<code>mv /usr/local/etc/rc.d/jboss5 /usr/local/etc/rc.d/jboss5-original-script</code><br />
<code>cp /usr/local/jboss5/bin/run.sh /usr/local/etc/rc.d/jboss5</code></p>
<p>3. Create a bin directory at the /usr/local/etc/<br />
<code>mkdir /usr/local/etc/bin</code></p>
<p>4. Make a symlink for /usr/local/jboss5/bin/run.jar inside /usr/local/etc/bin<br />
<code>ln -s /usr/local/jboss5/bin/run.jar /usr/local/etc/bin/jbossrun.jar</code></p>
<p>5. Edit /usr/local/etc/rc.d/jboss5 so that  jbossrun.jar will be the file needed to start it<br />
<code>vi /usr/local/etc/rc.d/jboss5</code></p>
<p>6. Find the line runjar=&#8221;$JBOSS_HOME/bin/run.jar&#8221; and replace it with runjar=/usr/local/etc/bin/jbossrun.jar</p>
<p>7. Run jboss by using (this does not include the start, restart, and stop options, again if you want to, you are free to edit the script to fit your needs)<br />
<code>/usr/local/etc/rc.d/jboss5</code></p>
<p>8. On your next restart of FreeBSD, JBoss will start and will be accessible to other machines.</p>
<p>Enjoy!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Jboss JMX with Hyperic]]></title>
<link>http://techzen.wordpress.com/2009/11/09/jboss-jmx-with-hyperic/</link>
<pubDate>Mon, 09 Nov 2009 09:56:38 +0000</pubDate>
<dc:creator>techzen</dc:creator>
<guid>http://techzen.wordpress.com/2009/11/09/jboss-jmx-with-hyperic/</guid>
<description><![CDATA[One of the uses of JMX is for exposing any data across remotely. If you need to use Jboss and Hyperi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>One of the uses of JMX is for exposing any data across remotely.<br />
If you need to use Jboss and Hyperic for JMX configuration then following configurations are required:</p>
<p>1. Select a property to be exposed. To test: take Catalina:type=StringCache , this is existing by default.<br />
2. In Hyperic you can create the plugin .xml file either in the /hq-plugins folder or  in the /hq/agent-4.1.3/bundles/agent-4.1.3-1067/pdk plugins folder.</p>
<p>3. The plugin xml file for String cache jmx  attr named: cacheSize in the file customjmx-plugin.xml  is below:</p>
<pre class="brush: xml;">
&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;plugin name=&#34;customjmx&#34; package=&#34;org.hyperic.hq.product.jmx&#34;&#62;
  &#60;classpath&#62;
    &#60;include name=&#34;pdk/lib/mx4j&#34;/&#62;
  &#60;/classpath&#62;

  &#60;config name=&#34;jmx&#34; type=&#34;global&#34;&#62;
    &#60;option name=&#34;jmx.url&#34;
            description=&#34;JMX URL to MBeanServer&#34;
            default=&#34;service:jmx:rmi:///jndi/rmi://machineName:12345/jmxrmi&#34;/&#62;
  &#60;/config&#62;

&#60;property name=&#34;BEAN_NAME&#34;
            value=&#34;Catalina:type=StringCache&#34;/&#62;
&#60;server name=&#34;jboss_jmx&#34;&#62;
          &#60;property name=&#34;PROC_HOME_PROPERTY&#34; value=&#34;program.name=testJboss.sh&#34;/&#62;
          &#60;property name=&#34;PROC_MAIN_CLASS&#34; value=&#34;org.jboss.Main&#34;/&#62;
	  &#60;plugin type=&#34;autoinventory&#34;
		class=&#34;org.hyperic.hq.product.jmx.MxServerDetector&#34;/&#62;
	&#60;plugin type=&#34;measurement&#34;
			class=&#34;org.hyperic.hq.product.jmx.MxMeasurementPlugin&#34;/&#62;
          &#60;metric name=&#34;cacheSize&#34;
                  template=&#34;${BEAN_NAME}:cacheSize&#34;
                  alias=&#34;cacheSize&#34;
                  indicator=&#34;true&#34;/&#62;
 &#60;/server&#62;
&#60;/plugin&#62;
</pre>
<p>Hyperic uses SIGAR for discovering processes and the <a href="http://support.hyperic.com/display/SIGAR/PTQL">PTQL </a>is the process table query language used.<br />
Launch sigar using java -jar sigar.jar and test the ptql in this prompt.</p>
<p>The important thing to know is that arguments to ps command can be seen through pargs &#60;process_id&#62; and then knowing that -D is appended by default when the main class is defined and then the final sigar cmd becomes:</p>
<p>ps  State.Name.sw=java,Args.*.eq=org.jboss.Main,Args.*.re=-Dprogram.name=testJboss.sh</p>
<p>Where the value program.name=testJboss.sh is defined in the customjmx-plugin.xml in the PROC_HOME_PROPERTY value.</p>
<p>Also, recall that if you need to associate your custom Mbean with jboss mbean viewer &#8211; then you need to register your mbean in the jboss specific mbean server whose instances can be found through the following<a href="http://www.jboss.org/community/wiki/FindMBeanServer"> defined ways.</a></p>
<p>Also, to expose the jboss mbeans &#8211; to jconsole &#8211; follow the steps <a href="http://www.jboss.org/community/wiki/JBossMBeansInJConsole">detailed</a> here.</p>
<p>I modified the run.conf with the following java opts.</p>
<p>JAVA_OPTS=&#8221;-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false  -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl &#8220;</p>
<p>&#160;</p>
<p>To test if your plugin works:</p>
<pre class="brush: java;">
java -jar /home/hyp/hq/agent-4.1.3/bundles/agent-4.1.3-1067/pdk/lib/hq-product.jar -Dplugins.include=customjmx  -m discover -a metric -Dlog=DEBUG
</pre>
<p>It took some time &#8211; to identify this &#8211; mainly because of incomplete(and incorrect!_) documentation which is the evil part of using open source &#8211; the good thing was &#8211; the hyperic forum is definitely alive</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[JBoss Tools Installation on Fedora 11]]></title>
<link>http://fhornain.wordpress.com/2009/11/06/jboss-tools-installation-on-fedora-11/</link>
<pubDate>Fri, 06 Nov 2009 11:02:33 +0000</pubDate>
<dc:creator>Frederic Hornain</dc:creator>
<guid>http://fhornain.wordpress.com/2009/11/06/jboss-tools-installation-on-fedora-11/</guid>
<description><![CDATA[As I am currently working with JBoss seam, I had to install JBoss Tools on my Fedora Eclipse 3.4.2 ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-medium wp-image-481" title="tools-banner" src="http://fhornain.wordpress.com/files/2009/11/tools-banner.png?w=300" alt="tools-banner" width="300" height="36" /></p>
<p>As I am currently working with JBoss seam, I had to install JBoss Tools on my Fedora Eclipse 3.4.2 &#8211; Fedora 11 -.</p>
<p>So in order to share the procedure to every one and mostly to avoid to forget or lose it I decided to write it on this blog.</p>
<p>In addition, it permit to avoid eclipse/JBoss Tools problems dependence such as :</p>
<p><img class="alignleft size-medium wp-image-492" title="Screenshot-Install" src="http://fhornain.wordpress.com/files/2009/11/screenshot-install.png?w=300" alt="Screenshot-Install" width="300" height="248" /></p>
<p>And Errors such as :</p>
<p><em>Cannot complete the request.  See the details.<br />
Unsatisfied dependency: [org.hibernate.eclipse.feature.feature.group 3.2.4.v200909151014R-H192-GA] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/1.1.0</em></p>
<p>So these are the steps :</p>
<p><span style="text-decoration:underline;"><strong>I] Install Eclispe on your Fedora.</strong></span></p>
<p>I.I] Open a terminal as standard user &#8211; here mine &#8220;fhornain&#8221; &#8211; and be root.</p>
<p style="padding-left:30px;">[fhornain@localhost ~]$ su -</p>
<p style="padding-left:30px;">[root@localhost ~]# yum install java-1.6.0-openjdk-devel</p>
<p style="padding-left:30px;">[root@localhost ~]# yum install eclipse-platform</p>
<p><span style="text-decoration:underline;"><strong>II ] Launch eclipse.</strong></span></p>
<p>II.I] Indeed you should select in you Fedora main menu bar  Applications &#62; Programming &#62; Eclipse</p>
<p>If not, launch a terminal and run the following command :</p>
<p style="padding-left:60px;">[fhornain@localhost ~]$ eclipse<code> -vm </code>/usr/bin/java</p>
<p>Rem: Change the path <strong>/usr/bin/java </strong>if it is not your java default location <strong><br />
</strong></p>
<p>Then you should see the eclipse starting banner &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-482" title="Screenshot-Eclipse" src="http://fhornain.wordpress.com/files/2009/11/screenshot-eclipse.png?w=300" alt="Screenshot-Eclipse" width="300" height="194" /></p>
<p style="padding-left:30px;">
<p>II.II] Then eclipse should ask you where you would like to save your projects &#8211; see image below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-483" title="Screenshot-Workspace Launcher" src="http://fhornain.wordpress.com/files/2009/11/screenshot-workspace-launcher.png?w=300" alt="Screenshot-Workspace Launcher" width="300" height="151" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">The default location should be fine &#8211; well, for me <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  -</p>
<p>II.III] Then Welcome screen appears &#8211; see below -. Close it with a click on the top left cross.</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-484" title="Screenshot-Resource - Fedora Eclipse" src="http://fhornain.wordpress.com/files/2009/11/screenshot-resource-fedora-eclipse.png?w=300" alt="Screenshot-Resource - Fedora Eclipse" width="300" height="224" /></p>
<p><span style="text-decoration:underline;"><strong>III ] Install JBoss Tools</strong></span></p>
<p>III.I] When Eclipse starts, go to Help &#62; Software Updates. The following window should appears :</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-485" title="Screenshot-Software Updates and Add-ons" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons.png?w=300" alt="Screenshot-Software Updates and Add-ons" width="300" height="196" /></p>
<p>III.II] Then click on the tab named &#8220;Available Software&#8221; &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-487" title="Screenshot-Software Updates and Add-ons" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons1.png?w=300" alt="Screenshot-Software Updates and Add-ons" width="300" height="196" /></p>
<p>III.III] Then click on button &#8220;Add Site&#8221; on the right of the window &#8211; see above &#8211; :</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-488" title="Screenshot-Software Updates and Add-ons -1" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons-11.png?w=300" alt="Screenshot-Software Updates and Add-ons -1" width="300" height="196" /></p>
<p>III.IV] You see appear a new window where you are going to past the following URL : <a href="http://download.jboss.org/jbosstools/updates/stable/">http://download.jboss.org/jbosstools/updates/stable/</a> which is the offcial JBoss Tools URL &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-490" title="Screenshot-Add Site" src="http://fhornain.wordpress.com/files/2009/11/screenshot-add-site.png?w=300" alt="Screenshot-Add Site" width="300" height="100" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">Then click the OK button.</p>
<p>III.V] Then do the same with <a href="http://download.eclipse.org/releases/ganymede/">http://download.eclipse.org/releases/ganymede/</a> and <a href="http://download.eclipse.org/birt/update-site/2.3/">http://download.eclipse.org/birt/update-site/2.3/</a> as mentioned for JBoss Tools in points III.III] and III.IV]</p>
<p>III.VI] You should see appear a new line in the &#8220;Software updates and add-ons&#8221; window &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-493" title="Screenshot-Software Updates and Add-ons" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons2.png?w=300" alt="Screenshot-Software Updates and Add-ons" width="300" height="196" /></p>
<p>III.VII] Then click on the link &#8220;Ganymade Update Site&#8221; as show in the above picture :</p>
<p style="padding-left:30px;"><img title="Screenshot-Software Updates and Add-ons -1" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons-1.png?w=300" alt="Screenshot-Software Updates and Add-ons -1" width="300" height="195" /></p>
<p>III.VIII] Then go down and choose &#8220;Web and Java EE Development&#8221;</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-494" title="Screenshot-Software Updates and Add-ons" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons3.png?w=300" alt="Screenshot-Software Updates and Add-ons" width="300" height="196" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">And click on the install button &#8211; see above -.</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-495" title="Screenshot-Software Updates and Add-ons -1" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons-12.png?w=300" alt="Screenshot-Software Updates and Add-ons -1" width="300" height="196" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">Then the installation start &#8211; see above &#8211; :</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-496" title="Screenshot-Install" src="http://fhornain.wordpress.com/files/2009/11/screenshot-install1.png?w=300" alt="Screenshot-Install" width="300" height="217" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">Then click on next button, accept the term of the licence and click on  the finish button.</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-497" title="Screenshot-Install -2" src="http://fhornain.wordpress.com/files/2009/11/screenshot-install-2.png?w=300" alt="Screenshot-Install -2" width="300" height="217" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">The packages installation starts &#8211; see above &#8211; :</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-498" title="Screenshot-Install -3" src="http://fhornain.wordpress.com/files/2009/11/screenshot-install-3.png?w=300" alt="Screenshot-Install -3" width="300" height="210" /></p>
<p>Finally the installation finish and the following window appear in order to reboot the eclipse IDE application &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-499" title="Screenshot-Software Updates" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates.png?w=300" alt="Screenshot-Software Updates" width="300" height="83" /></p>
<p>Click on the Yes button</p>
<p>III.IX ] Now we&#8217;ll do the same steps for JBoss Tools and Bitr as we did for Ganymed &#8220;Web and Java EE Development&#8221;.</p>
<p>You should see the entered JBoss Tools links done during III.III] and III.IV] steps then click on the JBoss Tools arrow and select JBoss Tools line &#8211; see above -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-491" title="Screenshot-Software Updates and Add-ons -2" src="http://fhornain.wordpress.com/files/2009/11/screenshot-software-updates-and-add-ons-2.png?w=300" alt="Screenshot-Software Updates and Add-ons -2" width="300" height="196" /></p>
<p>And do the same procedure as we did for Ganymed &#8220;Web and Java EE Development&#8221; at step III.VIII].</p>
<p>Let&#8217;s hope it clear.</p>
<p>Now you can play with seam and other JBoss projects&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>IV] Launch Seam project with Eclipse and Jboss Tools.</p>
<p>IV.I] Indeed you should select in you Fedora main menu bar  Applications &#62; Programming &#62; Eclipse</p>
<p style="padding-left:30px;">If not, launch a terminal and run the following command :</p>
<p style="padding-left:60px;">[fhornain@localhost ~]$ eclipse<code> -vm </code>/usr/bin/java</p>
<p style="padding-left:30px;">Rem: Change the path <strong>/usr/bin/java </strong>if it is not your java default location <strong><br />
</strong></p>
<p style="padding-left:30px;">You should see appear the following window :</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-501" title="Screenshot-Resource - Fedora Eclipse" src="http://fhornain.wordpress.com/files/2009/11/screenshot-resource-fedora-eclipse1.png?w=300" alt="Screenshot-Resource - Fedora Eclipse" width="300" height="159" /></p>
<p>IV.II] Then click on the main menu bar File &#62; New &#62; Project and the following window appears &#8211; see below -</p>
<p style="padding-left:30px;"><img class="alignleft size-medium wp-image-502" title="Screenshot-New Project" src="http://fhornain.wordpress.com/files/2009/11/screenshot-new-project.png?w=300" alt="Screenshot-New Project" width="300" height="244" /></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">
<p style="padding-left:30px;">Then Choose your new JBoss Seam Project and name it.</p>
<p style="padding-left:30px;">
<p style="padding-left:30px;">BTW, do not forget <a href="http://download.eclipse.org/birt/update-site/2.3/">BIRT</a> otherwise you will not have JDBC Connectors</p>
<p style="padding-left:30px;">Enjoy !</p>
<p style="padding-left:30px;">Related links : <a href="http://www.jboss.org/community/wiki/InstallingJBossTools">http://www.jboss.org/community/wiki/InstallingJBossTools</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[javax.naming.NameNotFoundException: jdbc not bound]]></title>
<link>http://bugsmacgyvered.wordpress.com/2009/11/05/javax-naming-namenotfoundexception-jdbc-not-bound/</link>
<pubDate>Thu, 05 Nov 2009 14:52:17 +0000</pubDate>
<dc:creator>opiquetus</dc:creator>
<guid>http://bugsmacgyvered.wordpress.com/2009/11/05/javax-naming-namenotfoundexception-jdbc-not-bound/</guid>
<description><![CDATA[Nevermind the solution below, the actual problem was that in my persistence.xml I had wrong jta-data]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nevermind the solution below, the actual problem was that in my persistence.xml I had wrong jta-datasource:</p>
<p>&#160;</p>
<p>RIGHT: jta-data-source&#62;java:/jdbc/DataSourceName&#60;/jta-data-source&#62;<br />
WRONG: jta-data-source&#62;jdbc/DataSourceName&#60;/jta-data-source&#62;</p>
<p>&#160;</p>
<p>If you get the error below when deploying an EAR to JBoss:</p>
<p>javax.naming.NameNotFoundException: jdbc not bound</p>
<p>Try adding the following line under jndi-name tag in your xxxx-ds.xml in JBoss&#8217; deploy folder:</p>
<blockquote><p>&#60;use-java-context&#62;false&#60;/use-java-context&#62;</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Jboss JMX Url]]></title>
<link>http://techzen.wordpress.com/2009/11/04/jm/</link>
<pubDate>Wed, 04 Nov 2009 09:20:46 +0000</pubDate>
<dc:creator>techzen</dc:creator>
<guid>http://techzen.wordpress.com/2009/11/04/jm/</guid>
<description><![CDATA[Hostname: name of machine where jboss is running portnumber : is the port of jmxremote property and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hostname: name of machine where jboss is running<br />
portnumber : is the port of jmxremote property and NOT jni and NOT RMI port defined in jboss-service.xml file.</p>
<p>So if you need to connect to jboss mbean through jconsole: add the following the run.conf file JAVA_OPTS</p>
<p> -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl</p>
<p>And then you can connect either remotely: localhost:12345</p>
<p>OR </p>
<p>through the JMX service url</p>
<p>service:jmx:rmi:///jndi/rmi://HostName:portnumber/jmxrmi</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[HornetQ: la nueva mensajería de JBoss]]></title>
<link>http://lucazamador.wordpress.com/2009/10/31/hornetq-la-nueva-mensajeria-de-jboss/</link>
<pubDate>Sat, 31 Oct 2009 23:40:40 +0000</pubDate>
<dc:creator>lucaz</dc:creator>
<guid>http://lucazamador.wordpress.com/2009/10/31/hornetq-la-nueva-mensajeria-de-jboss/</guid>
<description><![CDATA[HornetQ es el nuevo producto de mensajería que está siendo desarrollado para reemplazar JBoss Messag]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-full wp-image-123" title="hornetQ_logo_450px" src="http://lucazamador.wordpress.com/files/2009/10/hornetq_logo_450px.png" alt="hornetQ_logo_450px" width="450" height="130" /></p>
<p>HornetQ es el nuevo producto de mensajería que está siendo desarrollado para reemplazar JBoss Messaging en su stack de aplicaciones. Si bien está basado en JBoss Messaging está completamente desarrollado desde cero tomando las mejores características de este y agregando un nuevo diseño basado en POJO lo que permite ejecutarlo standalone dentro de tu aplicación con unas pocas líneas de código, entre otras características. Desde su sorpresivo anuncio en el JBoss World está teniendo muchísima atención como una buena alternativa para reemplazar a otros productos open source como ActiveMQ, que desgraciadamente está dando muchas decepciones a la comunidad, a tal punto que varias empresas están empezando a migrar a HornetQ sin siquiera existir una versión final.</p>
<p>Características principales:</p>
<ul>
<li>Open Source y desarrollado en Java 1.5, aunque hay planes para migrar a 1.6 dejando retrocompatibilidad</li>
<li>Soporte JMS y una API propia de mensajería (que elimina el overhead de JMS), además existen planes para agregar otros protocolos como AMQP, STOMP, etc.</li>
<li>Diseñado con POJOs y con una mínima dependencias de libreria de terceros (practicamente nula)</li>
<li>Alta disponibilidad, clustering y alta performance a partir de su propio journaling de alta performance (libaio/Java NIO)</li>
</ul>
<p>Se espera que esté integrado en la próxima release del AS 5 y una versión GA dentro de las próximas semanas. Si bien se puede instalar en un AS 4 no es lo óptimo, pero se puede hacer mediante los scripts de integración que viene en la distro.</p>
<p>Precisamente en esa tarea estuve involucrado estas últimas semanas junto al team de desarrollo. Lo que realice fue básicamente unos scripts y un par de  Standard MBean que permiten instalar una instancia de HornetQ en cualquier versión del AS 4 de forma transparente al usuario y de forma similar a la que se realiza ahora en un AS 5. Esta funcionalidad está disponible en el trunk de proyecto y en los nighty builds, mientras se espera que esté disponible la CR1.</p>
<p>Es una buena oportunidad de ayudar a la comunidad en tus tiempos libres, si alguien está interesado los developers están buscando activamente nueva gente para involucrarse y te lo van a agradecer.</p>
<p>Por último dejo el sitio oficial del proyecto, donde pueden ver la documentación, las FAQs y hacia donde se dirigen</p>
<p><a href="http://www.hornetq.org">http://www.hornetq.org</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Introducción JBoss Seam]]></title>
<link>http://sebasjm.wordpress.com/2009/10/29/introduccion-jboss-seam/</link>
<pubDate>Fri, 30 Oct 2009 00:46:53 +0000</pubDate>
<dc:creator>Sebastian Javier Marchano</dc:creator>
<guid>http://sebasjm.wordpress.com/2009/10/29/introduccion-jboss-seam/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><!-- SlideShare error: doc is missing or has illegal characters /[^-_a-zA-Z0-9]/ --></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[javax.xml.ws. WebServiceException: Cannot find service endpoint target]]></title>
<link>http://bugsmacgyvered.wordpress.com/2009/10/28/javax-xml-ws-webserviceexception-cannot-find-service-endpoint-target/</link>
<pubDate>Wed, 28 Oct 2009 11:17:59 +0000</pubDate>
<dc:creator>opiquetus</dc:creator>
<guid>http://bugsmacgyvered.wordpress.com/2009/10/28/javax-xml-ws-webserviceexception-cannot-find-service-endpoint-target/</guid>
<description><![CDATA[This is a mean f****r. Seems to be occurring quite often. Sometimes it&#8217;s because application.x]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is a mean f****r. Seems to be occurring quite often. Sometimes it&#8217;s because application.xml has modules in the wrong order, for example if your web module depends on your EJB module and the web module is deployed first, you might get this error.  This time I encountered it, the workaround or MacGyver<span style="font-family:verdana,arial;font-size:x-small;">™</span> fix was fixing my &#60;jta-data-source&#62;java:/jdbc/DataSourceName&#60;/jta-data-source&#62; in persistence.xml to what it is in my -ds.xml file in JBoss&#8217; deploy folder. Usually the real error is in the end of the long error stack.</p>
<p>Like this:</p>
<p>&#8212; MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM &#8212;<br />
ObjectName: jboss.jca:name=DataSourceName,service=DataSourceBinding<br />
State: NOTYETINSTALLED<br />
Depends On Me:<br />
persistence.units:ear=NameEAR.ear,jar=NameEJB.jar,unitName=unit-name-ejb</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Novo endereço]]></title>
<link>http://edersonmelo.wordpress.com/2009/10/27/novo-endereco/</link>
<pubDate>Tue, 27 Oct 2009 12:54:10 +0000</pubDate>
<dc:creator>edersonmelo</dc:creator>
<guid>http://edersonmelo.wordpress.com/2009/10/27/novo-endereco/</guid>
<description><![CDATA[Peço a todos desculpas pela falta de postagem recentemente, mas o motivo foi nobre, a troca de ender]]></description>
<content:encoded><![CDATA[Peço a todos desculpas pela falta de postagem recentemente, mas o motivo foi nobre, a troca de ender]]></content:encoded>
</item>
<item>
<title><![CDATA[Ejb 3 con SpringBeanAutowiringInterceptor]]></title>
<link>http://nerdnotes.wordpress.com/2009/10/26/ejb-3-con-springbeanautowiringinterceptor/</link>
<pubDate>Mon, 26 Oct 2009 21:51:05 +0000</pubDate>
<dc:creator>Mirko Caserta</dc:creator>
<guid>http://nerdnotes.wordpress.com/2009/10/26/ejb-3-con-springbeanautowiringinterceptor/</guid>
<description><![CDATA[Integrare spring in un ejb 3 è possibile usando la classe SpringBeanAutowiringInterceptor. La docume]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Integrare spring in un ejb 3 è possibile usando la classe <span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;"><a href="http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.html">SpringBeanAutowiringInterceptor</a></span>. La documentazione di spring ne riporta <a href="http://static.springsource.org/spring/docs/2.5.x/reference/ejb.html#ejb-implementation-ejb3">un esempio</a> sufficientemente esplicativo. Tuttavia se ad esempio il nostro ejb si trova in un ear con classloader condiviso (questo è il default su jboss 4.2 se non esplicitamente configurato nel <span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">jboss-app.xml</span> come specificato nella <a href="http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Server_Configuration_Guide/ch01s04s02.html">documentazione di jboss</a>), l&#8217;interceptor di spring potrebbe trovare nel classpath un file <span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">beanRefContext.xml</span> di un&#8217;altra applicazione, con conseguenze inattese.</p>
<p>Per fare in modo che l&#8217;interceptor di spring trovi il file giusto, è necessario definire un file xml di configurazione di spring con un nome univoco all&#8217;interno dell&#8217;application server ed usare una classe custom che estenda l&#8217;interceptor di spring:</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">public class VipManagerSpringBeanAutowiringInterceptor extends SpringBeanAutowiringInterceptor {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">private static final String CONTEXT_FILE = &#8220;ejb-vip-manager-context.xml&#8221;;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">@Override</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">protected BeanFactory getBeanFactory(Object o) {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">return SpringBeanFactoryManager.getBeanFactory();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">private static class SpringBeanFactoryManager {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">private static final SpringBeanFactoryManager instance = new SpringBeanFactoryManager();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">private final ClassPathXmlApplicationContext context;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">private SpringBeanFactoryManager() {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">// singleton</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">context = new ClassPathXmlApplicationContext(CONTEXT_FILE);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">public static BeanFactory getBeanFactory() {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">return instance.context.getBeanFactory();</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:69px;width:1px;height:1px;">}</div>
<pre>public class MySpringBeanAutowiringInterceptor
    extends SpringBeanAutowiringInterceptor {

    private static final String CONTEXT_FILE = "my-ejb-context.xml";

    @Override
    protected BeanFactory getBeanFactory(Object o) {
        return SpringBeanFactoryManager.getBeanFactory();
    }

    private static class SpringBeanFactoryManager {
        private static final SpringBeanFactoryManager instance =
            new SpringBeanFactoryManager();
        private final ClassPathXmlApplicationContext context;

        private SpringBeanFactoryManager() {
            // singleton
            context = new ClassPathXmlApplicationContext(CONTEXT_FILE);
        }

        public static BeanFactory getBeanFactory() {
            return instance.context.getBeanFactory();
        }
    }
}</pre>
<p>In questo modo l&#8217;<span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">ApplicationContext</span> configurato nel file <span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">my-ejb-context.xml</span> verrà caricato una sola volta su ogni singolo nodo del cluster e sarà possibile iniettare i bean di spring nel nostro ejb 3 semplicemente usando l&#8217;annotazione @Autowired, come nell&#8217;esempio:</p>
<pre>@Stateless
@Interceptors(MySpringBeanAutowiringInterceptor.class)
public class MyEjb {

    @Autowired
    // my spring component defined in my-ejb-context.xml
    private MySpringBean mySpringBean;

}</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Matriz comparativa de frameworks web]]></title>
<link>http://hnzekto.wordpress.com/2009/10/26/matriz-comparativa-de-frameworks-web/</link>
<pubDate>Mon, 26 Oct 2009 07:47:14 +0000</pubDate>
<dc:creator>hnzekto</dc:creator>
<guid>http://hnzekto.wordpress.com/2009/10/26/matriz-comparativa-de-frameworks-web/</guid>
<description><![CDATA[Una matriz de comparaciones entre los distintos frameworks de la capa web más utilizados (principalm]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Una matriz de comparaciones entre los distintos frameworks de la capa web más utilizados (principalmente Java y Rails), entre los que destacan Apache Myfaces, JBoss SEAM, Spring MVC, Shale o Rails:</p>
<p>http://olex.openlogic.com/wazi/2008/web-framework-comparison-matrix/</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
