File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fundamental types of ‘objects’ in JSF

 
Jayakrishnan R Nair
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jayakrishnan R Nair
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic