Thanks for your informative answers, I think I can build something out of them.
I have a kind of "legacy" application, so I wouldn't want to change the code.
The code gets injected with a...
Type: Posts; User: frontline; Keyword(s):
Thanks for your informative answers, I think I can build something out of them.
I have a kind of "legacy" application, so I wouldn't want to change the code.
The code gets injected with a...
I need an object that is a "javax.naming.directory.DirContext" object.
Like now with spring + jboss (where ther is a ldap source configured in jndi) I can use:
<bean id="dirContext"...
What kind of bean config (applicationContext.xml) do I need to get an object that implements DirContext?
Ok, got it to work.
I basically did my own JNDI resource factory that just returns the spring bean factory.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
Only caveat...
Thanks, good idea, hadn't tought of that myself.
I'm actually using tomcat (in the future as well) so that's not a problem.
I'll tell you how it went if I get it to work.
Yeah, I have tought about some of these options myself.
But I had an idea to use a "self made" servlet context and store the spring bean factory there. But I don't know yet if the factory will be...
Hi,
I was wondering how it would be possible to share the same bean-instance (and preferably the whole spring-context) between two different servlet contexts?
It would be usefull eg. when your...
Thank you, looks promising at first glance.
I had a problem similar to this earlier, and solved it using webwork IoC (which seems kind of spartan compared to spring)
Hum, apparently this isn't possible, or not that important :(
Seriously, hasn't anybody run into this problem?
Hi,
I haven't tried to do this yet, but does anybody know the correct idiom for doing the following.
Normally when I make a data access object it gets passed a DataSource, which is configured...