aspose file tools*
The moose likes JSF and the fly likes fundamental types of ‘objects’ in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "fundamental types of ‘objects’ in JSF" Watch "fundamental types of ‘objects’ in JSF" New topic
Author

fundamental types of ‘objects’ in JSF

Jayakrishnan R Nair
Greenhorn

Joined: Jan 24, 2008
Posts: 5
Hi All,

This is a question that I saw in some interview.

Which are the 4 standard type of objects in JSF ?

Three are under the direct control of the JSF programmer, one is under the control of JSF – but under the indirect control of the JSF programmer.

Any idea which they are ?

Thanks
JK


Theory is when you know something, but it doesn't work.<br />Practice is when something works, but you don't know why.<br />Programmers combine theory and practice: Nothing works and they don't know why.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16306
    
  21

Not a clue. I guess all these years I've been a failure.

Then again, I'd have to know what an "object" is supposed to be in this context. Java class? file type? Model/View & Controller?


Customer surveys are for companies who didn't pay proper attention to begin with.
Jayakrishnan R Nair
Greenhorn

Joined: Jan 24, 2008
Posts: 5

Finally I got the answer from the person who asked it. Don't come after me if you do not agree with it

Here you go ...

JSF Pages ( XHTML)
MBeans
Configuration file
UI Components ( which not under the control)


Sorry for the "pain" .

Tim , You're great ! Thank you
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16306
    
  21

But in JSF2, the configuration file is "no longer required!"

I think your authority has confused MBeans with Backing Beans, however. MBeans are an entirely different thing and can be used not only outside of JSF but in non-web Java applications.

The UI Components are realizations of the digested View Definition (XHTML) augmented by the state of the View and technically speaking, they're working storage for the Controller component of JSF. So if a backing bean was an apple and an xhtml file was a bunch of grapes, the UI components would be internal representations of the individual grapes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fundamental types of ‘objects’ in JSF