Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need a MVC example

 
carl chan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I think it would be good for me to develop an application using what i have learnt from the book
using jsp, servlet and java beans.
However, I don't find any design rules or pattern from my exam study kit. SO if any of you know where i can find an complete application example(not J2EE)?? It would be nice if the example have include how to use java bean to retreive data from database.
Am I asking too much??
Thanks anyways
 
John Hembree
hired gun
Ranch Hand
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might help you out, looks like it has everything that you asked for...
Build an E-Commerce Shopping Cart
 
John Hembree
hired gun
Ranch Hand
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one looks pretty good too from SUN, code and everything, it's in a webcast as well.
JavaServer Pages and Servlets Programming
Check out Session 10 specifically, below that you will also find a link for the source code.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, You can download a chapter from Professional Java Servlets 2.3 about designing web applications from here.
Enjoy!
Simon
 
carl chan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for all advise
I really need sometime to look at all the suggested link.
Thanks again for all of you guys help.
Have a good weekend
 
carl chan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Simon Brown
I found your pdf (Desginning web applications and servlet patterns) very helpful, especially about the model 2 design (something I have big interest about).
However, this chapter keep mentioned that in real-life applications, the wrapper class will be replaced by database. In that case, what changes does my design have to updated??
I am sure there is a good way to retreive data from database in terms of design. Do you have more resources for me??
Thanks in advacne.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!