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

I'd wanted to blog some time ago about including scripts in your JSF ajax requests, but Hazem Saleh beat me to it. Hazem is the creator of the nifty Google Maps component for JSF, gmaps4jsf. So, go and follow the link, but I'll just add three short comments to Hazem's blog: In many popular ajax solutions for JSF, <script> tags were simply interpreted in place. This is not, for whatever...
on Jul 18, 2009
The Mojarra team are proud to announce the release of our Beta 2 version of Mojarra 2.0, implementing the PFD version of the JavaServer Faces 2.0 spec. You can find it on our downloads page, as well as in the GlassFish Update Center. And as always, be sure to check the release notes for more information. We're targeting the FCS release of JSF 2 to coincide with Java EE 6, so expect that to...
on Jul 16, 2009
Today, I'd like to take a look at two different ways to create a poll component. Poll components are a way to periodically update a page with new information. We'll take a look at examples of these in a second, but first, a caveat: I've assumed throughout my blogs on Ajax components in JSF that you have at least a passing familiarity with JavaScript. This post assumes a bit more knowledge of...
on Jul 3, 2009
Just a quick note that we've now added automatic compression of the jsf.js file served by JSF 2. The file size of jsf.js, 71k uncompressed, comes to about 16k compressed (there are a lot of comments in there). There is no user action required to make this happen: If the Project stage is Development, the file is served uncompressed (for ease in debugging with something like Firebug), but if...
on Jul 3, 2009
Not too long ago, I heard someone complain that the JSF tutorial wasn't ready yet. Now, that's not surprising - the tutorial writing process (for that matter, the book writing process) doesn't actually start until the spec is more or less final, and the implementation is at least Beta (meaning feature complete). But that raises the question: Suppose you're eager to get started. How do you...
on Jun 17, 2009
GlassFish v3 Preview is available and I am excited to announce support for Django applications. Django is a Python based framework, probably anyone hosting their applications on GAE might know Django is a Python based web framework. GlassFish-Scripting project provides implementation of Jython Container. Just like JRuby Container, Jython Container does the following: Provides GlassFish v3...
on Jun 5, 2009
I guess was too busy with JavaOne to announce the release of GlassFish gem 0.9.5. This release is based on GlassFish v3 Kernel from GlassFish v3 Preview. This release also has few critical fixes related to logging and an improvement in logging where you would be able to log the message on cosole using -l option without a log file name. See the changes in this release and follow the...
on Jun 4, 2009
The presentation by eBay distinguished architect Sastry Malladi at JavaOne on Tuesday afternoon illuminated the benefits, misconceptions, and deployment challenges of service-oriented architecture (SOA). He also described how eBay tackles the issues.Definition According to Malladi, SOA is an architecture that "removes brittle, hard-wired components that inhibit change." In their place are "...
on Jun 3, 2009
David Geary has released the second of his three part series on JSF 2. You can find it here. He covers templating and composite components, and as usual, does a very readable and thorough job - check it out.
on Jun 2, 2009
What is ICEfaces? ICEfaces is an Open Source JSF library that provides very easy of use Ajax Push and other advanced features. What is the key advantage of ICEfaces? We have a unique feature that caches the DOM model in the server side and it is able to respond to AJAX calls (or push operations) just with the part of the DOM actually modified in the server side. This makes the roundtrip lighter...
on Jun 1, 2009
Continuing our look at the improvements of the new JSF spec - see previous blogs here and here. While JSPs are widely used and understood, their use in JSF has always been controversial. But love it or hate it, it's always been true that JSPs never quite fit in with JSF, and there were always some rough edges around where the two technologies fit together. All that's changed with JSF 2, since...
on May 29, 2009
Continuing our look at JSF (see previous blog here), one of the biggest complaints about JSF is the Lifecycle. And it's not hard to understand why - here you are, just about to write a Hello World application, and the folks who wrote the documentation hit you with something that looks like this: Wow. Looks complicated. But really, for many tasks, you don't need to know most of this, and that'...
on May 28, 2009
One of the most persistent annoyances in working on JSF is the pervasiveness of old information, usually from years ago, and often now inaccurate. Google ranks the JSF 1.1 tutorial over the JSF 1.2 tutorial... One Tweet I recently read referred to a Joe Ottinger blog from 2007 - over 2 years ago. Yet it was referenced as new information. Still another blog I recently read contained...
on May 27, 2009
It's been a long time, but I've revisited the Switchlist component I blogged about here here and here. Read through those old entries to see where we are with things. I will assume you're already familiar with the content of those entries, we've got a lot to cover as it is. Today, we're going to completely rework this code, to illustrate some best practices. We'll make the component use Ajax...
on May 26, 2009
The Mojarra team are proud to announce the release of our Beta version of Mojarra 2.0, implementing the PFD version of the JavaServer Faces 2.0 spec. You can find it on our downloads page, as well as in the GlassFish Update Center. And as always, be sure to check the release notes for more information.
on May 26, 2009
Somewhat recently, I had a user of JSF 2.0 ask how to do a redirect from a JSF 2.0 Ajax request. Here's one way, that I've lifted from one of our tests: First, the bean that does the work: <pre>@ManagedBean@RequestScopedpublic class RedirectBean {&nbsp; &nbsp; public String redirect() {&nbsp; &nbsp; &nbsp; &nbsp; FacesContext ctx = FacesContext.getCurrentInstance...
on May 14, 2009
Just wanted to let everyone know that there's a new article by the esteemed David Geary on JSF 2. Just wanted everyone to know about it - it's the first of the series, and it's really, really good.
on May 13, 2009
Or can there ever be too many backups? I don't think so. On the other hand very often I have seen people underestimating testing their backup solutions and restore procedures and discovering issues only in middle of a crisis when restore of previously made backup is desperately (and quickly) needed. Just few examples of those: Backup is seemingly running, but backup media is corrupted is a way...
on May 7, 2009
I might have mentioned something about cache in Magnolia here before, today let's look at another aspect of it. While in general Magnolia follows well known and understood publish/subscribe model when it comes to page activation (the activation is always done in direction from authoring to public instance), there is one notable exception to this model - public generated content. This it the kind...
on Apr 29, 2009
It's been a while since my last update. However I am pleased to report that the Proposed Final Draft (PFD) of Servlet 3.0 is now been handed off to the JCP. Some highlights of what is in the PFD draft - The issues around Async have been worked out and Greg will also be posting an update to his last set of comments. Basically there were some tweaks to the APIs and semantics of the proposal....
on Apr 28, 2009