Search:

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

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Is there some way to do this without making the...

    Is there some way to do this without making the classes you want to be configurable implement a specific interface? My specific use case is that I don't want any of my domain objects to have to have...
  2. Replies
    21
    Views
    13,121

    Having your Spring services be stateless is...

    Having your Spring services be stateless is absolutely the way to go. There are always other issues that crop up with clustering. Such as, if I'm using Hibernate I want to take advantage of the 2nd...
  3. I agree. I think we need to take a vote or...

    I agree. I think we need to take a vote or something to get this stuff released. I've just started to get into the DDD mindset and it makes a lot of sense but I find myself wondering how exactly to...
  4. Replies
    1
    Views
    789

    Spring 2.0 in Geronimo 2.0-M3

    I'm trying to get a webapp which is in an EAR file working in Geronimo 2.0-M3. It uses Spring 2.0 for most of the work, but I'm having some issues getting the initial Spring ApplicationContext...
  5. Replies
    4
    Views
    1,443

    Ok, so for now lets assume the simplest case -...

    Ok, so for now lets assume the simplest case - it's all going to be in the same VM. I've looked through the docs and such but I'm still just not getting the complete picture. If I want to deploy in...
  6. Replies
    4
    Views
    1,443

    Sharing beans between webapps

    I'm trying to figure out the best way to setup a global application context and have my webapps use beans from that context in addition to any beans specific to that webapp.

    I haven't figured the...
  7. Replies
    3
    Views
    2,371

    Logout problem

    When logging out using the logout filter I'm getting an IllegalStateException.



    2006-11-14 12:36:17,522 126916 DEBUG [btpool0-4] org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices ...
  8. Replies
    11
    Views
    2,465

    From what I understand that is true. In my...

    From what I understand that is true. In my situation it's not imperative that the user be switched back so it works for me. If you require certain pages to be accessed only using http then you can...
  9. Replies
    11
    Views
    2,465

    Alright, I figured it out. From the docs it...

    Alright, I figured it out. From the docs it seems like the catch all



    \A.*\Z=REQUIRES_INSECURE_CHANNEL


    is required. Apparently it's not. If you remove the line then all the resources...
  10. Replies
    11
    Views
    2,465

    I'm having a similar problem to the one...

    I'm having a similar problem to the one described. Here's what I've got:



    <property name="filterInvocationDefinitionSource">
    <value>
    ...
  11. Replies
    3
    Views
    2,387

    I second the motion on getting poms and jars...

    I second the motion on getting poms and jars posted to the maven 1 and maven 2 repos.
  12. The merge() method AFAIK doesn't do what it...

    The merge() method AFAIK doesn't do what it sounds like you think it does. It takes values of the detached object you give it and overwrites the values of the persistent object and returns the...
  13. Replies
    6
    Views
    2,827

    Well, I tried BEA JRockit and IBMs Java 5 SDK and...

    Well, I tried BEA JRockit and IBMs Java 5 SDK and both of them resulted in the same problem with the dependency injection. So, that makes 3 out of 4 compilers that work one way. The thing I don't...
  14. Replies
    6
    Views
    2,827

    It's a compiler problem!

    Ok, here's an interesting little update. The dependency injection into the BookService does work properly, if I use a different compiler than Suns. I built the project using the Eclipse compiler it...
  15. Replies
    6
    Views
    2,827

    Thanks for the responses, but I think you may be...

    Thanks for the responses, but I think you may be missing my point. The generic dao stuff works great, it's the injection of the dao into the service layer that seems to be causing the problem. It's...
  16. Replies
    6
    Views
    2,827

    Dependency injection and generics

    I'm having a problem with injecting a dependency into an implementation of a generic type. I'm getting the message:



    org.springframework.beans.factory.BeanCreationException: Error creating bean...
  17. Replies
    0
    Views
    805

    E-commerce package

    I know this probably isn't the right forum to ask this question in, but there isn't a "Other" type of forum that this topic would fall under.

    I'm going to be developing an e-commerce site and we...
  18. Replies
    1
    Views
    869

    Wrapper around ORM query APIs

    Hey all,

    I saw this mentioned once on this forum but there wasn't much in the way of resolution. Does anyone know about any wrappers around various ORM query APIs. I'm using Hibernate but it's...
  19. Replies
    0
    Views
    1,112

    Intersections in Hibernate

    Hello all,

    I've got a situation where I've got a set of objects that are persistent in Hibernate (3.0.5) and I want to query for objects that are containers of those objects. So I have something...
  20. I looked at the samples from the Spring project...

    I looked at the samples from the Spring project but don't see anything applicable.

    Is there no way to use a 2nd level cache with hibernate and spring unless it's in an application server?
  21. Hibernate, 2nd level cache, and transactions

    Hey all,

    I'm trying to get the 2nd level caching working in Hibernate. I'm using Hibernate 3 and the Hibernate 3 dao support in spring. For the second level cache I plan to use ehcache. I'm...
  22. Replies
    12
    Views
    3,277

    I did not understand the semantics of the 2nd...

    I did not understand the semantics of the 2nd level cache I guess. I didn't know you don't need to reassociate the object with the hibernate session. That's good to know, I'll probably use that...
  23. Replies
    12
    Views
    3,277

    Alright, I'm hoping that I've found a workaround....

    Alright, I'm hoping that I've found a workaround. It's in the HIbernate reference doc at chapter 11.6. Basically, you can use the session.lock() method to reattach an object to a session.

    If I do...
  24. Replies
    12
    Views
    3,277

    But I'd still have to do some magic to reattach...

    But I'd still have to do some magic to reattach the user data in the http session to the hibernate session, wouldn't I? How would I do that?


    Right now the approach I'm taking is to have...
  25. Replies
    12
    Views
    3,277

    I'm not sure about caching the collection or the...

    I'm not sure about caching the collection or the object containing the collection. How would that help with the object collection being loaded in a separate session as it's parent?

    I don't think...
Results 1 to 25 of 30
Page 1 of 2 1 2