Forums Register Login

mvc2 tier Arch.

+Pie Number of slices to send: Send
In MVC2

Can i use like this?

[ Added code to retain formattng - Dave ]
[ January 10, 2008: Message edited by: David O'Meara ]
+Pie Number of slices to send: Send
Can you explain it in a a little more detail?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
P.S. It's MVC, not MVC2.
+Pie Number of slices to send: Send
Hello Bear Bibeault
So which one is come under MVC1 ,MVC2,From you a little bit of disorientation
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

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
Replace the word "snake" with "danger noodle" in all tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 927 times.
Similar Threads
Now J2EE - plzzzzzzzzzzzzz help
A error occured on JSP custom tag...
how to use- html:checkbox - and iterate it through - logic:iterate
[ JSTL ] form bean var
how to get the setter and getter value in strut2
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:43:44.