Thank you very much Wouter. Your advice and encouragement is very
helpful. The impetus for this cartridge is a project too big to be
written by one guy, but the programming will be very repetitive in
nature.
Regards,
-ryan
On May 10, 2005, at 1:54 AM, Wouter Zoons wrote:
Ryan Marsh wrote:
I would like (and need) to write a cartridge like bpm4struts,
however I need it to create Views, Controllers, and Models for
use in a rich client (read: swing). In stead of creating form
beans, jsp, etc.., I'd like to generate code more suitable for
swing use (i.e. FormLayout, JGoodies Validation).
At the outset, am I barking up the right tree?
How much more complex/difficult do you think this would be
compared to what bpm4struts is currently doing?
And where might I look as a starting point?
it's definitely more complex to write that cartridge, but I am
confident that, once you have it ready, the % of generated code
(vs. hand-written code) is higher than with bpm4struts (due to
inheritance, as were doing in the Spring or Hibernate cartridges)
don't focus too much on layout, your cartridge should be about
process logic (layout can always be achieved afterwards - don't
forget everybody wants a different layout, and UML does not have
the feature to describe all possibilities)
I recommend taking one step at a time, think it really through
because there's a big chance you'll be restarting from scratch (I
did twice with bpm4struts)
My guess is that your biggest worry will be how to model events/
listeners, you'll probably need to analyze the UML model in a first
phase (to generate initialization routines, such as registering
listeners) and then a second time to generate the rest; UML has the
syntax but I'm not sure you can use the same expressions as we're
using on bpm4struts (would be cool though, seemlessly using one of
the models used in combination with bpm4struts before)
anyway, you just need to jump .. you'll get there eventually, it's
definitely interesting work, that's for sure
for any questions don't hesitate to post them, we're actually
hoping someone will start such a cartridge :-)
-- Wouter
ps: this is a nice post for http://forum.andromda.org/ :-)
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel