On 11/5/07, Luciano Resende <[EMAIL PROTECTED]> wrote: > > I was trying to run the new DAS sample (dataSource) and I looks like > it requires MySQL in order to run the sample, this might not be the > best default configuration to require, as it requires lots of steps in > order to just try the sample (e.g install MySQL), and it also makes it > difficult to test the sample during build. I'd like to suggest two > things for our DAS Sample applications : > > - Use Derby as the default database in a sample application
Agree, done changes for this - Have a simple unit test to quickly check if the sample is working > (use htmlUnit for webapp) The jira has test cases for case which does not require external JNDI. Which JNDI jar is available as part of maven repo? I could not spot one and used sun's jars. As these can not get downloaded thru mvn build and need to be placed manually in the classpath, used sample instead of junit for testcase which requires JNDI. But if there is a maven repo based jar providing JNDI, the sample can be removed and instead junit cases can be added. Tried RootContext from Geronimo but it is read only. Also, I was wondering what we should use for demonstrating a specific > feature... I guess we might not need a new sample for every new > feature, this might increase the complexity of developing a new > feature, I guess a test case might be good enough.... and a sample > would be used more to demonstrate a bigger scenario or a how a set of > features work together... > > Thoughts ? > > -- > Luciano Resende > Apache Tuscany Committer > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >