Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,046

    Inject Dependency on Outer Bean

    Is it possible to inject a reference to a containing bean into an inner bean for prototype beans?

    Something like:

    <bean id="outerBean" class="foo" scope="prototype">
    <property name="inner">...
  2. Replies
    3
    Views
    790

    I looked at that

    I looked at that and can see how it would work but I worried about this bit from the top of the chapter:

    "For new applications, we recommend the use of the Spring 2.0 AOP support described in the...
  3. Replies
    3
    Views
    790

    Limiting Pointcut to just one bean

    I've got several Spring managed beans that all use the same class and interface but are configured differently via the configuration file and so behave differently at runtime. I want to advise some...
  4. Replies
    15
    Views
    7,924

    Illegal type in constant pool

    I can't for the life of me figure this one out. When I enable LTW using:

    -javaagent:C:/temp/aspectjweaver-1.5.3.jar
    and by putting aop.xml in my webroot/META-INF

    Hibernate (and...
  5. Replies
    2
    Views
    970

    Great idea

    Great idea. I'll give that a go.
  6. Replies
    2
    Views
    970

    Use SqlRowSet with RowCallbackHandler

    Is thre a way to use the SqlRowSet with a RowCallbackHandler? Since SqlRowSet does not implement RowSet (because it would have to throw checked exceptions) I can't use it with the...
  7. JdbcTemplate queryForRowSet and Prepared Statement

    I want to use the JdbcTemplate.queryForRowSet method but need to set direction and concurrency settings on the prepared statement. Is there some way to do this? I don't see a version of...
  8. Transaction Demarcation within same Service Object

    I'm having issues with transaction demarcation within a single Spring-managed object. Specifically, one method within an object needs to call another method in the same object but using a different...
  9. Replies
    5
    Views
    2,036

    We recently solved this problem. It's not...

    We recently solved this problem. It's not obvious since the CallbackHandler has no support parameters whatsoever. The solution is simple and works like a charm (though it does introduce a...
  10. Replies
    1
    Views
    1,331

    RE: Questions using Spring, Axis and WSS4J

    We recently solved this problem. It's not obvious since the CallbackHandler has no support parameters whatsoever. The solution is simple and works like a charm (though it does introduce a...
  11. Replies
    2
    Views
    2,020

    Will do.

    Will do.
  12. Replies
    2
    Views
    2,020

    Serializable SqlRowSet

    I've seen that the only RowSet that is Serializable is the CachedRowSet. I know that the Spring SqlRowSet wrapps a CachedRowSet but itself is not serializable. This is a problem if you want to...
  13. RMIServiceExporter and Spaces in URLs = BOOM

    Spring version 1.1.5
    JDK 1.5.0_01

    When using Tomcat 5.5 on Windows with the RMIServiceExporter, I get the following error:

    java.net.MalformedURLException: no protocol:...
  14. You should check out Matt Raible's solution to...

    You should check out Matt Raible's solution to this problem. It's much simpler and uses no custom code:

    http://www.jroller.com/page/raible?anchor=package_your_spring_config_files
  15. Replies
    4
    Views
    1,478

    I think the easiest way to handle this problem is...

    I think the easiest way to handle this problem is described by Matt Raible at the following link:

    http://www.jroller.com/page/raible?anchor=package_your_spring_config_files
  16. Actually, there's quite a lot of things in the...

    Actually, there's quite a lot of things in the Hibernate documentation that aren't exactly black-and-white true vs. false. It's a sophisticated product and often the documentation assumes a...
  17. HibernateTransactionManager vs. JtaTransactionManager

    I'm wondering if I can get away with using HibernateTransactionManager rather than JtaTransactionManager. I'm only accessing one database so JTA seems like overkill.

    However, the Hibernate...
Results 1 to 17 of 17