0 Replies Latest reply on Aug 7, 2002 12:09 PM by yyop

    JBoss 3.0: Local Interfaces VS Remote Interfaces

    yyop

      Hello, i know that this a recurrent subject....sorry

      I has been doing tests with local interfaces and remote interfaces and I didn't see any mayor differences.

      My tests has been:

      1.- Call the remote interface (findAll method) via session facade and create the DTO's to return them to the client (web application running on the same VM)

      2.- Call the local interface (findAll again) via session facade and return the local objects directly to the client (without DTO's)

      The differences has been 50 ms as average.

      The question is, is worth the time to code the local interfaces? The gain is very low and you lose the capacity to distribute your application in the future....

      Sorry for my poor english....:(
      Thanks in advance,
      ciao