[ http://jira.andromda.org/browse/SPRING-129?page=all ] Peter Friese closed SPRING-129: -------------------------------
> 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.2-RC1 > > 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 ;-) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642