File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Same controller for application client and Browser

 
Jim Baker
Ranch Hand
Posts: 177
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the EJB controller? Delegate?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic