A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What is model
Joined: Mar 19, 2009
Aug 18, 2009 00:46:47
Hi, I am a newbie with
. I have not understood the concept of Model. What does it represent? Does it represent some data or business logic?? Is the Action Form a model? I know Action represent the business logic of the request.
Joined: Jan 28, 2008
Aug 18, 2009 00:50:20
Model is a simple
class where your business logic goes. google for "MVC architecture"
Joined: Feb 19, 2008
Aug 18, 2009 01:21:24
As far as Struts 1.x is considered, its built upon MVC 2 and the originator can explain you better what it means.
[Freelance Web Designer]
[and "Rohan" is part of my surname]
Joined: Apr 27, 2003
Sep 14, 2009 03:54:22
You may be a Model.. we do not know.
But in programming terms, model is where business logic resides... the term Model is part of MVC - Model View Controller.
It is sorta covered in the
JavaRanch Style Guide
subject: What is model
JAR the web-application or use WSDL/SOA ?!?!
Model View Controller
action classes part of model or controller
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015