model view controller - The package of an MVC application in eclipse? -
i developping app has mvc architecture. know how should make packages each component (model,view,control)?
is package web pages, package ejbs , dao? , of course ear contains 3 projects
thanks appreciate it.
first think need understand mvc (model, view, controller).
a model class manipulate data. example, model @ basic level class keep track of how many dogs have.
a view part of application user interfaces with. in our dog application, graphical user interface or command line interace user types into, or interacts buttons.
the controller code in project after view interacted with, tells data go, instance tell model increment or decrement amount of dogs have. controller button listeners in application.
you're structure application should this:
/ main file model/ view/ controller/ you should try link: what model in mvc pattern
Comments
Post a Comment