• Post Reply Bookmark Topic Watch Topic
  • New Topic

Best Practices for Presentation Layer

 
Tom Adams
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey -
In the new Osborne book it includes the following three items(from a long list) as best practices for the presentation layer. I'm not sure I understand the implemetation these - any insights?
> Try to place business logic in JavaBeans (typically I think of java beans as the value objects accessed in a jsp:useBean action tag...what does it mean to include business logic in them?)
> Factor general behavior out of custom tag handler classes. (? and put them into reuseable POJO)
> Utilize the JSP exception mechanism. (I usually favor the web.xml error-page declaration - is page errorPage better?)
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!