[Read More]
| My Other Crooked Stick (Archery) |
As mentioned in my previous entry "Extending
the Template Based BPEL Document Generator" I would be looking at
linking into Adjoovo Spaces as a
source for extended BPEL annotation. Whilst looking into this option I
decided that what I also needed was the ability to upload BPEL
information to the various repositories I was working with and on
further investingation decided to extend the NetBeans Module associated
within the Documentation Generator (NetBeans
Module for BPEL Documentation Generation) to include this
functionality.
Because I have done more JDBC and LDAP programming than REST Web
Services I decided that I would build the Adjoovo Spaces Upload Action
first and this blog entry covers the additional functionality I created
and how I accessed the Spaces using the REST API.
Following a number of discussions with colleagues I have tweaked the
BPEL Monitoring Web Page so that it is now an Ajax based solution and
hence the page now only exists to layout the data. The functionality
originally contained within the BpelSvgRetriever.java has been moved to
one of a number of Servlets that will execute during the page display
and periodically, as specified in the preferences, to refresh the
screen. Once the servlet have executed, asynchronously, the the Ajax
callbacks will update contents of the specified <div> blocks.
As a result of these changes the simple monitoring web application
has become slicker and in the majority of browsers no longer flickers
as a result of the refresh. In addition I have stripped the SVG
Generating code out of the main Document generation jar resulting in a
smaller packaged war file.