Hey Nathan (or anyone else that knows), Sorry to ask possibly very obvious questions but I'm new to maven too. Do I add the jar using the groupId and artifactId of my appfuse project or do I need to get the relevant info for the jar I want to add? I want to add a DB2 JDBC driver to my app, so it would be whatever groupId and artifactId pertaining to the DB2 JDBC driver if not the groupId and artifactId or my app. So I guess there's really 2 questions, do I give the info for my app or for the driver and if it's for the driver, where do I get the groupId and artifactId for IBM's DB2 JDBC driver?
--jack melinate wrote: > > Turns out adding a Jar isn't that hard at all.... [which may be why no > one bothered replying to that part of the question ;)] > > http://maven.apache.org/general.html#importing-jars > > I ran that on jt400.jar, and added a new dependency in my pom.xml and > *poof* the jar is in my webapp next time I ran "mvn jetty:run-war". > That's pretty slick... now on to that JdbcTemplate stuff... > > Nathan > > Nathan Anderson wrote: >> [ You thought I was kidding about the 60 seconds, huh? ;) ] >> >> So I need to have 2 data sources in my application. The AppFuse core >> and my CRUD classes are being persisted to a MySQL database. I also >> need fetch Read-Only objects from a DB2 database. Being new to maven >> I'm a little stumped on how to add the JDBC jars for DB2. But even >> after I figure that out I'm not sure how to configure a second >> dataSource. I'm guessing I create a new "dataSource" bean, but I >> don't see how to tell Hibernate or some other mechanism to connect to it. >> >> Thanks, >> Nathan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Multiple-DataSources-tp10111071s2369p20076898.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
