Hi, recently I've been using AndroMDA on a web project which was using Salmon SOFIA web framework. Using AndroMDA I've been generating Entities, Spring DAOs and Services etc. Absolutelly amazing job on hibernate & spring cartridges btw.! In SOFIA controllers I've been obtaining these DAO and/or Service classes not using AOP, but simply by calling WebApplicationContext.getBean('fooBarDao').
Now I'm starting a new project in which I'd like to try to use BPM4Struts cartridge for modelling web tier. My question is therefore quite logical. Since I haven't seen support for <<EntityRef>> and <<ServiceRef>> dependencies in BPM4Struts modeling doc, what is the best way for calling service and dao methods inside struts controllers? I can make some singleton again with get...Dao() and get...Service() methods, but as I see it it would be much nicer to simply link the <<Entity>> or <<Service>> class I need to access using <<EntityRef>> (therefore get..Dao() will be generated in controller) or <<ServiceRef>> (get...Service() generated). But it'd be probably mixing of Spring & BPM4Struts, won't it? Can this be easily achieved somehow? So? How do you guys call DAOs and Service classes from controllers? What's the best way to do so? -- Sincerely Tomas Brejla ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user