aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes MVC Model Vs. JavaBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "MVC Model Vs. JavaBean" Watch "MVC Model Vs. JavaBean" New topic
Author

MVC Model Vs. JavaBean

JPraveen Kumar
Ranch Hand

Joined: Aug 31, 2004
Posts: 80
Can you pls tell me whts the basic difference betwn a model and a bean. Since a bean is internally a model class can we use the two interchangeably? . I figured differences out the foll but am not sure :

a. A bean is primarily used in a jsp/EL context but a model is used to take the busi logic out of servlet for reusability in swing apps etc.

b. Since a bean is to be used in EL, it has to have proper getter/setter methods but the same may or may not be present in a model.

Thx JPK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC Model Vs. JavaBean