Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,418

    Spring IDE performance (Ganymede)

    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...
  2. Replies
    6
    Views
    1,218

    Type-safe enums tend to be used as a substitute...

    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...
  3. Replies
    6
    Views
    1,218

    I'm looking for a design pattern that marries...

    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...
  4. Replies
    6
    Views
    1,218

    Type-safe Enums and DI

    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...
  5. spring-1.2.9.jar is not in the Maven repository.

    Should I file a bug report, hassle someone in particular, or just go away?

    David
  6. Replies
    1
    Views
    818

    non-singleton bean re-references

    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...
  7. Replies
    5
    Views
    12,575

    Very slick, but that does not appear to be...

    Very slick, but that does not appear to be available in our version. Hmm...we might get away with a spring upgrade.
  8. Replies
    5
    Views
    12,575

    Unfortunately, we are also on Java 1.4.2.

    Unfortunately, we are also on Java 1.4.2.
  9. Replies
    5
    Views
    12,575

    Injecting a map keyed by Class objects

    Reading the documentation, it looks like the following snipit

    <map>
    <entry>
    <key><value>java.util.List</value></key>
    <value>just some string</value>
    ...
  10. Replies
    1
    Views
    1,190

    HTTP Invoker and client authentication

    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...
  11. Replies
    1
    Views
    1,035

    Loading contexts

    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]...
  12. Replies
    9
    Views
    1,599

    All of those interfaces are things that Beans...

    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...
  13. Replies
    9
    Views
    1,599

    Wouldn't BeanFactoryPostProcessor require me to...

    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().
  14. Replies
    9
    Views
    1,599

    What *is* beandoc?

    What *is* beandoc?
  15. Replies
    9
    Views
    1,599

    I'd like to get all the BeanDefinitions

    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...
  16. Replies
    2
    Views
    1,055

    Parent bean, factory and constructor-args

    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...
  17. Replies
    1
    Views
    830

    DTD access when parsing XML

    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...
  18. Replies
    11
    Views
    1,786

    The first option still requires me to rewrite all...

    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.)
  19. Replies
    11
    Views
    1,786

    Is there an example anywhere that I can refer to?

    Is there an example anywhere that I can refer to?
  20. Replies
    11
    Views
    1,786

    That will still force me to redefine all the...

    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?
    ...
  21. Replies
    11
    Views
    1,786

    Massively enabling an Advisor

    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'...
  22. Yes, that will do. I was really hoping for...

    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...
  23. Replies
    15
    Views
    4,219

    This is definately needed, and it probably is...

    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...
  24. Defining a Bean that refers to the BeanFactory

    Is there some "magical" way I can refer the "current" BeanFactory when defining the properties/constructor-args for a bean in XML?

    Thanks
  25. Replies
    3
    Views
    1,316

    No help?

    Is this that hard of a question, that I get no answer?

    Thanks
    David
Results 1 to 25 of 40
Page 1 of 2 1 2