Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Elena Taube
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic