This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Same controller for application client and Browser

 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Should we use the same controller for both
Browser client and application client in partII?
If this is true, the performance for app client
would not be better.
Any comments?
jb
 
Bagwan Mehrat
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I won't get into specifics, but for various reasons, including nature of the networks on which the clients depend, there will be performance differences.
 
Srinivas Velamuri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not writing this specifically for part-II. In general, I think a portion of the controller shall be reusable for various "clients". Let us assume that the "main" controller consists of 'view specific controller' + 'EJB Controller'. The 'EJB controller' portion of the controller is reusable. The 'view specific' portion varies for various clients.
With this type of approach, I do not see any problem with the performance for specific types of clients.
 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the EJB controller? Delegate?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic