jQuery in Action, 2nd edition*
The moose likes OO, Patterns, UML and Refactoring and the fly likes patterns to make architecture of the client-tier for rich client (Swing) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "patterns to make architecture of the client-tier for rich client (Swing)" Watch "patterns to make architecture of the client-tier for rich client (Swing)" New topic
Author

patterns to make architecture of the client-tier for rich client (Swing)

Elena Taube
Greenhorn

Joined: Dec 06, 2005
Posts: 21
Hello,

I am thinking about to make architecture of client-tier of my J2EE application. And have some problem to begin. There is a lot information about JSP or Servlets, but I found only litte information/examples about what patterns are suited to make the client artitecture for rich (fat) client (Swing-Application). The application should be data managing tool (the user recieves some forms to create data, can save it, cann call this data, can edit this data).
I have read about Front Controller. But only examples that i found was Servlets or JSP Can this pattern be applied to the rich-client?
Or what is the alternative for this?
Are there another patterns that I can use to create the architecture of the client tier?
Have you met maybe some examples of the client architecture for rich-client?

Any help are appreciated!
Elena
[ July 04, 2006: Message edited by: Elena Taube ]
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
The web based Front Controller is an adaptation of the earlier Model View Controller. You can build a pretty darned good MVC on Java Swing. Google on "Java MVC" and see what you find. There are many flavors and variations. Feel free to post your observations on how they differ and we can talk about how to choose one over another.

If you have an EJB back end some of the Sun J2EE patterns will apply nicely, too. Where they talk about a servlet container being the client for an EJB container you'll have a fat client instead, but you can still use client side designs like Service Locator, Business Delegate, etc. I guess those patterns would work well enough with any kind of back end, but the details would be different.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: patterns to make architecture of the client-tier for rich client (Swing)