Skip to main content

Posts

Showing posts from October, 2015

Webinar - The perfect match: Business processes and microservices

I will be doing a webinar this Thursday, it'll be very late for me, 11:00 pm at night, if I am still sane and not sleepy, hopefully you will like it. :)

The perfect match: Business processes and microservices Business processes are common in many enterprises. They often span functional boundaries and are essential for efficient business operations and competitive solutions. However, the number of applications is increasing, both on-premise and cloud-based ones. And technical environments are becoming more complex.

At the same time, customers are demanding and expecting faster and more innovative services. This is where a microservices-style architecture can help—breaking down application functionality as small, modular, independent, lightweight services or APIs that can be updated and deployed in a continuous and automated fashion.

Business processes can certainly benefit from microservices-style architecture—faster and more adaptable processes. But how do you enhance your business…

Red Hat JBoss Fuse - Deploy a WAR file with Servlet

In normal integration project we built SOA architecture, or more recently microservice seems to be the hottest buzz word around, but no matter that how big or small the service is, it's still a service. In integration our primary job is to become the moderator between systems, allow systems to talk, communicate smoothly, by that, we have lots of protocols to work with, MQTT, AMQP for messaging, Restful JSON or SOAP XML for web service, Files, FTPS etc... But what if or end communication or response end is a human? We can't expect a human being to process a bunch of large text, XML or stream of bits, I mean, yes, some may, but not in most cases. There for we often process and simplify information on a page, that is readable by human. For that by creating a web application renders these data to users comes in very handy.

In java space, we will most likely to create a WAR file and run it on a Java EE container (JBoss EAP). But what about running the WAR file on Karaf container in…

Red Hat JBoss Fuse - Connecting to A-MQ in EAP with Camel

JBoss EAP has a built-in Messaging solution, HornetQ. Sometimes we need A-MQ for more protocol support, reliable messaging and HA capability. By connecting through the resource adaptor in EAP, we will be able to connect EAP to A-MQ.

First install the A-MQ library into EAP.

You can find it in the A-MQ zip file, under /jboss-a-mq-6.2.x.redhat-xxx/extras/,
in there you can find a apache-activemq-5.11.x.redhat-62xxxx-bin.zip file, unzip it, there you can locate the library we need in apache-activemq-5.11.x.redhat-62xxxx/lib/optional. 

activemq-rar-5.11.x.redhat-62xxxx.rar
Make sure you start up both the JBoss A-MQ(with ID/PWD: admin/admin) and JBoss EAP, go to the JBoss Admin Console located at http://localhost:9990 and logon with the ID/PWD previously set by you when installing. There are several options here,
Install the libraries through deploymentInstall as module
So I am going to do the easy way, which is deploy the libraries. This is not recommended in production (since anyone with ad…

RHTE - Improve business process with microservice integration

The Red Hat Tech Exchange take place every year in Asia Pacific, this year is in Vietnam, Ho Chi Minh city. This year's theme is Train (gain and apply knowledge and skills), Share (best practices and experiences) and Enable (your personal and customer success).  I sure had a great time there.
In the event I have share 2 sessions, the first one I did with Thomas Qvarnström, it about handling large data and how JBoss Data Grid can help. You can find the slides in my previous post.  
My second session talks about the difference between BPM process and Camel route, when to use what and share my thoughts on the best practices of when to use it. The agenda of my talk :
Sometimes, building enterprise class business processes is difficult, it involves  complex application integration, many requires co-work between cross functions. See how JBoss BPM suite and JBoss Fuse can do! In this talk, we are going to talk about possible architectures, go through a live demo and see how it's done…

Red Hat JBoss Fuse - Tools make your world go round, the demo

Few days ago I posted the slides of what suppose to my vJBug presentation, for the talk, I have planned to showcase the tooling by showing what a developer would normally do when they would develop application with JBoss Developer Studio.  Here are the things I go over,
How to debug Camel application using the tooling provides.Data mapping between POJO and XML, JSON with Dozer with drag and drops only. Deploy and package an OSGi ready Applications.  The story of the demo was pretty simple, it's a bookstore integration application, takes in order in XML format, in the xml, contains multiple orders, each order will have the customer information, and has the list of books the customer would like to order. 
<?xml version="1.0" encoding="UTF-8"?> <orders> <order product="electronics" id="2012_0001"> <customer id="A0001">             <name>Antwerp Zoo</name>             <city>Antwerp</city>        …