• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A Basic Front Controller Example?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am Looking to find a Basic MVC Front Controller example to be used as a learning tool. Can anyone point me in the right direction?
Thank you in advance!
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I definitely recommend that you check out Core J2EE Patterns ISBN: 0130648841. I also think this week's book: J2EE Design Patterns Applied ISBN: 1861005288 would be a good choice.
There I left the door wide open for you John .
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The book I learned from, and still refer to from time to time is entitled Advanced JavaServerPages by David Geary. Now days a lot of folks are just utilizing the Struts framework, well Mr. Geary had at least a fair share of input to that project (at least I think so), and this book takes you through the steps of developing your own framework, and the sample code is really good if you download it from the book's sight. This book has been out for a while, but a good one to take a look at.
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And if you're after something for free, check out Chapter 12 : Designing Web Applications and Servlet Patterns (from Professional Java Servlets 2.3).
Also, definitely check out the patterns books for a much wider look at how MVC fits into the grand scheme of J2EE.
Regards
Simon
 
Author
Posts: 93
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Chapter 2 of the J2EE Design Patterns Applied (ISBN: 1861005288) book covers the front-controller pattern and provides a front-controller implementation in Java.
If you want to see a full-blown Model-View-Controller implementation, I suggest you download the Struts Development Frameworks Src code (http://jakarta.apache.org/struts). Struts has very elegant MVC implementation. Between the J2EE Design Patterns Applied book and the Struts source code, you can get an excellent overview of implementing your own front-controller pattern.
Thanks,
John Carnell
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic