Search:

Type: Posts; User: SotA; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    737

    Confusion about @AspectJ-Style

    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...
  2. Thanks for your hint to ClassUtils.*, this is the...

    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...
  3. The code in ScopedBeanInterceptor somehow does...

    The code in ScopedBeanInterceptor somehow does not work for me.

    Creating a scoped-proxy for an object with session-scope and calling

    '((ScopedObject)...
  4. Replies
    4
    Views
    1,447

    Thanks for your messages! I allready found the...

    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...
  5. Replies
    4
    Views
    1,447

    dependencies between springs jar-files

    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...
  6. If you want to use the...

    If you want to use the HttpSessionActivationListener you can do



    public void sessionDidActivate(HttpSessionEvent event) {
    applContext =...
  7. Replies
    12
    Views
    3,310

    I think you should not model DI at all. ...

    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...
  8. Ohm, sorry. I missed that point ;-) I can't...

    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...
  9. No, this is not a bug. It is a direct result of...

    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...
  10. The transactional proxy is not used in your...

    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...
  11. Replies
    6
    Views
    2,677

    Uhm, maybe I did not make things as clear as I...

    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...
  12. Replies
    6
    Views
    2,677

    I would like to see an elegant answer to this...

    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...
  13. I want to bring in another aspect: Serialization...

    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...
  14. Replies
    3
    Views
    2,040

    Yes, you can use RequestDispatcher.forward()....

    Yes, you can use RequestDispatcher.forward().
    Your current Controller then has to return null instead of a ModelAndView-Object.
  15. Yes, I have to use it... and I really don't like...

    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.
    ...
  16. Replies
    3
    Views
    2,277

    You should consider to redirect to the...

    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...
  17. Replies
    6
    Views
    1,414

    You could generate a static page and serve that...

    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...
  18. Replies
    8
    Views
    1,295

    You could try it this way:

    You could try it this way:



    <bean name="SimpleBean" class="...">
    <property name="manager">
    <ref local=".."/>
    </property>
    </bean>
    <bean name="ExtendedBean" class="..."...
  19. Replies
    8
    Views
    1,295

    Yes, you also have to inject the dependency...

    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...
  20. Here is the way to solve your problem with the...

    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>
    ...
  21. Replies
    1
    Views
    2,191

    I solved a similar problem in my architecture by...

    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...
  22. Replies
    5
    Views
    2,165

    You could override the isFormSubmission-method. ...

    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...
  23. Replies
    3
    Views
    1,518

    Re: Bean Scope with multiple Bean Factories

    Just use
    <ref bean="dataSource" /> instead of
    <ref local="dataSource" /> in your second definition-file.
  24. Replies
    1
    Views
    3,296

    Recommended Books on RCP/Swing

    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...
Results 1 to 24 of 24