[JBoss] Workflow/BPM and Rules Solutions
May 11, 2012
Dear all,
I am going to do a presentation about “JBoss Enterprise Workflow/BPM and Rules Solutions” in Belgium in May 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a meeting for you.
Ref : http://www.redhat.com/products/jbossenterprisemiddleware/soa/
BR
Frederic
[ JBPM 5.2.@ ] web management console crashed but there is a solution – Business Process Management
May 10, 2012

Dear *,
Recently, I tried the JBPM 5.2.0 – JBoss Business Process Management – web management console and I had an application crash when I selected in the left menu the item “Process overview”.
Fortunately there is a solution to that problem which is to add the following line in the part of the build.xml file included in jbpm-installer_5.2.0 directory :
<!– Install reporting AS7 –>
<target name=”install.reporting.into.jboss7″ depends=”check.birt.as7″ if=”birt.download” >
<mkdir dir=”${install.home}/birt”/>
<unzip src=”${install.home}/lib/birt-runtime-${birt.version.as7}.zip”
dest=”${install.home}/birt”/>
<copy todir=”${install.home}/target/jbpm-gwt-console-server-war/WEB-INF/lib”>
<fileset dir=”${install.home}/birt/birt-runtime-${birt.version.as7}/ReportEngine/lib”>
<include name=”*/.jar”/>
<exclude name=”**/org.apache.commons.codec_1.3.0.v201101211617.jar”/>
</fileset>
</copy>
CLICK ON THE PICTURE TO ENLARGE IT
Ref : http://sourceforge.net/projects/jbpm/files/
Best Regards
Frederic
[JBoss Data Grid] When Database is very expensive.
April 21, 2012

Dear *,
Picture 1:
Imagine you have developed a successful web application built on traditional architecture which is visited by a consequent amount of users.
However, you are victim of you success, and more and more users are connected to you site.
Now, you are confronted to the overload of your application and your users tend to be unhappy due to the bad response time of your application.

Picture 2 :
So, in order to fix this you decided to change your application a little bit and then add some cache to it.
During a certain period of time, that clever trick worked. But, you still had the same problem.

Picture 3 :
Well, you had then the idea to increase the number of Application Servers to resolve that problem.
Nonetheless, with that decision you had to complexity your application. Nevermind, you had to increase the performance otherwise you were going to lose your customers.

Picture 4:
But the problem still remained and you are now convinced the bottleneck is related to you old heavy database.
So you have no other choice than buy another database licence and its annual maintenance fees.
The MAJOR problem here is that is very very expensive.

Picture 5 :
Anyway, you decide adding more databases is not your only option.
You finally decide to implement a data grid in your environment in order to fix that problem without exploding your allocated budget.

If you are interesting by the subject then I am going to do a presentation/introduction about “JBoss Data Grid” in Belgium in April 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a meeting for you.
N.B.: JBoss Data Grid 6 beta provides:
- A schema-less key value store: Red Hat JBoss Data Grid 6 beta is a NoSQL data store that provides flexibility to store any type of data.
- Compatibility with many types of applications: JBoss Data Grid 6 beta works with applications written in Java, C#, Spring, and others; deployed in an application server or standalone.
- Reliable grid-based data storage: Red Hat JBoss Data Grid 6 beta is designed to easily distribute data across multiple nodes. Data can be replicated in memory, written to disk, or stored in a relational database for fault-tolerance.
- Elastic scaling: JBoss Data Grid 6 beta allows simple addition and removal of storage nodes without disruption.
- Multiple access protocols: Red Hat JBoss Data Grid 6 beta provides easy access to the data grid using REST, memcached, Hot Rod, or simple map-like API.
Ref : http://www.redhat.com/promo/dg6beta/
BR
Frederic
[ JBoss EAP 6 ] Presentation in April 2012 – Luxembourg
April 21, 2012
Dear all,
I am going to do a presentation about “JBoss EAP 6” in Luxembourg in April 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a meeting for you.
Ref : http://www.redhat.com/promo/eap6beta/
BR
Frederic
I am going to do an introduction about “JBPM 5.2” in Brussels in January 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a Meeting for you.
Ref : http://www.jboss.org/jbpm
BR
Frederic
[FOSDEM'12] Openshift + AS7 Demonstrations @ JBoss.org Booth
January 5, 2012
Yesterday and in addition of the allocated JBoss.org devroom, I had the confirmation JBoss.org has get a booth @ FOSDEM’12.
So, I can confirm we are going to do several AS7 application deployment demonstrations over the cloud without having to worry about downloading and managing the stack, writing scripts or installing agents in using Openshift.
Ref : http://www.jboss.org/openshift
BR
Frederic
I am going to do a presentation about “JBoss Enterprise Portal-P 5.2” in Brussels in January 2012.
If your company or you are based in BeNeLux and are interested by this presentation, just let me know and I will try to arrange a Meeting for you.
Ref : http://www.jboss.com/products/platforms/portals/
BR
Frederic
[JBoss.org AS7] Datasource configuration with Postgresql.
January 2, 2012
Well, recently I tried to make my application work on JBoss.org AS7.
Just to check if I should have to do some code modifications in my application when JBoss.com EAP 6 will be released.
FYI, you can download freely JBoss.org AS7 at the following URL - http://www.jboss.org/jbossas – however as it is a community project you will not have any support with SLA.
In case of you would need one(s) then I would suggest you to subscribe to JBoss EAP Solutions – http://www.jboss.com/ -
So, one of my main targets was to make AS7 work with Postgresql as its underlying database.
1] I wanted to use an updated Postgresql JDBC then I had to download it from the JDBC Postgresql website - http://jdbc.postgresql.org/download.html -
I used postgresql-9.1-901.jdbc4.jar
2] I had to create dedicated directories and files inside the JBoss.org AS7 directory.
jboss-as-7.0.2.Final/modules/org/postgres/main
Then, to upload the postgresql-9.1-901.jdbc4.jar in the following path : jboss-as-7.0.2.Final/modules/org/postgres/main
And then to create specific xml file named : module.xml with the following content :
<module xmlns="urn:jboss:module:1.0" name="org.postgres"> <resources> <resource-root path="postgresql-9.1-901.jdbc4.jar"/> </resources> <dependencies> <module name="javax.api"/> <module name="javax.transaction.api"/> </dependencies></module>jboss-as-7.0.2.Final/modules/org/postgres/main path you should retrieved the following files :> postgresql-9.1-901.jdbc4.jar – Postgresql JDBC4 driver.
> postgresql-9.1-901.jdbc4.jar.index – Index file generated by JBoss. That file should automatically created by the JBoss instance as soon as the Postgresql JDBC Driver will be discover by the instance.
> module.xml – Module Description
4] Then, I had to add a Posgresql node in the following section of the jboss-as-7.0.2.Final/standalone/configuration/standalone.xml file.
<subsystem xmlns="urn:jboss:domain:datasources:1.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="H2DS" enabled="true" jta="true" use-java-context="true" use-ccm="true">
<connection-url>
jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
</connection-url>
<driver>
h2
</driver>
<pool>
<prefill>
false
</prefill>
<use-strict-min>
false
</use-strict-min>
<flush-strategy>
FailingConnectionOnly
</flush-strategy>
</pool>
<security>
<user-name>
sa
</user-name>
<password>
sa
</password>
</security>
</datasource>
<datasource jndi-name="java:jboss/datasources/PostgresqlDS" pool-name="java:jboss/datasources/PostgresqlDS_Pool" enabled="true" jta="true" use-java-context="true" use-ccm="true">
<connection-url>
jdbc:postgresql://localhost:5432/mydb
</connection-url>
<driver>
postgresql
</driver>
<security>
<user-name>
myuser
</user-name>
<password>
mypassword
</password>
</security>
</datasource> <drivers> <driver name="postgresql" module="org.postgres"> <xa-datasource-class> org.postgresql.xa.PGXADataSource </xa-datasource-class> </driver> <driver name="h2" module="com.h2database.h2"> <xa-datasource-class> org.h2.jdbcx.JdbcDataSource </xa-datasource-class> </driver> </drivers></datasources></subsystem>5] You can check in the JBoss Administration Console your JDBC connection is rcognized – http://localhost:9990/console/App.html#server/datasources
You should see a green light if everything is OK.
6] Finally, do not forget to change the persistence -persistence.xml – file of your application to check your application works with the new Posgresql datasource.
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="astroDatabase">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/PostgresqlDS</jta-data-source>
<class>com.hornain.as.astro.Users</class>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
<property name="hibernate.show_sql" value="false"/>
<property name="hibernate.format_sql" value="false"/>
<property name="hibernate.use_sql_comments" value="false"/>
</properties>
</persistence-unit>
</persistence>
Ref #1 : http://community.jboss.org/wiki/JBossAS7-DatasourceConfigurationForPostgresql
Ref #2 : http://community.jboss.org/thread/168958
Best Regards
Frederic
[JBoss.org Forge] Interseting Tool
December 14, 2011
Yesterday, I talked with one of the JBoss Forge Contributors – Koen – about his project.
Well, I did not work with it yet but strongly believed it is interesting core framework for rapid- JBoss application development.
If you want to know how it works, please have a look at that youtube video –
Ref : https://docs.jboss.org/author/display/FORGE/Home
BR
Frederic
[JBoss] Intelligent, Integrated Enterprise: The Mortgage Business
December 13, 2011
Dear *,
I found this video very clear to explain what JBoss solutions can do for your business.
That is why I share it with you.
Ref: http://www.redhat.com/promo/integrated_enterprise/
BR
Frederic







