File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Web Client and Swing Client distinction - Preferred pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Web Client and Swing Client distinction - Preferred pattern" Watch "Web Client and Swing Client distinction - Preferred pattern" New topic
Author

Web Client and Swing Client distinction - Preferred pattern

Sam Gehouse
Ranch Hand

Joined: Jul 21, 2003
Posts: 281
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

Joined: May 06, 2007
Posts: 5
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?
 
jQuery in Action, 2nd edition
 
subject: Web Client and Swing Client distinction - Preferred pattern
 
Similar Threads
Pattern for routing web client's (Servlet) request to Controller(POJO) of Swingclient
Part 2 design question
Passed SCEA with 98%
Multiple clients support
Clarifications on Requirements for - Part II