Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.63 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.63 KB

html5-postmessage

Demo of Bonita + Vaadin integration (i.e. brush up small parts of an application) via HTML5 postMessage - see e.g. on MDN

Situation: You have an existing, grown application

Problem: Every change is a nightmare, but you can't just replace the application as a whole

Remedy: Replace one screen at a time: use an iFrame for the new screen and have it communicate with the rest. Get a little better every day.

This demo app shows just that with a bonita process as the "old" application and a Vaadin replacement for one screen

What you need:

Steps to get started:

  • Download or clone
  • Create a database and insert samples (folder sql)
  • Import the process in Bonita (folder bonita)
  • Check non-human actions for correct database connection
  • Check Vaadin human action for correct Tomcat endpoint
  • Install Vaadinator
  • Package and prepare for Eclipse
  • Import into Eclipse
  • Create an internal Tomcat and add data source (see persistence.xml)
  • Check Bonita endpoint
  • Run Application in Tomcat
  • Fire off the process in Bonita

I'm always happy about suggestions and feedback - feel free to drop me a note!