Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    5,145

    Thanks for your informative answers, I think I...

    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...
  2. Replies
    6
    Views
    5,145

    I need an object that is 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"...
  3. Replies
    6
    Views
    5,145

    How to get a DirContext object

    What kind of bean config (applicationContext.xml) do I need to get an object that implements DirContext?
  4. Ok, got it to work. I basically did my own JNDI...

    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...
  5. Thanks, good idea, hadn't tought of that myself....

    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.
  6. Yeah, I have tought about some of these options...

    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...
  7. Sharing same bean between two servlet contexts

    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...
  8. Replies
    4
    Views
    1,936

    Thank you, looks promising at first glance. I...

    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)
  9. Replies
    4
    Views
    1,936

    Hum, apparently this isn't possible, or not that...

    Hum, apparently this isn't possible, or not that important :(

    Seriously, hasn't anybody run into this problem?
  10. Replies
    4
    Views
    1,936

    Configuring object with per user info

    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...
Results 1 to 10 of 10