File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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

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

Elena Taube

Joined: Dec 06, 2005
Posts: 21

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!
[ 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
I agree. Here's the link:
subject: patterns to make architecture of the client-tier for rich client (Swing)
Similar Threads
Uregnt! which is correct?
Correct Answers?
Conversion of Jsp to Swing thin client !!!!
Multi-tier architecture
Java rich client design patterns: where to find?