Search:

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

Search: Search took 0.03 seconds.

  1. Thanks - I think I understand. Yes, I do have...

    Thanks - I think I understand. Yes, I do have control over the remote service. I was hoping to be able to send and process this extra client information for all of our services in a generic...
  2. Sorry about the AOP ignorance (I'll fix that very...

    Sorry about the AOP ignorance (I'll fix that very soon), but when you say expose a different interface using HttpInvoker, is there a way to do that generically so I don't have to affect the "real"...
  3. What's the best way to wrap the client in a...

    What's the best way to wrap the client in a proxy? Implement my own httpInvokerRequestExecutor, containing an HttpClientFactoryBean?

    Or is there an easier way?
  4. Replies
    2
    Views
    1,367

    how to add info in HttpInvoker client

    I have some services exposed via the HTTP Invoker technique. What I'd like to do is add client auditing information as seamlessly as possible on both ends (i.e. without adding it as a method...
  5. operator error - found the problem

    I finally noticed that the main bean definition doing the work wasn't properly referencing the parent txManagerTemplate bean, so it wasn't properly getting wrapped by a transaction manager. Doh. ...
  6. Hibernate transaction flush - PropertyAccessException: IllegalArgumentException

    I'm running into a problem flushing my hibernate session. I have an AOP-wrapped transaction for performing a saveOrUpdate on an object. When the transaction is being committed, I'm getting an...
  7. Replies
    4
    Views
    4,950

    Here's another example of a default and overridden property config

    Here's how I eased some integration test code into our build. It allows a default configuration (our test database) without breaking the build, with the intention that eventually each developer will...
  8. More info and thoughts on the integration testing problem

    Another wrinkle I didn't mention is that we're using maven on our project, with about 50 modules (blech). Each module only contains a subset of the total classpath needed by the applicationContext. ...
  9. Should classpath* work for getConfigLocations?

    I have a class that extends AbstractTransactionalDataSourceSpringContextTests, and has this for its getConfigLocations impl:
    protected String[] getConfigLocations() {
    return new...
  10. Replies
    3
    Views
    1,049

    thanks - got it

    Thanks for the help guys - I've got it now. When I saw the jPetstore example, I realized it is valid to put more bean configs into the startup config. I originally (correctly) thought I could do...
  11. Replies
    3
    Views
    1,049

    How separate config from applicationContext?

    I'm trying to reuse the same applicationContext for my integration testing as what's used for production use. The problem is that I can't figure out a good way to separate out the data source...
  12. Replies
    10
    Views
    2,980

    What's the best way to switch between config files for production and test?

    This is a basic question that I haven't grok'd yet...what's the best way to switch between which datasource config file is loaded for the production code? i.e. How do you combine the j2ee XML file...
  13. Any further progress?

    Does anyone know the latest scoop on this? I'm also in the situation where my .hbm.xml files are stuck in an EAR, so I haven't successfully gotten any classpath wildcard-style hibernate...
  14. I don't understand how you'd implement this in a...

    I don't understand how you'd implement this in a class that extends JdbcDaoSupport. i.e. Following the standard, you instantiate your AbstractSelect implementation once during initDao(), and that's...
  15. Any word on this, now that there's an official partnership?

    Especially now that BEA and Spring are official friends, does anyone know the latest status of this? It'd be nice if Spring hooked into the RMI Server that is started by Weblogic instead of creating...
  16. Replies
    5
    Views
    2,303

    Make sure you test it yourself though

    As already mentioned, make sure you test the performance for your specific use case. I have a very simple service that I tested, and the results on a local subnet were:
    RMI: 20ms
    Hessian: 50ms...
  17. Same question/request for T3://

    BTW - The same question/problem goes for being able to use t3://somehost:someport/someService. If that's available, then I can access an RMI service in our environment without opening additional...
  18. Does Spring RMI support HTTP tunneling through Weblogic?

    I successfully tested an RMI invocation through Spring on a weblogic server, like this:

    <bean id="roleService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
    <property...
Results 1 to 18 of 18