We've been using Spring IDE for a while. It's always seemed a bit sluggish for us, but now....whew.
We recently upgraded to Ganymede, and the 2.2.1 version of Spring IDE. Now we regularly end...
Type: Posts; User: dcorbin; Keyword(s):
We've been using Spring IDE for a while. It's always seemed a bit sluggish for us, but now....whew.
We recently upgraded to Ganymede, and the 2.2.1 version of Spring IDE. Now we regularly end...
Type-safe enums tend to be used as a substitute for "type codes". Now, in an OO system, type-codes are a smell -- polymorphism is much better. I frequently end up evolving type-safe enums to have...
I'm looking for a design pattern that marries Spring with Joshua Blochs type-safe enum pattern.
That is, I want to be able to say "Handler.FOO" and "Handler.BAR" in my code, but I want Foo and...
First, I'm still on Java 1.4.
The type-safe enum is a very handy pattern. In my experience, some type-safe enums grow to be more than just "simple constants" to have actual behavior like "good...
Should I file a bug report, hassle someone in particular, or just go away?
David
I have a bean A which cannot be a singleton. I need to inject it into B. no problem. I also need to inject it into C, which is in turn injected into B. The A held by B and C need to be the exact...
Very slick, but that does not appear to be available in our version. Hmm...we might get away with a spring upgrade.
Unfortunately, we are also on Java 1.4.2.
Reading the documentation, it looks like the following snipit
<map>
<entry>
<key><value>java.util.List</value></key>
<value>just some string</value>
...
I would like to use HTTP Invoker, to call a particular remote service. No big deal there. We'll actually call it using HTTPS, which I don't think is a big deal.
What might be a big deal, is we...
I'm working to create/deploy a WAR that provides a number of HTTP Invoker services, but no other web-services. I don't fully understand the loading of contexts.
If the contextLoader[Servlet]...
All of those interfaces are things that Beans *in* the context implement, right? And then special processing takes place for beans that have defined those interfaces.
I simply want to load a...
Wouldn't BeanFactoryPostProcessor require me to have a bean IN the context? I'd like to remain outside of it.
something like...
new ApplicationContext("foo.xml").getBeanDefinitions().
What *is* beandoc?
We are using Spring DI in our project. However, certain types of errors in the configuration file take too long to become visible.
What I'd like to do is be able to load a context file and get a...
We have a factory bean we are writing. Currently, it takes 3 arguments in it's constructor, 2 of which are always the same, and 1 which will always vary.
I'd like to use an 'abstract bean...
We're just about to roll out the first release of our software using Spring. We've been caught off guard, however, because the software is attempting to access the DTD at...
The first option still requires me to rewrite all my bean definitions.
The second one has potential, though I'm also concerned about "error-proneness". (i.e., beans being left out.)
Is there an example anywhere that I can refer to?
That will still force me to redefine all the "concrete" EJB beans specifying a target, and specifying the interface twice (once as the BusinessInterface, and once as a proxyInterface), will it not?
...
I have a bunch o' beans that are EJBs that are defined using a common parent that defines their "EJBness". Here's an example of Foo, with his parent:
<bean id="ejb" abstract='true'...
Yes, that will do. I was really hoping for something I could put in the xml as a contructor-arg that mean "the current beanFactory", but ApplicationContextAware should work.
Naturally, I found...
This is definately needed, and it probably is also needed on BeanFactory, though I haven't thought that out (or inviestigated)fully. We need to be able to provide the host for remote beans "at...
Is there some "magical" way I can refer the "current" BeanFactory when defining the properties/constructor-args for a bean in XML?
Thanks
Is this that hard of a question, that I get no answer?
Thanks
David