mvc2 tier Arch.
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
In MVC2
Can i use like this?
[ Added code to retain formattng - Dave ]
[ January 10, 2008: Message edited by: David O'Meara ]
Can i use like this?
[ Added code to retain formattng - Dave ]
[ January 10, 2008: Message edited by: David O'Meara ]
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Can you explain it in a a little more detail?
rex tony
Ranch Hand
Posts: 159
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
1.For View, we can use JSP,HTML so forth.
2.For Controller, we should use Serlvet class
3.For Model, we can use DB,EJB
My Questions are
Can we use Java Bean
Between 1,2
Between 2,3
2.For Controller, we should use Serlvet class
3.For Model, we can use DB,EJB
My Questions are
Can we use Java Bean
Between 1,2
Between 2,3
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Typically JavaBeans are your model and they will be used by some DAO/Service layer to transport data back to your controller and again on through to your view. They are also used similarly in reverse although the transport from view to controller is typically done via HTTP rather than a JavaBean itself. Once the controller has the request you'd wrap up POST/GET data into a JavaBean. Hope that makes sense.
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
P.S. It's MVC, not MVC2.
rex tony
Ranch Hand
Posts: 159
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello Bear Bibeault
So which one is come under MVC1 ,MVC2,From you a little bit of disorientation
So which one is come under MVC1 ,MVC2,From you a little bit of disorientation
posted 17 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
There is no MVC1 or MVC2. There is just MVC. You may be thinking of Model 1 vs. Model 2 (Model 2 being the MVC approximation on the web), or perhaps Struts 1 vs. Struts 2.
posted 17 years ago
See:
http://faq.javaranch.com/java/Model1Model2MVC
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Originally posted by rex tony:
Hello Bear Bibeault
So which one is come under MVC1 ,MVC2,From you a little bit of disorientation
See:
http://faq.javaranch.com/java/Model1Model2MVC
| I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |










