• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCEA 5 / 1 - JSF question.

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"JSF can be previewed outside the container."

How does it work ?


Tks!!
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Felipe",

Please check your private messages for an important administrative matter.

Thanks, Andrew
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Rational Software Architect has a "Preview" tab that allows me to see what my JSF pages would look like without deploying it to a server, so it's previewing JSF without it actually running in a container. Not sure exactly how they do it, but it's done instantly and all the time.

-Cameron McKenzie
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah right..true..I see...I've already seen that too!!

ok! tks!
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron, could you please comment out this question bellow:


What challenge will the graphic artists designing the site have with a standard HTML editor?

- Standard HTML editors will not render the JSF accurately.
- JSF does not scale well in HTML editors.

Tks in advance@
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cameron Wallace McKenzie:
My Rational Software Architect has a "Preview" tab that allows me to see what my JSF pages would look like without deploying it to a server, so it's previewing JSF without it actually running in a container. Not sure exactly how they do it, but it's done instantly and all the time.

-Cameron McKenzie


HI Cameron...still wondering about this topic....
With regards to your comments above, are you sure it has to do with the question above? - Because,in this case, it does not mean that you're running your app "out of container" exactly you see....

I just got another statement here in my papers saying that "JSF cannot be previewed outside of container"

what do you think ?

tks!
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI..again..

just got another info here:

see the difference please:


Backing beans can be tested outside the web container. - TRUE
SF cannot be previewed outside of container - TRUE

What do you think ?
 
Selina Tan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Steven,

There's no need to complicate things.....
Actually the question just wants you to understand that the limitation of JSF ie "Standard HTML editors will not render the JSF accurately. "
It wants you to understand that to view a JSF page, developers need to deploy the page on the app server

Note: RSA is not a standard HTML editor... It's an IDE. And RSA is not a Sun product....

Standard HTML editor will be like... hmm.... FrontPage or dreamweaver...

Hope this helps.
[ May 06, 2008: Message edited by: Selina Tan ]
 
Selina Tan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steven Colley:
HI..again..

just got another info here:

see the difference please:


Backing beans can be tested outside the web container. - TRUE
SF cannot be previewed outside of container - TRUE

What do you think ?


"Backing beans can be tested outside the web container." => well you can write a standalone java program and test the backing beans logic since they're just POJO. ie it can be tested outside the web container.

"JSF cannot be previewed outside of container " - same point as your initial question. JSF's limitation is it cannot be preview in std HTML editor; needs to be deployed before you can see the actual result.

(hee..... the person who set this question either doesn't know RSA can preview JSF or he consider using RSA similar to deploying it.... In any case, since this is a Sun certification let's just forget about other company's product and capability. )
 
Selina Tan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the benefits of others...The complete question.....
(Hee... This is from the Sun's ePractice exam )

Your organizations new website will be implemented in JSF.

What challenge will the graphic artists designing the site have with a standard HTML editor?

A JSF tags cannot be put into HTML.
B Special JSF Javascript will need to be written.
C Standard HTML editors will not render the JSF accurately.==> Correct
D JSF does not scale well in HTML editors.
E The AWT component libraries are becoming unpopular.
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Selina..tks so much for all clarification ! ;-)

so in this case..wouldn't the option D be "correct" too ?

I mean..since it does not work fine with HTML Editors...(JSF cannot be render accurately) ..therefore it does not "scale" well either....

Doesn't it make sense ?

tkks!!
 
Selina Tan
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well.....
the word "scale" brings to mind "performance".

And the main usage of HTML editors is mostly WYSIWG..... nothing much to do with performance...
(i mean is there a way we can tell how well a JSF , JSP, ASP, perl page scale? I mean does it matter? HTML editor is more of designing static web pages. And to find out how well a dynamic page will scale i don't suppose we'll use HTML editor. there're probably other better tools for doing this.)

so in my opinion... that's why the option "JSF does not scale well in HTML editors. " is eliminated


and since this qn is a MCQ..... And I like my life simple....
I will chose the best answer . ie"C Standard HTML editors will not render the JSF accurately."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic