|
Hi Andrew, JavaFlow is the same thing as FlowScript, but instead of writing _javascript_ files, you write common java classes. The rest is basically the same, you have sendPage, sendPageAndWait, can instantiate and send forms etc.. etc.. The main advantages of JavaFlow are : - You use java, which is typed, so you son't have problems with overloading, polymorphism etc.. - You have compile time checking, that you don't have in _javascript_ since it's not compiled. - You use common java developement tools, like any java editor and debugger (Eclipse works for me), even remotely on a test server and not only the embedded venkmann debugger only on the delevoper machine. - You avoid common _javascript_ nightmares ( if (c && (c == 'true' || c == true)) ) etc.. etc.. It also have drawbacks : - _javascript_ is usually considered easier to write - The BCEL rewritings that are made automatically on java classes to make them continuation aware are sometimes weird. I personally find myself much more happy with javaflow, since compile time code checking is a must, and since i usually write flows that use a java backend, and it's much more simpler to use it directly in java than in _javascript_. This is expecially true if you have a complex backend (with polymorphism and/or other design patterns) where untyped _javascript_ (and the consequent rhino guesses) can cause hard to find bugs or even disasters. Also, quite commonly the backend and frontend are developed by different teams, with _javascript_ you have no way to check if a change in the backend can cause problems to frontend flows, while with javaflow automatic refactoring is applied also in flows, and backend guys can quickly check if they broke something. Simone Andrew Madu wrote: Hi Jason, |
- Re: Cast type in flowscript Simone Gianni
- Re: Cast type in flowscript Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Jason Johnston
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
- Re: Cast type in flowscript [ Javaflow] Simone Gianni
- Re: Cast type in flowscript [ Javaflo... Andrew Madu
- Re: Cast type in flowscript [ Jav... Simone Gianni
- Re: Cast type in flowscript [ Javaflow] Andrew Madu
