Monday, October 27, 2014

Switchyard Primer

Switchyard is a lightweight service delivery framework providing full lifecycle support for developing, deploying and managing service-oriented applications.  Switchyard is the community project for one of the components for Red Hat JBoss Fuse Service Works.  I am pulling together a Switchyard Primer which contains various topics around the project.  I am starting with Application Basics and Contracts.  I am building the primer in slides.com to make it easier to share and update.  To start building the primer I gathered some initial material from the Switchyard project and from Jorge Morales' Blog.  I will continue to update with more material for the Primer for Switchyard.  This initial release includes Part 1 and Part 2 which is below.  Please leave comments for any topics you would like to have included in the primer.

Switchyard Doc: https://docs.jboss.org/author/display/SWITCHYARD/Application+Basics

The past week in review for the JBoss Community

This week is my first time posting for the weekly editorial and excited to join the team. There is a lot to highlight for this weeks editorial. Autumn is now upon us in the Northern Hemisphere which marks the transition from summer to winter. The arrival of night is earlier, temperature is cooling and leaves are turning color as well as falling. I was at the Boston office a couple of weeks ago and the area was beautiful with the change in the color of the leaves in addition to the cool weather. With the transition of warm to cold weather autumn is known as the primary harvest with many harvest festivals celebrated across the globe. Whether you celebrate Labor Thanksgiving Day in Japan, the Dutch Feast of Saint Martin of Tours, American Thanksgiving Feast, Canadian Thanksgiving Feast, German Martinmas, Czech Republic Posviceni/Obzinky, Chinese Harvest Moon Festival, etc., have a great Autumn.

Now on to our exciting JBoss weekly content

Job Opening


Red Hat is the best company in the world to work. I have enjoyed Red Hat since day one and continue to enjoy the work, the people and the open source culture. We have a current job opening for a Software Sustaining Engineer who will help improve the quality of the BRMS and BPM Suite platforms which are the productised versions of the Drools and jBPM open source projects. So if you love Drools and jBPM, and want to help make them even better and even more robust - then this is the job for you The role is remote, so you can be based almost anywhere.


Events


We had several events that took place plus some coming up:
  • 300+ kids, 16 speakers (4 from middle/high school), 6 rooms, 24 sessions of 75 mins each = extremely rewarding weekend + inspired kids! Silicon Valley Code Camp Kids (SVCC.kids) is a one-day event that is a new addition to the famous Silicon Valley Code Camp (SVCC) event. The event was held at Foothill College in Los Altos Hills, CA on October 12th.
  • DecisionCAMP 2014 took place at San Jose on October 13-15 which is a free conference in the San Jose area for business rules and decision management practitioners. The conference concentrates on Business Rules and Decision Management. Decision Management is the art or science, depending on your perspective, of automating decisions in your systems.
  • Last week was the Openslava 2014 Conference for emerging technologies and open-source in Bratislava, Slovakia. Videos from the talks will be published soon. Markus Eisele posted a Trip Report which also included a video and presentation on 50 best features of Java EE 7.
  • Coming up in November we have several people from Red Hat involved at Devoxx BE 2014. Devoxx has grown to be one of the most popular Java conferences series in Europe. This year we are excited to announce that JBoss will be presenting a keynote on the future capabilities of PaaS. We have severalspeakers who are speaking on a variety of topics. Visit JBoss Community members at Devoxx University, the Hackergarten, the sessions or have a drink with us at Nox!

Blog/Articles


A lot of blogs and articles were posted the last couple of weeks so I listed them here for your reading pleasure:
1. JBoss Teiid
2. JBoss BRMS and JBoss BPM Suite
3. JBoss Fuse
4. JBoss Wildfly
5. JBoss Aerogear
  • Markus Eisele provided another episode his developer interview which took place with Matthias Wessendorf. Matthias is working at Red Hat where he is leading the AeroGear project. Previously, he was the PMC Chair of the Apache MyFaces project. Matthias is a regular conference speaker.

Releases


The last couple of weeks we had several new project releases. Take all of them for a spin and enjoy!
  • JBoss Tools and Developer Studio for Eclipse Luna! There have been many feature additions and a lot of bug fixing polish going into this main release and these have been documented/described in details atWhat’s New.
  • Immutant 2 (The Deuce) Alpha2 Released! We're as happy as a cat getting vacuumed to announce our second alpha release of The Deuce, Immutant 2.0.0-alpha2. Big, special thanks to all our early adopters who provided invaluable feedback on alpha1 and our incremental releases.
  • Infinispan 7.0.0.CR2 released! As we approach final release, the main themes of this CR were bug fixes and enhancements, many related to Partition Handling.
  • JGroups 3.6.0.Final released! We just released 3.6.0.Final to SourceForge [1] and Nexus. It contains a few new features, but mostly optimizations and a few bug fixes. It is a small release before starting work on the big 4.0.
  • RichFaces 4.5.0.CR2 Release Announcement! We have a second candidate release for RichFaces 4.5 (4.5.0.CR2) available. We’ve fixed a couple of regressions uncovered by both our community and QA team.
  • Teiid 8.9 CR1 Posted! After a small delay Teiid 8.9 CR1 has been posted to the maven repository and the download page.
  • SwitchYard 2.0.0.Alpha3 Now Available! The SwitchYard team has been making steady progress on the 2.0 release and I'm pleased to announce the latest preview of SwitchYard 2.0, Alpha3. We're rapidly approaching beta quality and the only think keeping this release from being called a beta is the lack of support for BPM and rules components on WildFly. Overall, the team has made great progress improving stability, especially on Fuse/Karaf.

That's all for this week, please join us next week when we will share more news about the JBoss Community.

Friday, October 17, 2014

New Fuse 6.1 Getting Started Series

We have pulled together a new Getting Started Series for Fuse.   We are updating http://www.jboss.org/products/fuse with the 5 part series.  Check out Christina Lin's blog for more demos and videos on Fuse and A-MQ.  Follow the below series to build your first application. You will build some simple examples as well as build a Home Loan Application using JBoss Fuse to integrate different enterprise systems. The Home Loan Application accepts a loan request from the customer and provides a loan decision including a home mortgage rate. The series walks you through each step of the application development lifecycle from start to finish.

What is JBoss Fuse? 

Demo Source:
https://github.com/kpeeples/jboss-fuse-websockets-demo
Videos:
Part 1: http://vimeo.com/user16928011/fuse-getting-started-part1
Part 2: http://vimeo.com/user16928011/fuse-getting-started-part2
Part 3: http://vimeo.com/user16928011/fuse-getting-started-part3



What is Apache Camel? What are Enterprise Integration Patterns (EIP)? 

Demo Source:
https://github.com/kpeeples/fuse-eip-quickstart                                                            










Build the Home loan application using EIP's 


Demo Source: https://github.com/weimeilin79/homeloan-part1 
Video:
https://vimeo.com/99901083                                                                                                                                                                                






Business requirements change. Extend the home loan application. New SaaS applications? No problem..

Demo Source: https://github.com/weimeilin79/homeloan-part2
Videos:
Part 1: https://vimeo.com/100685377
Part 2: https://vimeo.com/100872412                                                                                                                                       |






Business expanding. Extend the home loan application to partners, suppliers. 


Demo Source: https://github.com/weimeilin79/homeloan-part3 
Video:  https://vimeo.com/101265926
                                                                                                              









Innovate further. Try, experiment, test, deploy.


Video 1: https://vimeo.com/101266094                                                                                                                                                                                                                                       |    

Thursday, October 16, 2014

Government and Industry Partnership Summit


I am doing an Ignite talk at the C5ISR (Command, Control, Communications, Computers, Combat Systems, Intelligence, Surveillance, and Reconnaissance) Conference this year in Charleston, SC on November 19.   Over the past seven years, the Annual C5ISR Government/Industry Partnership Summit has grown into the Premiere East Coast technical event, and the 8th Annual 2014 Summit is shaping up to be our best event yet! This years’ theme is “Technologies Enabling Information Dominance”, and will feature National-Level Speakers, Interactive Workshops, Specialized Technical Tracks, Receptions, Exhibits, and as always, unparalleled networking opportunities!

You can find the agenda here: http://www.cvent.com/events/eighth-annual-c5isr-government-and-industry-partnership-summit/agenda-9049a22c7fca4e858a6c70acfd06c611.aspx

You can find the registration information here: http://www.cvent.com/events/eighth-annual-c5isr-government-and-industry-partnership-summit/invitation-9049a22c7fca4e858a6c70acfd06c611.aspx

Speakers for the 8th Annual Summit include:

  • VADM Ted Branch, Deputy Chief of Naval Operations for Information Dominance, and Director of Naval Intelligence. (Accepted)
  • VADM Jan Tighe, Commander, U.S. Fleet Cyber Command (U.S. 10th Fleet) (Accepted)
  • RADM David Lewis, SPAWARSYSCOM (Accepted)
  • Major General Vincent Stewart, Commander, MARFORCYBERCOM (Accepted)
  • BGen Kevin Nally, USMC CIO (Accepted)
  • RDML Christian Becker, PEO C4I; PEO Space Systems (Accepted)
  • Mr. David DeVries, Acting DoD CIO (Accepted)
  • Ms. Janice Haith, DoN, Deputy CIO (Accepted)
Find out more information by visiting the website: http://www.cvent.com/events/eighth-annual-c5isr-government-and-industry-partnership-summit/event-summary-9049a22c7fca4e858a6c70acfd06c611.aspx

Wednesday, October 15, 2014

AN INTELLIGENT SYSTEMS SOLUTION FOR THE INTERNET OF THINGS

Has your organization has been thinking about ways in which intelligent systems can be leveraged to improve business processes, transform operations, drive innovation and create new revenue streams? With input from our customers, we have identified a “top 8” list of considerations to address during your project design, and throughout implementation.

8. Regulatory requirements.
7. Storage and analysis of unstructured data.
6. Managing large amounts of data.
5. Data integrity.
4. Moving intelligence to the edge.
3. Patch and configuration management.
2. Communicate reliably, despite disparate systems.
1. Security.

To learn more read the article at https://gigaom.com/2014/10/15/top-8-design-considerations-for-the-internet-of-things/  Also for more information on how to structure your organization’s IoT architecture and to discover why Red Hat is the right partner for your enterprise IoT implementations, visit us at www.redhat.com/embedded.

Beyond Big Data Webinar Series

We are starting the Data Integration Webinar Series which includes 5 webinars that are described below.  Register at https://vts.inxpo.com/scripts/Server.nxp?LASCmd=AI:4;F:APIUTILS!51004&PageID=657CAFB4-296B-4008-B864-F38CDE62F376 

Data Integration Webinar Series

Information is power. It gives your organization the competitive edge it needs to win. But, with so much data and so little time, how do you leverage all this data to actually yield valuable business insights? 

Big data solutions are a great start. But what about being able to easily access the right data, at the right time?

Watch the webinar series to learn how to overcome challenges of big data, data bottlenecks, and data integration. Topics in this 5-part series are:
  • Implementing a data strategy and architecture to avoid data problems
  • Delivering data-rich user experiences with high performance and scalability
  • How to quickly and easily create a virtual data services layer
  • Analytics based decision making
  • Avoiding Hadoop data silos

The 3 big problems with data and how to avoid them

Date: November 5, 2014
Time: 11:00 a.m. – 12:00 p.m. EST

No matter what your organization looks like, chances are you're wrestling with at least one of the following data challenges:
  • Data silos that are difficult to access when needed
  • Point-to-point integration that simply does not scale
  • Data sprawl leading to security and compliance risks
Join this webinar to learn how to implement a data strategy and architecture to avoid these problems.

Speakers:
Syed Rasheed, senior product marketing manager, Red Hat
Ken Johnson, director of product management, Red Hat

Slow data is a fast way to lose your best customers

Date: November 12, 2014
Time: 11:00 a.m. – 12:00 p.m. EST

Worried about big data? You should be terrified by “slow data.” When customers are forced to experience slow or inaccurate service they will run, not walk, away from your organization. Meeting real-time customer expectations while juggling huge volumes of data is a challenge. Learn how your organization can successfully provide stellar data-rich user experiences while maintaining high enterprise performance and scalability.

Speaker:
Vamsi Chemitiganti, chief solution architect, Red Hat

Integration intervention: get your apps and data up to speed

Date: : November 19, 2014
Time: 11:00 a.m. – 12:00 p.m. EST

The most efficient and agile applications and services can be dragged down by the point-to-point data connections of a traditional data integration stack. Virtualized data services eliminates this friction and speeds up your applications.

Join this webinar to see how to quickly and easily create a virtual data services layer to plug data into your SOA infrastructure, allowing your entire solution to operate with agility and efficiency.

Speakers:
Syed Rasheed, senior product marketing manager, Red Hat
Kenny Peeples, JBoss technology evangelist, Red Hat

Making good decisions? Want to? Data analytics is the key

Date: December 2, 2014
Time: 11:00 a.m. – 12:00 p.m. EST

You've turned big data into information, but how can you use it to make better decisions and respond faster to customer needs? How do you turn big data in to smart data?

Join this webinar and learn how to:
  • Apply advanced business rules to virtualized data services.
  • Identify and act upon important information that may otherwise be lost in a sea of big data.
Speakers: 

Kim Palko, senior product manager, Red Hat
Prakash Aradhya, senior product manager, Red Hat
Kenny Peeples, JBoss technology evangelist, Red Hat

Don't let Hadoop become a new data silo

Date: December 9, 2014
Time: 11:00 a.m. – 12:00 p.m. EST

Organizations today no longer suffer from a lack of data. They suffer from a lack of the right data, at right time. Barriers such as having data spread across too many applications and systems do not go away just because an organization is using big data technology. In fact, they get more complicated.

In this webinar you'll learn how to:
  • Make calling data from Hadoop as easy as any SQL data source.
  • Seamlessly combine data from Hadoop-based systems with existing data silos.
  • Deliver truly unified and actionable information to maximize return on data assets.
Speakers:
Syed Rasheed, senior product marketing manager, Red Hat
Kenny Peeples, JBoss technology evangelist, Red Hat

Tuesday, October 14, 2014

Enterprise Integration Patterns

The Red Hat JBoss Integration Product Portfolio includes Camel which supports most of the Enterprise Integration Patterns from the Enterprise Integration Patterns Book.   The patterns help integration architects and developers design and implement integration solutions more rapidly and reliably.  I wanted to provide a sample application to show off the Enterprise Integration Patterns as well as provide the stencil to get you going on your first integration design.

"The core language of EAI, defined in the book Enterprise Integration Patterns by Gregor Hohpe and Bobby Woolf, is also the core language of defining ESB flows and orchestrations, as seen in the ESB's developer tooling."
--Forrester Research


The EIP icons library is available as a Visio stencil file adapted to render the icons with the Camel color : sand. Download it here for your presentation, functional and technical analysis documents. The original EIP stencil is also available in OpenOffice 3.x Draw (thanks to Marco Garbelini) , Microsoft Visio, or Omnigraffle.

The example below is a quickstart for JBoss Fuse.  This example will get you running quickly.   We will show how to use this quickstart in Switchyard on Fuse Service Works in the future.  Access the example code at https://github.com/kpeeples/fuse-eip-quickstart and in minutes run the application.  The wire tap, splitter, recipient list and message filter enterprise integration patterns are shown in this example.


Wednesday, October 8, 2014

Red Hat JBoss Integration and Cloud Workshops in October

We have several Integration and Openshift workshops taking place this month.  I wanted to include the dates and information below.

Open Source Apache Integration and OpenShift Workshops


Attend Red Hat's complementary, hands-on technical workshop and experience Red Hat JBoss Fuse and OpenShift. Learn how middleware and cloud solutions bridge the theory with reality. Come and learn about OpenShift, JBoss Fuse, Fabric8, HawtIO, and how these technologies can help you implement a successful DevOps strategy with Automation,   Continuous Delivery, and a deep understanding of your middleware.

By attending this one day workshop you'll be able to:

  * Learn how integration Platform-as-a-Service (iPaaS) connects on premise and cloud solutions, and reap the operational efficiencies that OpenShift brings combined with the messaging and routing/mediation/transformation of Red Hat JBoss Fuse.
  * Work with hands-on labs based on real-world case studies led by experienced solution architects.
  * Learn how to use open source integration and messaging software safely and securely in your enterprise.

For more information and to register now for a city near you, please visit:
https://engage.redhat.com/jboss-fuse-for-xpaas-me-201409091054?sc_cid=70160000000e2nNAAQ
October 22, 2014 – San Francisco
October 23, 2014 – Los Angeles
October 28, 2014 – Chicago
October 29, 2014 – New York

Open Source Apache Integration Workshops



Attend Red Hat's complementary, hands-on technical workshop and experience Red Hat JBoss Fuse and A-MQ. Come to our workshop to hear how the innovation and technical capabilities of Apache projects like ServiceMix, Camel, and ActiveMQ can help you reduce the time and complexity of integrating all facets of your business including devices, outlets, and partners, on premise or in the cloud.

By attending this one day workshop you'll be able to:

  * Reduce the time required to integrate applications, and implement comprehensive solutions using industry-standard Enterprise Integration Patterns (EIPs).
  * Work with hands-on labs based on real-world case studies led by experienced solution architects.
  * Learn how to use open source integration and messaging software safely and securely in your enterprise.

For more information and to register, please visit:
Montreal:
     https://engage.redhat.com/jboss-integration-montreal-e-201409180502?sc_cid=70160000000e8gHAAQ
     Date: 29 October, 2014  Time: 8:30 a.m. – 5:00 p.m.
     Centre Mont-Royal
     2200 Mansfield Street
     Montréal, Quebec H3A 3R8
     Canada
     (514) 844-2000Toronto:
https://engage.redhat.com/jboss-integration-toronto-e-201409170506?sc_cid=70160000000e8gbAAA
     Date: 4 November, 2014 Time: 8:30 a.m. – 5:00 p.m.
     BMO Institute for Learning
     3550 Pharmacy Avenue
     Toronto, Ontario M1W 3Z3
     Canada
     (416) 490-4300

Red Hat JBoss BPM Suite Workshop in Washington, DC


Attend Red Hat's complementary, hands-on technical workshop and experience Red Hat JBoss BPM Suite on November 5, 2014 from 8:30am to 5:00pm at MicroTek in Washington, DC.   Learn how introducing business process management can help your organization respond faster to changing business environments and update applications more quickly.

By attending this one day workshop you'll be able to:

  * Reduce the time required to update applications, SOA deployments, and business processes with the latest business rules and policies.
  * Work with hands-on labs based on real-world case studies led by  experienced solution architects.
  * Learn about business workflows, complex event processing, and business process from the people who brought you the Drools community project and Red Hat JBoss BRMS.

For more information and to register, visit:

https://engage.redhat.com/jboss-bpm-suite-workshop-e-201409291104?sc_cid=70160000000eBqfAAE

MicroTek
 1110 Vermont Ave. NW
Washington, DC 20005
(800) 207-9620

Tuesday, October 7, 2014

Performance Testing with A-MQ

I have been asked alot about JBoss A-MQ performance and metrics. Metrics can vary depending upon many factors such as configuration, hardware, message size, number of messages, etc. Instead of publishing specific numbers I thought I would share Samples and Test Plans so that you can test in your own environment.

Server Setup

Fuse 6 Installation and Setup

● Download Fuse 6 from http://www.jboss.org/products/fuse and copy the contents to any directory. Throughout the rest of these instructions, this newly created fuse directory will be represented as <fuse_directory>

● Download the latest AMQ-Testing release from https://github.com/FuseServiceWorksByExample/AMQ-Testing/releases and extract the activemq.xml file into the <fuse_directory>/etc folder

Client Setup

Test Directory Creation

● Create a new directory to contain all test plans, tools, and results. Throughout the rest of these instructions, this new test directory will be represented as <test_directory>.
Downloading the Samplers and Test Plans

● Download the latest AMQ-Testing release from https://github.com/FuseServiceWorksByExample/AMQ-Testing/releases and extract all folders in the release file into <test_directoy>

Building the Samplers

● Build the samplers.

    > cd <test_directory>/samplers
    > mvn

Apache JMeter Installation and Setup

● Download Apache Jmeter from http://jmeter.apache.org/download_jmeter.cgi

● Unzip the downloaded archive to <test_directory>/apache-jmeter

● Prepare the JMeter lib directory

    ○ Download the latest mqtt-client jar from http://mvnrepository.com/artifact/org.fusesource.mqtt-client/mqtt-client and put it in the <test_directory>/apache-jmeter/lib folder

    ○ Download the latest hawtdispatch-transport jar from http://mvnrepository.com/artifact/org.fusesource.hawtdispatch/hawtdispatch-transport and put it in the <test_directory>/apache-jmeter/lib folder

    ○ Download the latest hawtdispatch jar from http://mvnrepository.com/artifact/org.fusesource.hawtdispatch/hawtdispatch and put it in the <test_directory>/apache-jmeter/lib folder

    ○ Download the latest hawtbuf jar from http://mvnrepository.com/artifact/org.fusesource.hawtbuf/hawtbuf and put it in the <test_directory>/apache-jmeter/lib folder

    ○ Download the latest activemq-client jar from http://mvnrepository.com/artifact/org.apache.activemq/activemq-client and put it in the <test_directory>/apache-jmeter/lib folder

● Prepare the JMeter ext directory

    ○ Copy the sampler jars that were built in the section entitled “Building the Samplers” from their respective target directories to the JMeter ext directory

    > cp <test_directory>/jms_consumer/target/ApacheJMeter_jms_consumer.jar <test_directory>/apache-jmeter/lib/ext
    > cp <test_directory>/jms_producer/target/ApacheJMeter_jms_producer.jar <test_directory>/apache-jmeter/lib/ext
    > cp <test_directory>/mqtt_consumer/target/ApacheJMeter_mqtt_consumer.jar <test_directory>/apache-jmeter/lib/ext
    > cp <test_directory>/mqtt_consumer/target/ApacheJMeter_mqtt_producer.jar <test_directory>/apache-jmeter/lib/ext


Running the Tests

The processes involved in running these tests are very similar from one test to the next. Therefore, the steps below provide an example by outlining the processes involved in running one of the tests. In the example test, one JMS client publishes messages to a virtual topic while another JMS client consumes those messages from an associated queue.

● Start the Fuse 6 server

    ○ > <fuse_directory>/bin/fuse

● Configure the broker URLs in the test plan

    ○ Start the JMeter GUI

■ > <test_directory>/apache-jmeter/bin/jmeter

    ○ Open the test plan

■ File -> Open -> <test_directory>/test_plans/JMS_1x1_VT/TestPlan.jmx

    ○ Select the root node of the test plan from the tree view on the left side of the interface

    ○ Change the value associated with the brokerUrl User Defined Variable to the IP address of the server

    ○ Save the test plan

■ File -> Save

    ○ Close the JMeter GUI

● Run the test from the client command line

    ○ > JVM_ARGS="-Xmx1024m -Xms1024m" <test_directory>/apache-jmeter/bin/jmeter -n -l <test_directory>/results.jtl -j ./log.txt -t <test_directory>/test_plans/JMS_1x1_VT/TestPlan.jmx

Viewing the Results

The test results will be written to the file named results.jtl in <test_directory>. Once the test exits, open the JMeter GUI again, select the root node of the default/empty test plan and select add -> listener -> Aggregate Graph. On the Aggregate Graph configuration screen, click the browse button and open the results.jtl file that was generated by the test. The aggregate throughput values will appear - multiply the consumer throughput value by 1000 (there are 1000 messages per batch) to obtain a throughput estimate. Other listeners can be used to further analyse results.

After Each Test

● Stop the Fuse service

    ○ ctrl-d

● Delete the Fuse data directory

    ○ > rm -rf <fuse_directory>/data