Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,234

    Behavior of proxying concrete classes

    ProxyFactory pf = new ProxyFactory();
    pf.addAdvice((MyInterceptor) ClassFactory.getInstance().getObjectById("myInterceptor"));
    pf.setTarget(concreteObject);
    ObjectIF returnObject =...
  2. Having trouble getting to AbstractBeanFactory

    So ultimately I need to / want to use getBean(myObject, MyObject.class, args), but we're using a BeanFactory derived from the ContextSingletonBeanFactoryLocator


    protected BeanFactory...
  3. Replies
    2
    Views
    3,022

    thanks... the manual overrided seems to have done...

    thanks... the manual overrided seems to have done the trick. :D
  4. Replies
    2
    Views
    3,022

    2 XML validation problems

    1. With <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">, <bean id="commonDataSource"
    class="com.zenodata.shared.db.PooledDataSource"
    ...
  5. Replies
    6
    Views
    1,435

    thanks very much for the info :D

    thanks very much for the info :D
  6. Replies
    6
    Views
    1,435

    and the other question I guess is just with the...

    and the other question I guess is just with the connection.close is that effectively just a release back to the pool? ... how does one know vs. is it actually a close of the connection?
  7. Replies
    6
    Views
    1,435

    And if I don't have a transaction? I'm just...

    And if I don't have a transaction? I'm just doing read-only queries...
  8. Replies
    6
    Views
    1,435

    How do connections get released to a pool?

    If you set the data source to say DBCP BasicDataSource and use a MappingSqlQuery, I assume that Spring calls bds.getConnection(), but how does that connection get released. Why don't we need some...
  9. Replies
    3
    Views
    1,222

    Dealing with XML config maintenance

    Are there any recommendations for validating your various Spring XMLs for code changes such as renaming a class or removing a setter from a class? The concern is mostly related to the production...
  10. Replies
    11
    Views
    5,183

    Test vs. Production XML Validation

    I'm concerned about maintaining the 2 xml files as our system grows. If I rename classes or add dependencies for example, I can easily work the kinks out of the spring-test.xml, but is there a way...
  11. Thread: Context size

    by rpark68
    Replies
    7
    Views
    2,051

    multiple xml files

    Option 2 sounds preferable to me at this point...

    WRT entry points: I was just referring to something like
    AppClass {
    ...
    public void setShared(Shared shared) {
    this.shared = shared;
    }...
  12. Thread: Context size

    by rpark68
    Replies
    7
    Views
    2,051

    multiple xml files

    For option 1, where the shared code has its own context, I assume that the entry point classes in shared.jar need to lookup there own ApplicationContext?

    For option 2, can Spring assemble the...
  13. Thread: Context size

    by rpark68
    Replies
    7
    Views
    2,051

    recommended "how to" on multiple application conte

    I'm starting to implement Spring into our existing codebase. We have 2 swing apps and a web app that all have some shared code... let's say in shared.jar. My current enhancement only needs to...
Results 1 to 13 of 13