Hi Chris, if you just want to change the datasource, take a look at this page: http://www.andromda.org/andromda-spring-cartridge/namespace.html and look for the “dataSource” property.  You can configure the data source and a bunch of other stuff with namespace properties (including whether or not to generate session ejbs so that you can run in standalone tomcat).

 

Chad

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sterling
Sent: Sunday, January 02, 2005 5:29 PM
To: AndroMDA Users Mailing List
Subject: [Andromda-user] Generation of applicationContext.xml

 

I have been looking at the applicationContext.xml file so that we may look up beans from Spring but I need to use a different data source than the default java:/DefaultDS used with JBoss AS.  I would like to remove dependency on JBoss and we intend to just deploy our generated jar with a WAR deployed to Tomcat.  The data source would be using Enhydra connection pooling and the MySQL JDBC driver.

Is this XML file's generator the maven plugin code or is there a velocity template that I can modify to get the desired results?  I have been searching for the template but I have been unsuccessful so far in finding it.  Thanks.

 
-- 
Chris Sterling
Software Architect
Codesic Consulting
[EMAIL PROTECTED]
office: 425-576-9292

 

Reply via email to