Blog Archives

Trinidad: JSF state-saving per page

In a JSF/Trinidad application the “state-saving” is configured via some parameters in the web.xml file. Trinidad adds a bit more to it with its TOKEN approach, check the documentation for the “org.apache.myfaces.trinidad.CLIENT_STATE_METHOD” to read more. The result of the configuration

Posted in ajax, apache, facelets, java, jsf, myfaces

UIComponent references in session scoped JSF beans

In this blog my colleague Blake Sullivan described a lot of issues with JSF managed beans that are placed in the session. This maybe easy for the developer on first hand, but the tax you pay later.. Even if you

Posted in apache, java, jsf, myfaces, trinidad

Mobile Development with Apache MyFaces Trinidad

Since smartphones, like iPhone or Android phones, are getting more and more popular, more companies are getting serious about a “mobile strategy”. JavaServer Faces is a natural fit, since it’s rich component model allows you to simply switch the renderer…

Posted in adf, ajax, apache, facelets, iPod, java, javascript, jdeveloper, jsf, jsp, myfaces, oracle, Oracle ADF Faces, trinidad

Demo of Apache MyFaces 2 and OpenWebBeans

Recently the Apache MyFaces project released its second beta release and yesterday the Apache OpenWebBeans project released its M4 release. These are great milestones in the direction of JavaEE at Apache! A few month ago Bernd Bohmann and I were

Posted in apache, CDI, facelets, fun, java, javascript, jetty, jQuery, jsf, jsp, myfaces, web², WebBeans

Ning’s Async Http Client and Twitter Streaming API

Recently I played with the Apache Wink REST Client to access the Twitter Streaming API. Yesterday Jean-Francois Arcand announced the availability of Ning’s new Async Http Client. The blog looked interesting and the Twitter stream is a perfect example to

Posted in ajax, apache, comet, fun, jetty, web²

Twitter Streaming API and Apache Wink

During 2009 Twitter launched their Streaming API, which allows developers to get an (almost) real-time notification of tweets. The “filter.json” resource allows some filtering of the content. With CURL you could listen to the Twitter stream like: curl http://stream.twitter.com/1/statuses/filter.json?track=myKeyWord -umyUserAccount:password

Tagged with:
Posted in adf, ajax, apache, java, javascript, jetty, rest

combining CDI producer methods with EL

CDI’s Producer methods are nice to expose any sort of class (e.g. legacy or 3rd party (JDK)). Combining the @Produces with the @Named you can reuse the result in your XHTML JSF page. Some Java code: Now the XHTML can

Posted in ajax, apache, CDI, facelets, guice, java, jsf, myfaces, seam, WebBeans
August 2019
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031