Rob Hills wrote:
> That may well work, but I suspect it's a bad habit to get into.
> Creating your own Manager (extending GenericManager) and Dao (extending
> GenericDao) and their implementing classes can be a bit of a chore, but
> unless your app is a _very_ simple one, I think the collective wi
Rob Hills wrote:
> Derek Broughton wrote:
>>
> Yes, and GenericManager does its DB stuff via GenericDao...
>> I think I have it, now. It's trivial :-)
>>
>> WebApplicationContext ctx =
>>
WebApplicationContextUtils.getRequiredWebApplicationContext(this.getRequest().getSession().getServ
I think this error means that spring cannot find the correct implementation
for your LookupManager interface. What I would do is go look at the
applicationContext.xml and verify that the class you have specified there
implements the correct interface.
This has happened to me in the past when I
+1 to Rob. You are absolutely right on the pattern you describe. One of the
main reasons is that you want to have repeated patterns throughout your code
even when your code becomes more complex.
When I am first starting, I will usually create a model and an Action and
use a GenericManager, bu
Hi all,
This is not solely about appfuse applications so I apologize if it is
rather off topic. I want to put a huge database (used by an appfusian app)
under change control (subversion). And of course I need to automate applying
the changes to our central db on build server.
So far I used a sing
Hi Derek,
Derek Broughton wrote:
Rob Hills wrote:
Derek Broughton wrote:
Appfuse 2.0, Struts basic, Postgres
I want to execute a Hibernate NamedQuery, but I can't figure out how to
get the hibernate Session from within my Action.
Can somebody point me to some useful documentation - every
Rob Hills wrote:
> Hi Derek,
>
> Derek Broughton wrote:
>> Appfuse 2.0, Struts basic, Postgres
>>
>> I want to execute a Hibernate NamedQuery, but I can't figure out how to
>> get the hibernate Session from within my Action.
>>
>> Can somebody point me to some useful documentation - every example
Hi all,
I'm trying to run AppFuse in Jetty, without having done any changes to code
and I'm getting this error:
java.lang.ClassCastException: $Proxy36 cannot be cast to
com.app.ebun.service.LookupManager
This error is not appearing when I create the WAR file for the application
and deploying it
Hi Derek,
Derek Broughton wrote:
Appfuse 2.0, Struts basic, Postgres
I want to execute a Hibernate NamedQuery, but I can't figure out how to get
the hibernate Session from within my Action.
Can somebody point me to some useful documentation - every example I've
found assumes you already have t
See the following for an answer:
http://appfuse.org/display/APF/FAQ#FAQ-useexistingtomcat
Matt
On Mar 22, 2008, at 3:20 AM, PeterZh wrote:
After creating myproject,I run the mvn command ,error occurs,
. http://www.nabble.com/file/p16218102/mvnerror.jpg
What and where should I config in
Appfuse 2.0, Struts basic, Postgres
I want to execute a Hibernate NamedQuery, but I can't figure out how to get
the hibernate Session from within my Action.
Can somebody point me to some useful documentation - every example I've
found assumes you already have the Session.
--
derek
After creating myproject,I run the mvn command ,error occurs,
. http://www.nabble.com/file/p16218102/mvnerror.jpg
What and where should I config in the pom.xml to use the existed
tomcat instead of downloading the tomcat.zip and unzip it after
creating myproject
--
View this message
After creating project, I run the command mvn appfuse:full-source,error
occurs
http://www.nabble.com/file/p16217985/mvnappfusefull-source.jpg
--
View this message in context:
http://www.nabble.com/mvn--appfuse%3Afull-sourceError-tp16217985s2369p16217985.html
Sent from the AppFuse - User ma
13 matches
Mail list logo