Results 1 to 4 of 4

Thread: Help: Bridge between Legacy system and Spring via RMI

  1. #1
    Join Date
    Mar 2005
    Posts
    3

    Default Help: Bridge between Legacy system and Spring via RMI

    Situation: I have a legacy J2EE system which makes use of several
    external services via RMI. I would like to convert the external RMI-invoked
    services to Spring. I do not want to write into each of the new services
    any RMI code. (If you are going to hardwire RMI code, that detracts from the overall
    advantage of moving to Spring in the first place) I have built spring-client to
    spring-service tests, but that doesn't help me with the legacy system.
    The legacy system is stranded under jdk1.2 and I suspect that adding
    Spring services directly to the 1.2 system is not possible and in my case
    is not viable for us in our plan to migrate/evolve the application.

    So the big question is: Can Spring leverage its declarative remoting to support
    traditional RMI remote clients? If it cannot, I would see this as a significatnt
    barrier to adoption by companies who would like to migrate existing services
    while maintaining a working solution.

  2. #2
    Join Date
    Mar 2005
    Posts
    3

    Default Follow-up

    One of the reasons we do not want to embed RMI code is that at some point
    we would like these services to support other protocols and deprecate the
    RMI support.

  3. #3
    Join Date
    Mar 2005
    Posts
    3

    Default Facade Pattern

    I suppose if I used a facade pattern, I could embed RMI in the facade. The internal
    services would be free of RMI code and have the adaptability Spring offers to
    use other remoting protocols. At some point in the future, the face could be
    removed.

    Not exactly the solution I was looking for but should work

    Any other suggestions would be welcome.

  4. #4
    Join Date
    Dec 2004
    Location
    Buenos Aires, Argentina
    Posts
    73

    Default

    See http://forum.springframework.org/viewtopic.php?t=3398 to see requirements of Interface design on the exported service to be reached by legacy rmi clients

    Cheers,
    Gustavo.

Similar Threads

  1. Spring vs. ATG Nucleus
    By mfelix in forum Architecture
    Replies: 39
    Last Post: Dec 17th, 2008, 03:46 PM
  2. Replies: 2
    Last Post: Aug 5th, 2005, 12:52 PM
  3. Spring Web Flow - Preview 1 Released
    By Colin Sampaleanu in forum Announcements
    Replies: 13
    Last Post: Apr 6th, 2005, 07:22 AM
  4. Replies: 5
    Last Post: Mar 14th, 2005, 10:18 AM
  5. Spring and Legacy Client
    By spring04 in forum Architecture
    Replies: 5
    Last Post: Jan 19th, 2005, 10:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •