Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    11
    Views
    10,705

    Inside a container you never know if you have a...

    Inside a container you never know if you have a single instance or multible ones and that makes it so dangerous. If you have a counter of something you need to be sure you have a single instance. If...
  2. Replies
    11
    Views
    10,705

    Which is a good thing for server applications,...

    Which is a good thing for server applications, because you can create real singletons and avoid creating the whole object tree with every new transaction.



    Except for the trivial application...
  3. Re: How Common to Spring Manage Beans Created By Hibernate?

    If you use dependency injection (Spring beans) how would you like to solve the issue that a persistent object lives only as long as the transaction lives?
    If you create a Spring bean and it...
  4. Replies
    5
    Views
    1,510

    That's easy, Spring creates it's objects without...

    That's easy, Spring creates it's objects without beeing part of any transaction. Persistent objects are always part of a transaction and live only as long as the transaction lives. This is normally...
  5. Replies
    5
    Views
    1,510

    Spring and O-R mappers

    I wonder how others may solve the issue that an OR mapped object lives only as long as the transaction lives. If you create beans with Spring you can not have references to your persistent objects....
  6. Replies
    4
    Views
    2,835

    Re: Problems PropertyPlaceholderConfig Not Working

    I have no ideas what happens there but experienced the same issue. If I use the following code the variables are resolved.

    PropertyPlaceholderConfigurer cfg = new PropertyPlaceholderConfigurer();...
Results 1 to 6 of 6