• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts Application BO structure.

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am following VIEW-->BO-->DAO structure in my struts application.
Can any one help me to explain ,what is the use of BO package in an application? can i keep my Java Beans in BO ? or is there any seperate package required for that.

Thanks in advance.

AJAY.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BO's or Business Objects usually are javabeans themselves, meaning they follow the javabean conventions of no-args constructor, accessor methods, etc.

When using Struts as a framework, most authors do not recommend using Business Objects as the ActionForm element of your application, nor imbedding them in your ActionForm. This means you would create separate javabeans to be used by the view layer and copy properties between these and your business objects. You can use the BeanUtils class that comes with struts to copy properties from one bean to another.
 
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic