Search:

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

Search: Search took 0.02 seconds.

  1. How to unit test method contains WebApplicationContextUtils?

    How can unit test if function method include something like this:


    ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(WebUtil.getServletContext());


    I am...
  2. Resource.getInputStream() different action with .getFile()

    I try to URL file://c:/mydata/test.xml. In windows, Resource.getFile() could return correct file. But Resource.getInputStream() reports "Host 'c" does not found ..."

    To get InputStream, I have...
  3. Replies
    1
    Views
    724

    intercept embeded service method

    For example, a service class has 2 public method (mA and mB), mA will call mB. in configuration, I surround an interceptor iB on mB. Normally, if call mA, interceptor iB won't be invoked as it is...
  4. afterPropertySet() can not call LazyLoading ?

    Hi, my condition is, my system is run happily with spring and hibernate for long time. I am using spring HibernateTemplate to exectue database access.

    A spring server bean has a method which...
  5. method and its embed method transaction control

    methodA() contains methodE(). Both methods use Hibernate DAO to access/update database.

    void methodA(){
    ...
    methodE();
    ..
    }

    My goal is methodA() can commit whatever methodE() failed or...
  6. Replies
    1
    Views
    1,032

    Spring in cluster

    I am new in spring :)
    Could I distribute spring into multip JVM? I found its singleton may just use static implementation(I just read piece code, I assume that). So it seems impossible to...
Results 1 to 6 of 6