Hi all, I'm quite new in this forum. I'm also concerned with architectural issues about JSF: assume wanting to have a suite of independent components, each one owning jsp, beans, bundles, etc. Then we want using them for assembling a web application. No problems as far as each component renders its own full page. But if a page must host output from several components, then we have troubles. Is that possible at all if component JSPs have been developed independently ? I know about subviews and I read that frames are not adviced to be used with JSF. So how about shared rendering the same page among components ?
Try facelets. It's a tile technology that works well with JSF.
However, just for into, JSF components are like Controls in Windows. They are each responsible for their own rendering. The JSP is simply the container within which they rended. Tiling is an intermediate rendering technique that's smaller than a page but contains components.
Components may also contain other components as long as they follow the rules. The whole page structure is hierarchical.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 19, 2006
Thanks Tim. Indeed I'm taking an overall look at servlets. Btw, is there any comparison out there between tiles and servlets ? I guess they overlap somehow in their goals. In short, I want to achieve a final result similar to what we used to get from frames: each component should be given an area to render into, while all such areas make up a global page.