Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Web Applications

• 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 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 will...
on Oct 23, 2009
After years of effort, I'm delighted to echo Ryan Lubke's announcement that Mojarra 2.0 is final! Please check Ryan's blog for all the details.  You can download it directly from the project website, or just use maven to get the latest stuff.,.
on Oct 19, 2009
The following topics and more will be covered in detail in my upcoming book with Neil Griffin, JavaServer Faces 2.0: The Complete Reference. Please enjoy this early access content! One challenging aspect of designing JSF 2.0 was how to standardize Facelets. We wanted to standardize only the minimum amount that would still allow developers get the job done. Initially, we did not include binary...
on Oct 15, 2009
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...
on Sep 28, 2009
Today we're going to talk about two features of JSF 2.0's f:ajax tag: the event attribute and the listener attribute. The use of both of these is really, really simple - so I'll just briefly cover the basics, and then launch directly into the sample code. The "event" attribute of the ajax tag indicates which event to use to trigger the ajax request. There are any number of possible events...
on Sep 26, 2009
I wrote and deployed an OpenID provider service for users. For those who are new to OpenIDs, this service allows users to log in to other sites by using the ID as the identity (for example, try Stack Overflow.) This eliminates the need to maintain separate passwords for each site, among other things. That said, the primary use case of this service is not to become just...
on Sep 21, 2009
Content available at:
on Sep 18, 2009
This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Sep 10, 2009
My previous entry dove under the covers for JSF 2.0 and examined composite component metadata. This one is far less esoteric and shows how to handle the ViewExpiredException using a new JSF feature, the ExceptionHandler, contributed by Pete Muir a JSF Expert Group representative from JBoss. JSF throws a ViewExpiredException when a postback is made to a view and, for whatever reason, that view...
on Sep 3, 2009
This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Aug 25, 2009
A nice feature of Facelets is the ui:repeat tag, which iterates over a supplied list of values to do a full list on your page. One problem: it'll add an index to the generated id's, which can make using it with Ajax a bit of a drag. But if you're just using the f:ajax tag, that index is detected automatically, making ajaxifying the tag relatively easy. Here's a quick example: Say you want to...
on Aug 17, 2009
A recent user question, which has been repeated enough times to warrant a blog posting. In short: Why am I losing focus when I use the <f:ajax> tag? Let's imagine you have a form, with two input fields and two output fields: <pre>   1 &lt;h:form&gt;   2 &lt;f:ajax event=&quot;blur&quot; render=&quot;@form&quot;&gt;   3...
on Aug 11, 2009
In my last blog entry, I went over getting a YUI widget working on JSF2. This time, let's go over what's required to move that widget into a JSF component. No Java required, but a fair bit of JavaScript. In a lot of ways, this is just like other components that I've written about. The tricks are much the same - saving values into a JavaScript context. Including scripts into the component,...
on Aug 9, 2009
If you're not developing JSF with third party component libraries, you're really missing out on the best part of JSF. But there's lots of Ajax widgets out there, which contain all kinds of useful functionality. Wouldn't it be useful to use those within your JSF pages? The Yahoo UI library is pretty nifty stuff, and the Calendar widget is useful, pretty, and powerful. Let's wire it into a JSF...
on Aug 2, 2009
About a year ago, I gave a talk at JavaOne (and blogged about) writing a Comet powered TicTacToe (naughts and crosses to you Anglophones) game using the Grizzly Comet APIs. In preparation for writing a Comet app with JSF 2, I thought I'd revisit that application and update it to use the newest Atmosphere APIs. Atmosphere is a multiplatform Comet framework that allows you to write once, run...
on Aug 1, 2009


Hope you have read my blog on "Writing your first SailFin CAFE Application". There I explained how to handle a 2-party call using SailFin CAFE. Now lets see how can you write a simple conference application. The application would accept the calls from any participant and if the participant is calling a conference id, then the application should use a media server, handle SDP, mix the voice,...
on Oct 18, 2009


We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL. We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect...
on Oct 13, 2009


Grizzly Deployer got lot of activity recently over mailing list, so I took the time to give you a new feature that been added to the release 1.9.17. The Autodeploy command. You should see that option like a default web.xml config that will be append to all your webapps that you will deploy. You can activate this feature by adding this param to the command line : java -jar grizzly-http-...
on Sep 10, 2009


I've had questions about how to inject Web Beans into servlets and whether that is supported.  In this entry I'll outline a method of accomplishing just that. This is a simple login application that communicates to a servlet using Ajax calls from a JSP view.  I'm not going to focus on the view or the protocol (Ajax) that  is used to communicate with the servlet.  If you are...
on Sep 9, 2009


TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality. TOTD #98 showed how to create a simple Metro/JAX-WS...
on Aug 31, 2009