[ http://jira.andromda.org/browse/SPRING-129?page=history ]
Peter Friese reassigned SPRING-129: ----------------------------------- Assign To: Peter Friese (was: Chad Brandon) > Services should refer to DAOs even if DAOs will not be generated > ---------------------------------------------------------------- > > Key: SPRING-129 > URL: http://jira.andromda.org/browse/SPRING-129 > Project: Spring Cartridge > Type: Improvement > Versions: 3.1RC1 > Reporter: Peter Friese > Assignee: Peter Friese > Fix For: 3.1RC1 > > I have a model containing some entities and some services. Let's asume > ServiceA depends on EntityA and EntityB, while ServiceB only depends on > EntityB. Since I want to deploy my application to more than just one node, I > have the generator run twice in order to achieve the following behaviour: > 1) all Entity code gets rendered into a project named "domaindata" > 2) ServiceA gets rendered into a project named "coreserver" > 3) ServiceB gets rendered into a project named "optimizationserver" > All Entity stuff will be packaged as a JAR file, whereas the services stuff > will be packaged as a WAR file. In order to let the Services access the > database, we need to copy the domaindata.jar file into the WEB-INF/lib > directory of the services WAR files. > So far, so good. However, the applicationcontext.xml files in the server > projects do not contain the references to the DAOs. Which makes accessing the > database quite cumbersome ;-) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php