Hi!
While reading Chapter 6 of the reference documentation I noticed that you need aspectjrt.jar and aspectjweaver.jar on the classpath to use @AspectJ-style AOP (Chapter 6.2.1).
After looking...
Type: Posts; User: SotA; Keyword(s):
Hi!
While reading Chapter 6 of the reference documentation I noticed that you need aspectjrt.jar and aspectjweaver.jar on the classpath to use @AspectJ-style AOP (Chapter 6.2.1).
After looking...
Thanks for your hint to ClassUtils.*, this is the solution I am currently using and it works like a charm.
But still I am wondering:
I'm pretty sure, that the only AOP proxy around my scoped...
The code in ScopedBeanInterceptor somehow does not work for me.
Creating a scoped-proxy for an object with session-scope and calling
'((ScopedObject)...
Thanks for your messages!
I allready found the description in readme.txt and used it to configure springs dependencies to this 3rd-party-libs.
What I am interessted in are the...
Hi @ all!
I apologize if this question has been raised before, but after doing a quick search on this board I did not find anything, so let's go:
Is there any way to see how the different jars...
If you want to use the HttpSessionActivationListener you can do
public void sessionDidActivate(HttpSessionEvent event) {
applContext =...
I think you should not model DI at all.
Modelling is all about the structure and architecture of your application/system, while DI is just a programming model.
The company I am working for is...
Ohm, sorry. I missed that point ;-)
I can't provide you a direct link to documents about Spring AOP, but there is a chapter in Springs Reference Documentation, although I am not sure, if there is...
No, this is not a bug.
It is a direct result of the proxy-based AOP-approach Spring is using.
Most of the times this is sufficient, because most often your Service-/Manager-Layer will be called...
The transactional proxy is not used in your configuration.
This happens since you call "updateSmocksEmailCount" from within the same class. So the method call does not pass the proxy and no...
Uhm, maybe I did not make things as clear as I should have ;-)
Of course I want to do the injection of transient properties inside a spring-environment.
It's okay for me, if an Advice depends on...
I would like to see an elegant answer to this problem too.
Some of my beans will be serialized when the HttpSession is serialized (on server restart / clustering maybe later).
And that's the...
I want to bring in another aspect:
Serialization is not only useful for remoting. Normaly all my Domain Objects are serializable, because I have to preserve them in the HttpSession between requests...
Yes, you can use RequestDispatcher.forward().
Your current Controller then has to return null instead of a ModelAndView-Object.
Yes, I have to use it...
and I really don't like it.
Casabac creates really nice GUIs, they do the AJAX-style via a hidden iframe, but the programming model on the server is awful.
...
You should consider to redirect to the "resultlist"-page after the spring-controller finished its work.
Redirecting would give you the benefit to avoid refresh/back-button-issues, which would...
You could generate a static page and serve that until the data changes.
For a real caching solution you shoul check OpenSymphonys OSCache.
This solution provides Tags, Filters and other tools for...
You could try it this way:
<bean name="SimpleBean" class="...">
<property name="manager">
<ref local=".."/>
</property>
</bean>
<bean name="ExtendedBean" class="..."...
Yes, you also have to inject the dependency "manager" into "ExtendedBean".
Your beans "SimpleBean" and "ExtendedBean" are two seperate instances, and your configuration only injects the manager in...
Here is the way to solve your problem with the normal PPC:
Put the following into your web.xml:
<context-param>
<param-name>webAppRootKey</param-name>
...
I solved a similar problem in my architecture by defining a Domain-Interface and a DTO-Interface and let the "Domain"-Class implement both of them.
In the Web-Layer only the DTO-Interface is...
You could override the isFormSubmission-method.
By default this method returns true for POST-Requests. Changing this to return true, if the request-parameter execution=1 is given, should solve...
Just use
<ref bean="dataSource" /> instead of
<ref local="dataSource" /> in your second definition-file.
Hi,
are there any recommended books on RPC/Swing-Development?
Anything like Rod Johnson's J2EE-Books?
I'll have to start a new Standalone-App, but I'm afraid, that I'm kind of a...