Hello,
Erwin, can you please give short code examples of how to use "DependencyInjectionInterceptorFactoryBean" ?
Thank you,
Turgay
Type: Posts; User: turgayz; Keyword(s):
Hello,
Erwin, can you please give short code examples of how to use "DependencyInjectionInterceptorFactoryBean" ?
Thank you,
Turgay
Néstor, thank you,
What you describe looks like the best way to work with Spring+ADF.
I have done some projects using Spring, but none with ADF. Can you please describe a little more, how you add...
Hi,
I wonder if anyone used Oracle ADF with Spring. I would like to hear your experience if you did.
Thanks,
Turgay Zengin
As always, Spring forums are more useful than any other, thanks a lot!
After I read this thread, I could get rid of that "cannot access loading collection" exception.
I did the following to get rid...
I guess that you are referring to "AbstractXsltView", as I could not find a "AbstractXmlView" in the Spring distribution 1.1.2. Is that so? Also, can you please describe briefly how you use it?
...
Please, can you describe a little how you integrated Laszlo and Spring?
Regards,
Turgay Zengin.
I guess this is not related to this topic but, this is how I use the definitions: (You need to define an interface for the service)
<bean id="txProxyTemplate"...
Here is the design I came up with, hoping that it could be useful for others as well. Any comments, critiques, improvement suggestions are welcome.
SaveDatabaseInterceptor is for catching save...
Thanks, my plan is to do a 1-to-1 translation, and maybe some footnotes if there is any need.
Regards,
Hi,
I didn't know where this question should belong to, so I chose this forum :)
I am considering to translate the Spring reference (to Turkish). Is there any problem (license?) that I should be...
Thank you,
I used the part that you insert "userManagerFacadeTarget" as a nested bean. But the other part caused problems (where you set the preInterceptors). I got an exception saying:
...
So, what is the recommended way to have the same service object (my userManagerFacade in this example) to have both TransactionProxyFactoryBean functionality, and another AOP functionality...
Thank you, that explains the exception java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy3
I am also using Tomcat 5.0.25, and had a similar problem before. Now I don't have the problem, and my definition is like this, you can try it:
(This is in TOMCAT\conf\server.xml, not in another...
I have no such experience, but just an idea:
You can build an administration client (Swing it may be) to let the user select his own applicationContext.xml file if he is already using Spring, and...
While playing with the context definition, I made it work, but don't know why it works now. Looks like the order of definitions are important when using parent="a template" (first I define the...
Thanks Rod,
But I have no final classes.
I suspect that the bean 'userManagerFacadeTarget' is causing the problem. I get the exception after the following:
DEBUG -...
Hi,
I want to define a DefaultAdvisorAutoProxyCreator, to be able to generate a database entry containing the details of an Exception. I want to define it so that, whenever an Exception is thrown, I...
This is what I could do, after studying AOP:
SaveDatabaseInterceptor is for catching save operations, and then saving a backup object to the database. It works if the object implements Auditable...
Right, the natural way to implement this is using an update trigger, but I do not want to go into database triggers, because I want the database to be portable.
Regards,
Turgay Zengin
Hi,
[I hope this is the right forum]
I need to track all updates to the database in my application. I mean, all versions of a record must be kept.
For example, in my DAO, if I have a method like ...
Here is the solution I ended up with, sending in hope that this might be useful for others as well:
A Struts action's execute method was like this before:
public ActionForward...
Yes, that's what I'll do in new projects. But with this one, I am trying to adapt to Spring without a major change.
I'll investigate DelegatingRequestProcessor and DelegatingActionProxy to see...
Hi,
The question is: What is the simplest way to define declarative transaction demarcation for all my Struts actions?
If I try to explain further:
Our project currently uses Struts and...