One Proxy Setting to Rule Them All moon.google.com
Jul 19

JavaServer Faces Demo: Audience Member Time

Tech Add comments

David Geary did something interesting at his Rails talk at the Denver JUG.

He took someone from the audience, and made them the code monkey.

This was trying to show how easy and intuitive it is to get something simple running in Rails (even from someone who has never touched Ruby etc).

I imagined seeing David giving one of his JavaServer Faces demos and doing the same thing. Picture half-way through:

David: “Bob, now make the code grab the ‘foo’ bean in JSF”

Bob: “Er?”

David: “Come on! FacesContext.getCurrentInstance().getApplication().getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(), variableName);! Simple!”

20 Responses to “JavaServer Faces Demo: Audience Member Time”

  1. scott Says:

    Most Java developers will interact with JSF via IDEs and tools (Swing or web apps). If a developer wants to customize they typically do so in an xml descriptor. If that descriptor did not do what they wanted, they might want to customize the infrastructure and delve down into the level of the FacesContext API. More likely they would use a tool to create a component that provided the desired functionality, perhaps tweaking an XML template to customize it. The power and flexibility is there for the few to build simple solutions for the many.

  2. avenger Says:

    >Most Java developers will interact with JSF
    > via IDEs and tools (Swing or web apps).

    That’s no excuse for a crappy interface. This sounds like the MS approach.

    > The power and flexibility is there for the few
    > to build simple solutions for the many.

    Perhaps with a little caring both are possible.

  3. Emmanuel Pirsch Says:

    I’ve come to love and hate JSF at the same time. Overall, I think it’s a very nice framework. It does need to evolve to make the simple thing simple.

    I don’t really understand why so many method requires the current FacesContext as an argument when it can be obtained using FacesContext.getCurrentInstance(). That may facilitate testing outside the container, but this can still be achieved by other means.

    The cool thing about JSF is that is make some complex stuff simple. The bad thing is that is make some simple stuff complex.

  4. Dave Says:

    Ya, those tools really helped a lot with EJB. When will you guys ever learn?

  5. scott Says:

    Avenger: It is the MS approach. Providing a usable interface for the consumer of the software requires a certain level of complexity. That complexity needs to be manageable and isolated but also needs to be accessible for those that want to tinker with the infrastructure.

    Dave: It appears that EJB development *has* been a learning experience for the Java community. The next release, EJB 3.0, is being designed to be much simpler.

  6. me Says:

    > The next release, EJB 3.0, is being designed
    > to be much simpler.

    So how many years till JSF 3 ?

  7. Anonymous Backer Says:

    >Ya, those tools really helped a lot with EJB. When will you guys ever learn?

    +1

  8. Rob Evans Says:

    >Ya, those tools really helped a lot with EJB. When will you guys ever learn?

    Thank goodness I’m not alone. How many times do these folks need to make the same mistake?

  9. scott Says:

    me: Hopefully JSF has been baked from the knowledge gained from the work on previous web frameworks, like Struts. Apache Struts 2.0 (AKA Shale) is being built on top of JSF by the same folks that developed Struts 1.x and JSF.

    Rob: All tools are bad because you did not like the EJB tools??

  10. Trinidad De la Cruz Says:

    Me gustaria que me enviaran mas informacion acerca de la tecnologia Java Server Faces
    y el Demo para ver la aplicacion

  11. Romanos Says:

    Hello, nice site look this:
    amateur foto amateur blogs amateurs amateur cook in kitchen professional
    [url=http://amateurs.x3porn.info/amateur-free.html] amateur free [/url][url=http://amateurs.x3porn.info/college-amateur.html] college amateur [/url]

  12. odette Says:

    every soldier is an enemy.

  13. Jackyixqh Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  14. Jackyixqh Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  15. Jackyixqh Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  16. Jackymwxd Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  17. Jackymwxd Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  18. Jackymwxd Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  19. Jackymwxd Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

  20. Jackymwxd Says:

    Thank you!Nice site!
    http://valium-valium.djje.biz
    http://buy-valium-online.vyur.biz
    http://buy-valium.vyur.biz
    http://valium-online-buy.vyur.biz
    http://valium-buy-cheap.vyur.biz
    http://cheapest-valium-online.vyur.biz
    http://valium-buy-online.vyur.biz
    http://valium-online.djje.biz
    http://valium-cheap.vyur.biz
    http://valium.vyur.biz
    http://valium.gerz.biz
    :)

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What is the number before 3? (just put in the digit)

Loading...