This is not an easy question !
To make your life easier if you can i propose you to look at existing framework.
First for the MVC :there are lots of ! i've used some, based on
jsp (
struts,webwork) but there are probably other for JSF
Then an ioc container (a bean factory ): Spring is the most used but other can be used
Last an pesistence framework: You also have the choice : hibernate , jdo ,.......... or better if you can already used the new specification jpa. I will not advice you to use ejb version 2 for you persistence mechanism.
The principe is the same and based on model . You create some pojo Your MVC framework help you to manipulate this on the web and your persistence framework will help you to save and read from the db.And your IOC will be used to decouple the two part !
your question is so large and my answer is so small
But i hope it helps.
[ July 11, 2006: Message edited by: Benjamin Leonard ]
[ July 11, 2006: Message edited by: Benjamin Leonard ]