Blogs by topic Java Enterprise and user driscoll
| • Accessibility | • Ajax | • Blogging | • Business | • Community |
| • Databases | • Deployment | • Distributed | • Eclipse | • Education |
| • EJB | • Extreme Programming | • Games | • GlassFish | • Grid |
| • GUI | • IDE | • Instant Messaging | • J2EE | • J2ME |
| • J2SE | • Jakarta | • JavaFX | • JavaOne | • Jini |
| • JSP | • JSR | • JXTA | • LDAP | • Linux |
| • Mobility | • NetBeans | • Open Source | • OpenSolaris | • OSGi |
| • P2P | • Patterns | • Performance | • Porting | • Programming |
| • Research | • RMI | • RSS Feeds | • Search | • Security |
| • Servlets | • Struts | • Swing | • Testing | • Tools |
| • Virtual Machine | • Web Applications | • Web Design | • Web Development Tools | • Web Services and XML |
Web Design

JSF supplies progressive enhancement out of the box for many purposes. Here’s a quick tip on how you can enhance it.

In talking with Andy Schwartz before our recent talk together at Oracle Open World, Andy mentioned that he'd like to see some new components make it in to JSF 2.1.
I'd like to see that too - but what new components? To aid the discussion, I thought it might be handy to make up a list of components that I think would be handy for JSF - but please, don't take this as an endorsement of any...
Ajax

IE has some very curious architectural choices (vulgar folks might call them "bugs") regarding memory management of JavaScript applications. Here's a rundown.

I've had a few requests for request aggregation, ala RichFaces queues, in JSF 2.
This was deliberately not included in JSF 2.0, but it will be considered for JSF 2.1.
However, adding this functionality yourself isn't actually very hard. Here's an example of how.

How to write a Java-based custom JSF component that responds to the Ajax tag. Composite Components is still my favorite way to do things, but there are times when a custom Java component is the best strategy.

I've placed my slides for my JSF 2 and Ajax talk up on slideshare.
Check 'em out, and ask questions in the comments.
Web Applications

Just a short post to note that we've now shipped Mojarra 2.0.1. This version fixes a very serious bug when running on Tomcat. You can pick up the files from the usual places, see the release notes for more information.
If you're using GlassFish, and already running 2.0.0 (you leading edge adopter!), there's probably no reason to upgrade - though the new v3 (b69) has the updated jar, and it...

Just a reminder that while you are developing a JSF 2.0 project, you really, really, really should enable the Development Project Stage. Doing this enables better error messages, including in the client side JavaScript, at the cost of some performance.
Enabling this is as simple as putting the below into your web.xml:
<context-param>
<param-name>javax.faces.PROJECT_STAGE...

In this entry, I discuss two more features of JSF Ajax support: the f:ajax tag's event attribute and listener attribute.
Web Development Tools

I've posted the slides for the talk that Andy Schwartz and I did at Oracle Open World up on Slideshare.
Check 'em out.



