Is there any reason...

...to drop the dataprovider into the session bean instead of dropping it into the page?I 'm asking this because I saw that the login example in java studio book uses in this way login data providergiorgio
[226 byte] By [gio_mori] at [2007-11-26 11:43:33]
# 1

The main reason would be if you want the CachedRowSetDataProvider to persist across multiple page beans within the same session, i.e., to have session scope. The RowSet will have session scope in either case.

So if you will be navigating mutiple pages in a session, dropping it on the SessionBean is recommended.

Regards,

-Brad Mayer

utsukushii at 2007-7-7 11:51:21 > top of Java-index,Development Tools,Java Tools...