• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Client and Swing Client distinction - Preferred pattern

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For web client, is it valid to make the Servlet invoke Java controller. This Java controller class is a POJO (not a Servlet) that would have been invoked from a Swing client.

What would be a good pattern for the above?
 
Francesco Bianchi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sam,
How about
Web Client:
FrontController -> ApplicationController-> View Helper-> Business Delegate-> ServiceLocator -> Application Service (Session Bean/Processor)
App Client:
GUI -> Business Delegate-> ServiceLocator -> Application Service (Session Bean/Processor)?
What doDoes all this above make sense?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic