View Single Post
  #9 (permalink)  
Old October 11th, 2012, 09:47 AM
WilliamYou WilliamYou is offline
Authorized User
Points: 141, Level: 2
Points: 141, Level: 2 Points: 141, Level: 2 Points: 141, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2012
Posts: 35
Thanks: 18
Thanked 0 Times in 0 Posts

As elegant as that sounds to be honest I don't think I can, as I have to be able to allow the system (comprised of 3 Applets) to work offline (i.e. no Internet connection), but this isn't the main issue.

My intention is to generate an XForms form from a Schema definition, the schema used depends on the option selected by the user. This form is then pushed into a named target on the frameset hosting the applet.

The user then completes the form and clicks the submit button. Now normally this would go back to the server but I don't want that so I was going to listen on an arbitrary free port and use a submission URI of tcp:// for the form's post method.

As I've 'trapped' the submission of the XML I can now save it locally and pass it along to another applet via another socket or Active MQ where the XML will get 'processed'.

P.S. All of the applets are digitally signed.

P.P.S Having said that you've given me a really good idea. :-)