| Author |
controller or model
|
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
Are session beans contoller or model in MVC pattern
|
Groovy
|
 |
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
|
|
Maybe either, maybe neither. It all depends what you do with them. Can you tell us a bit more about your application ?
|
A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
I am using session beans as session facade.
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
When will the Session Facade most likely have to be changed: When business logic changes, when presentation to the user changes or when the form of user input changes?
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Jes Sie
Ranch Hand
Joined: Jul 24, 2001
Posts: 188
|
|
Originally posted by Ilja Preuss: When will the Session Facade most likely have to be changed: When business logic changes, when presentation to the user changes or when the form of user input changes?
A typical session facade would be used to model business logic. If they are completely oblivious to the the presentation tier, they should be part of the Model.
|
Thank you.<br /> <br />- Jess Sie<br /> <a href="mailto:jess@see-consulting.com" rel="nofollow">jess@see-consulting.com</a>
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
Yes, if they model business logic (which seems to be the case to me, too), they are certainly part of the model.
|
 |
 |
|
|
subject: controller or model
|
|
|