Announcement Announcement Module
Collapse
No announcement yet.
Separate Web layer in other server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Separate Web layer in other server

    Hi guys,
    I hope to find someone can help to me with this question.
    How can I separate the Web and service layers of my Spring application in different App servers, say, Jboss?
    I want to have a Jboss with the Service and Dao layers of the application, and other Jboss with only de Web layer. Something like use @Remote and @Local facades with EJB.
    How can I do this? It's possible with Spring? Some articles that do you can suggest?

    Thanks in advance...

  • #2
    The first rule of distributed computing/components - Don't...

    But if you really must you can use Spring Remoting (explained in the reference guide) to access beans on the other server (there are different implementations which is best suitable depends on you). Another solution could be to use Spring Integration to tie both systems together, you could create an outbound-gateway on the client side (web) and another inbound-gateway on the server and use JMS in between (or gemfire/rabbitmq etc).

    Comment


    • #3
      Is a good approach, and I need to read now about Remoting, so, thank you very much for the tip.
      Then, at the end, the solution is to implement the same way in such EJB works.
      I will to implement some proof od concept...
      Last edited by jesfre; Nov 9th, 2012, 11:26 AM.

      Comment

      Working...
      X