Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. JMS from within TransactionSynchronizationAdapter

    I am trying to send a JMS message after a database transaction completes; the obvious thing seemed to register a callback with the TransactionSynchronizationManager.

    However, I am unable to send...
  2. Replies
    1
    Views
    2,304

    Migration guide from sec 2.x > 3.x?

    After fighting through a migration to spring 3, I am wondering if there is a migration guide for spring security that I have missed? I have read the sticky posts and the commit log for...
  3. I am experiencing this as well, although I am not...

    I am experiencing this as well, although I am not using GWT. It seems, in my case that maven/m2eclipse is not picking up the dependency on spring-security-web (the required jar never makes it into...
  4. Replies
    5
    Views
    3,490

    Yes, I can resolve them that way (it pulls from...

    Yes, I can resolve them that way (it pulls from the maven central repo). I was trying to use the spring repo (thinking it would be more up to date).
  5. Replies
    5
    Views
    3,490

    maven repo problem

    I am trying to pull spring 3 from the maven repo using the directions found in the spring 3 reference. I'm using m2eclipse. I can add other repositories just fine (jboss for example), but I can't...
  6. Figured it out after some intense reading of the...

    Figured it out after some intense reading of the jetty source:

    Jetty does not expect to be shutdown via Server.stop() as most people would expect. Instead one is expected to call System.exit()...
  7. XmlWebApplicationContext not getting ContextClosedEvent

    I am trying to deploy my spring application within jetty. When jetty starts, ApplicationLifecycleListener beans get a ContextRefreshedEvent. However, when I stop the jetty Server, I don't get any...
  8. I cannot imagine why you would want to build your...

    I cannot imagine why you would want to build your application this way. It seems like you are creating more work for (what seems like) little gain; you now have to edit your application's internal...
  9. Replies
    2
    Views
    1,773

    Thanks, good to know.

    Thanks, good to know.
  10. solved!

    I believe I have found the problem, I needed to set the subscription name AND make the subscription durable. It seems like non-durable subscriptions to topics don't seem to work right (at least with...
  11. Replies
    2
    Views
    1,773

    is Jaxb2Marshaller thread safe?

    The javadoc makes no mention if Jaxb2Marshaller is thread safe. In particular are marshall() / unmarshall() thread safe?
    While objects returned from createMarshaller() / createUnmarshaller() are...
  12. I don't think you can use the init() method, as...

    I don't think you can use the init() method, as Martin pointed out. If you want to make sure your service is initialized before it can be used, you _can_ implement ApplicationListener, and reload...
  13. Really? I think I have both transactional...

    Really? I think I have both transactional services and transactional DAOs; thinking that I can use either one or both together, and the thread scoped transaction will be started by the first layer...
  14. I think the question we are trying to answer for...

    I think the question we are trying to answer for you is 'is spring putting a transactional proxy around your DAO'?

    You might try to print out the class of the spring injected reference, usually...
  15. Replies
    1
    Views
    767

    multiple authentication-providers?

    In my application I have two types of subjects which need to authenticate to my web app: 'users' and 'server principals'. I have two different UserDetailsService implementations which look up the...
  16. How does DefaultAttachmentTypeService receive the...

    How does DefaultAttachmentTypeService receive the reference to entityDao?
    1) Is the reference injected via the spring container?
    2) Is the method findAll() part of a public interface declared by...
  17. is entityDao annotated with @Transactional (or...

    is entityDao annotated with @Transactional (or findAll())?
  18. There are many ways. Usually you have a DAO...

    There are many ways. Usually you have a DAO class annotated with @Transactional. As long as you make sure that the @Transactional is picked up by spring (and associated with the DAO class via...
  19. Replies
    5
    Views
    964

    update: I think the above poster has it right,...

    update: I think the above poster has it right, "assigned" seems to be the problem.

    It is allot easier to read if you use code tags. If you are just starting out, you might also consider using...
  20. Wow, getCurrentSession() vs. getSession() thats...

    Wow, getCurrentSession() vs. getSession() thats never going to be confusing. Why not name it getManagedSession() and getUnmanagedSession() or getCurrentSesion()/createSession().
    When I read it, i...
  21. Replies
    5
    Views
    964

    sounds like you don't have your class mapped...

    sounds like you don't have your class mapped right.
  22. This is my impression as well. I don't actually...

    This is my impression as well. I don't actually know the history, but from reading some of the reference guide comments, it seems like hibernate used to be more difficult to use in the past.

    It...
  23. Silly me, from the javadoc for...

    Silly me, from the javadoc for HibernateDaoSupport.


    Totally makes sense now.
  24. Thank you; I re-read the reference guide and it...

    Thank you; I re-read the reference guide and it seems a bit clearer now, however; I am still confused.

    I looked at those places where I extend HibernateDaoSupport; I noticed that wherever I was...
  25. plain Hibernate DAO: necessary to close/release the session?

    I'm trying to follow the "plain hibernate" style using only a SessionFactory (see the example in http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#orm-hibernate-straight).
    ...
Results 1 to 25 of 153
Page 1 of 7 1 2 3 4