Blog Archives

Crear una aplicacion con Jboss Forge y JbossAS 7

jboss forge collstudio

Jboss forge nos ayuda de tal manera que en solo unos cuantos pasos podemos crear un CRUD para asi concentrarnos en la logica del sistema, mas que en la creacion de los formularios etc (en mi opinion,como deberia ser!!)..

Read the rest of this entry

Advertisements

Instalacion de Jboss Forge en Fedora 17

jboss forge collstudio

Jboss Forge es una increible herramienta que agilizara el desarrollo de aplicaciones optimizadas para Java EE. aqui les mostrare como configurar forge en linux, aunque los pasos son similares para windows.

Pre-requisitos para el correcto funcionamiento

  • tener instalado JAVA JDK 6+

Read the rest of this entry

Configuracion de DATASOURCE en Jboss AS 7

en AS 7 una fuente de datos o DATASOURCE ya no se configura usando los archivos -ds.xml como se hacia en versiones anteriores de Jboss AS.

Se puede hacer desde la linea de comandos o modificando un archivo de configuracion (standalone.xml/domin.xml) . Si se esta trabajando con la configuracion standalone del servidor, el archivos a modificar se encuentra en la siguiente ruta

 jboss-as-7.1.1/standalone/configuration 

Read the rest of this entry

Case Study – How Last.fm Uses HornetQ for Their Streaming Infrastructure

This case study describes how Last.fm uses HornetQ to improve the performance and availability of its streaming infrastructure.

What Is Last.fm?

Last.fm is an online music service that tracks the music people listen to and generates recommendations and custom online radio stations based on this information. It allows user to track the song they listen to (by scrobbling the song) from Internet radio station, music player or portable devices. The scrobbles are transferred to Last.fm and displayed on the user’s profile page. Every track that is scrobbled by user plays will tell Last.fm something about what he or she likes. It can connect the user to other people who like the same song, artist, genre, etc. and recommend other songs from their music collections.
More than 40 million of unique users visit Last.fm each month and view 500 million pages.
Since the launch of the service, there has been more than 40 billion of scrobbles. Nowadays, there is 40 million of scrobbles a day (up to 800 per second at peak).

Last.fm infrastructure is using JMS, the Java standard for message service, to control its streaming service.

Last.fm recently migrated to HornetQ to improve its messaging service and ensure that it meets the quality of service expected by their users.

What Is HornetQ?

HornetQ is a community project from JBoss, the middleware division of Red Hat. HornetQ is the default messaging service for JBoss Application Server 6 and it can also be used as a standalone JMS server or embedded in any Java application. HornetQ is an Open Source (Apache-licensed) project to build a multi-protocol, embeddable, clustered messaging system with very high performance and availability.

Having some issues with their current messaging server, Last.fm was interested to integrate HornetQ in their infrastructure to improve performance and availability while keeping hardware resources under control.

Read the rest of this entry