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...
Type: Posts; User: Niels Ull Harremoës; Keyword(s):
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...
Hi!
I am using AbstractDependencyInjectionSpringContextTests (ADISCT) and setting config locations to { "appContext.xml", "testContext.xml" }
Now, there are some beans in appContext.xml, which...
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...
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...
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...
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"
...
How about writing a custom BeanFactory with an initProperties setter?
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...
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...