Re: [appfuse-user] PersonDaoTest not saving to Person table

2007-03-17 Thread paulie
You were correct, it is the setComplete() that retains the added person on the database. An interesting thing that I discovered is that setComplete() works when I run the JUnit test from Eclipse, but doesn't retain the record when I run the same code via 'mvn test -Dtest=PersonDaoTest'. mraib

[appfuse-user] reload spring web app

2007-03-17 Thread j2ee dodo
Hi gang, I came across this blog that talks about reloading spring web app without restarting server. http://www.jroller.com/page/Solomon?entry=reloading_a_spring_web_application Was wandering if this is a cool thing to be integrated with appfuse? Thanks, Sam

Re: [appfuse-user] strutss basic archetype security

2007-03-17 Thread Matt Raible
dbunit loads the data into the database and then acegi reads from the database using the userDao. Matt On 3/17/07, appfused <[EMAIL PROTECTED]> wrote: How does the app know to look at the file instead of going to the database since acegi intercepts and everything looks as though the database s

Re: [appfuse-user] strutss basic archetype security

2007-03-17 Thread appfused
How does the app know to look at the file instead of going to the database since acegi intercepts and everything looks as though the database should be queried? Is there some filter,pointcut.,advice etc that intercepts the request? Apologies, if this is a stupid question. mraible wrote: > > Y

Re: [appfuse-user] strutss basic archetype security

2007-03-17 Thread Matt Raible
You are correct that sample-data.xml contains the default data. The passwords are SHA-encrypted. Decrypted they are "tomcat". Matt On 3/17/07, appfused <[EMAIL PROTECTED]> wrote: Thanks a lot. I guess this is one of the issues people probably have with spring since you can have the xml files

Re: [appfuse-user] strutss basic archetype security

2007-03-17 Thread appfused
Thanks a lot. I guess this is one of the issues people probably have with spring since you can have the xml files anywhere in the classpath but in this case appfuse-hibernate is a logical location. I thought you would actually point me to a class that reads in a file as the database that got crea

Re: [appfuse-user] strutss basic archetype security

2007-03-17 Thread Matt Raible
The userDao bean definition is stored in the appfuse-hibernate JAR - at the root level. It's loaded from the web.xml using classpath*:/applicationContext-dao.xml. Matt On 3/17/07, appfused <[EMAIL PROTECTED]> wrote: Hi, I'm new to appfuse and it looks like a really cool tool. I've been lookin

[appfuse-user] strutss basic archetype security

2007-03-17 Thread appfused
Hi, I'm new to appfuse and it looks like a really cool tool. I've been looking through the appfuse generated code for the struts2 basic archetype and i can't see how the userDao bean is defined. It's referenced in the security.xml file as The app compiles and deploy