Search:

Type: Posts; User: Niels Ull Harremoës; Keyword(s):

Search: Search took 0.01 seconds.

  1. OK, I will go for appContext.xml,...

    OK, I will go for appContext.xml, appContext-server.xml and testContext.xml, where appContext-server.xml is not in the test classpath. And stick with the eager initialisation. It does make things...
  2. Can AbstractDependencyInjectionSpringContextTests be set to default-lazy-init="true"?

    Hi!

    I am using AbstractDependencyInjectionSpringContextTests (ADISCT) and setting config locations to { "appContext.xml", "testContext.xml" }

    Now, there are some beans in appContext.xml, which...
  3. Unfortunately, Setting an empty string makes...

    Unfortunately, Setting an empty string makes Hibernate fail. It will try to do a Class.forName on any non-null value.

    Only including the property in the children was basically what i was trying to...
  4. One reason for POJO's would be simplicity...

    One reason for POJO's would be simplicity (fewer/simpler deployment descriptors) and ease of testing.

    One reason to use MDB's would be container support for configuration and management. They can...
  5. How will you get the user identity? Unless this...

    How will you get the user identity? Unless this is to be hardcoded in configuration, or you have some other smart way of determining it, you will need to set this in your code. And there's no simple...
  6. Merging props - can I remove parent properties?

    Hi!

    I would like to use <props merge="true"> and remove a property from the parent. I have the following set up:

    In appContext.xml



    <bean name="sessionFactory"
    ...
  7. How about writing a custom BeanFactory with an...

    How about writing a custom BeanFactory with an initProperties setter?
  8. Replies
    1
    Views
    779

    Accessing property value

    Hi!

    Often, I would like to use a specific property from a property file in my bean definition (using Spring 2.0.4).

    If I use PropertyPlaceholderConfigurer, I will need to come up with a unique...
  9. Overriding spring configuration in J2EE deployment plan

    I would like some suggestions on how to solve this problem:

    Background:
    We are developing an application with a web interface and a couple of EJB's, which will be deployed on WebLogic 9.2. We...
Results 1 to 9 of 9