• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two/One implementation of BusinessDelegate

 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

Since my architecture bases on Version 1.1 my application client has to handle remote interfaces. So in this case I assume that the implementation of my Business Delegate and my Service Locator can be used by both clients:
  • web client
  • application client
  • .

    Am I right? What is your opinion?

    Looking forward to your opinions
    Lucy
     
    jono
    Greenhorn
    Posts: 25
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Lucy,

    In theory there is no problem with using the one BD & SL for a Java Client & Web Client. I would prefer to use two versions. It allows you to change their implementations separately - this is particluarly relevant if the rates of change of the two clients will vary greatly. You coudl have them inherit from the same base classes.

    I am not sure why the use of EJB 1.1 is relevant? Any remote client will have to use remote interfaces to talk to Business Services deployed in an EJB container - this woudl be the case in EJB 2.0 also?

    best of luck
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic