Search:

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

Search: Search took 0.02 seconds.

  1. Hi, I've also come to the same solution. The...

    Hi, I've also come to the same solution. The service should return an rmi proxy stub and not a spring stub anymore. To obtain this, your interface service should extend java.rmi.Remote and the...
  2. Creating multiple ApplicationContexts in an application

    Hi,
    In my current application project, a singleton is used to get the Application Context instance (new ClassPathXmlApplicationContext(files)).

    Some new functions require simultanous access the...
  3. Replies
    2
    Views
    735

    Hi Marten, Thanks for your reply. Indeed, i...

    Hi Marten,
    Thanks for your reply. Indeed, i resolved it with Around Aspect:

    @Aspect
    public class ExceptionAround {

    @Around("execution(* com.services.*.*(..))")
    public int...
  4. Replies
    2
    Views
    735

    How to intercept an exception AND return

    I have a case where i need to intercept an exception AND then return an int.
    I can add an aspect with an after-throwing that does the first job.
    I can add an after-returning when the join point...
  5. For information, the answer is : yes, it is...

    For information, the answer is : yes, it is possible.
    The interface service should extend java.rmi.Remote and the implemented service should extend java.rmi.server.RemoteObject. Thus, the service...
  6. Hi ryester, I think pmbh needs a non-spring...

    Hi ryester,
    I think pmbh needs a non-spring client and HttpInvokerProxyFactoryBean is part of spring remoting httpinvoker
  7. Spring Remoting server side but no spring client side

    Hi,
    i have server running with RMI spring-remoting 2.5.6
    <bean id="hellloServerServiceExporter" class="org.springframework.remoting.rmi.RmiServiceExporter">
    <property name="serviceName"...
Results 1 to 7 of 7