views:

42

answers:

2

What is business object?

In a school management application, what is said to be an business object?

Is there any software packages available to create a business objects

A: 

Business objects are objects used to model the domain of a particular business field (they are sometimes called domain objects). For a school management application, typical business objects candidates would be School, Student, Course, etc. And there is no real need for a software package to work with them (not sure what you had in mind to be honest).

Pascal Thivent
Yes You are right. I am also asking the same thing.For ExampleStudent is the class.1.Name,age,sex,class etc are properties2.AddStudent,DeleteStudent,UpdateStudent,AssignClasses etc are the actions that can be performed on a student.But it doesn't how to do the insert,update,delete actions on the student.So can we say the above one as exeamples of business object.
Ramesh
@Ramesh I'd consider it as a business object, even if the persistence handling is delegated to another class.
Pascal Thivent
A: 

Identify interesting behaviour and information flows


A business object is any entity in the domain which has significant behaviour or information content. They can often be identified by writing down a summary of the domain and looking for the nouns. For example

"The school offers courses in Art, English, Science and Engineering to students aged X to Y. The courses are run by qualified teachers and operate during then months of A to B..."

You can identify the nouns easily (Course, Student, Teacher ...) - then ask yourself are they really significant? What information are we recording, what are the rules around how the objects behave and interact...

  1. Can I enroll outside of term time?

  2. Are there entry requirements for courses?

You will find that things like the enrollment process would also have interesting information and behaviour.


Perform a Use Case survey


You may not be familiar with Use Cases but they are a great way to validate that what looks like a business object is actually of value in the domain. There are many resources on Use Cases but you could start here

Chris McCauley