Thanks Ugo; I look forward to that.
In the meantime, a tiny question - is it likely
that for most apps; a POB ("plain old bean")
would the most common object that I would
need to be able to understand and know how
to build in order to do the other wonderful
things with Hibernate, flowscript etc. ??
Derek
>>> [EMAIL PROTECTED] 2004/05/06 11:08:24 AM >>>
Derek Hohls wrote:
> Ugo
>
> Maybe you could start a "working draft" on the Wiki:
> "even the smallest match-flame is a light to the
> unenlightened" !
That's an idea, but I still need a few days to have something working.
> For starters, I would like to see an example of
> what a POJO would/could look like; where and how
> it would/should be placed in a Cocoon app; and how
> it is pulled (or pushed??) to the View.
POJO == Plain Old Java Object.
It's a simple object that is not tied to any particular framework.
Typically it's a JavaBean, as it has a bunch of attributes and
corresponding get/set methods. It might be made persistent by an ORM
tool like Hibernate/OJB/JDO.
Simplified flowscript:
var userDAO = UserDAOFactory.getUserDAO();
var user userDAO.findUser(username);
cocoon.sendPage("views/userdata", { "user" : user });
Ugo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]