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

You may be seen the announcement yesterday about the GlassFish V3 Prelude release. At the same time, we released jMaki 1.8.1. jMaki provides a framework for building Ajax applications and was fully tested on GlassFish V3 Prelude. Highlights of the new features in jMaki include: Drag and Drop widget support into HTML, PHP, Ruby pages Performance enhancer Widget Customizer jMaki CSS...
on Nov 7, 2008
So at this point, we have an interface, PropertyAdapter, for which we want GWT to generate an implementation at compile time using this call: PropertyAdapter<Person> adapter = (PropertyAdapter<Person>)GWT.create(Person.class); GWT must be told how to generate this class, which really means that GWT needs to be told which subclass of com.google.gwt.core.ext.Generator...
on Nov 7, 2008
In my previous blog post, I talked about the New Composite Component feature of JSF. I'll come back to that shortly, but I'd like to talk about another new feature: integrated Ajax support. While this part of the specification is still being finalized, I thought it might be worthwhile to see what a simple example of the Ajax support in JSF 2.0 will look like. (Don't worry, I'll tie this...
on Nov 4, 2008
One of the pain points for JSF has always been the complexity that you face in creating components. In JSF 2.0, creating a new component that's made up of existing components is a snap. Here's a quick example of how you can create a new component, and use it in your page. For this example, I wanted to create a simple text box that has a yellow background. Useful? No. Simple? Yes :-) In...
on Nov 1, 2008
Last spring we added performance enhancements to jMaki based on well known guidelines for improving page load times. The guidelines are from Yahoo and we have automated several of them. Now developers can combine JavaScript code and place it at the end of the page, place combine CSS code and place it at the beginning of the page, use minified resources and set the max age header by simply...
on Oct 22, 2008
Sun Web Stack, available from Sun in July, includes many preconfigured tools for Web development: Apache, MySQL, PHP, Python, the NetBeans IDE, and other components. A new article on Sun Developer Network walks you through the process of installing Sun Web Stack on OpenSolaris. The process takes only a few steps, easy as pie. Check it out.
on Oct 8, 2008
Domain Specific Language for Cloud Computing When Java programmers first learn about Apex, often their first reaction is, "why build another language?" At first glance, it appears to be a blatant attempt at lock-in. Apex is (dare we say it?) proprietary. The honest truth is that Apex was developed for purely technical reasons. Salesforce.com could have implemented a Java layer to be its...
on Sep 25, 2008
GWT's deferred binding is triggered with this call:    PropertyAdapter<Foo> fooAdapter = (PropertyAdapter<Foo>) GWT.create(Foo.class); Or, more generally:    Object obj = GWT.create(Class aClass); The developer passes a class to the GWT.create() method and GWT returns an object that extends that class (or, if aClass represents an interface, GWT...
on Sep 25, 2008
If you recall from my last post, what I want to do in GWT code is take a class like this: class Person {   private String firstName;   private String middleName;   private String lastName;   public String getFirstName() { return firstName; }   public void setFirstName(String name) { firstName = name; }   public String getMiddleName() {...
on Sep 21, 2008
Just to give you a short peek under the hood of development going on for Magnolia 3.7, here come three different examples of writing paragraph templates for Magnolia. The example is actual textimage paragraph from the current samples. The first code snippet shows how things have been done up until now with JSP paragraph renderer. And it will still work in 3.7, so don't worry, you don't need to...
on Sep 16, 2008
Looking around the web for GWT property binding libraries did turn up several interesting candidates. Gwittr is a project (hosted on Google code) that includes property binding support. Metawidget is another project with property binding support. A kind reader also pointed me at InsiTech's GWT binding solution, which happens to be payware. At the time of my initial exploration, I was only aware...
on Sep 16, 2008
This JavaOne I finally got to check out Google Web Toolkit. After hearing David Geary speak, I have to confess the next day I made a beeline to the bookstore and picked up his excellent book, Google Web Toolkit Solutions and stayed up late each night in the hotel working through the examples in the book. One of the things I have discovered since starting to experiment with GWT is that it is...
on Sep 15, 2008
Rick Palkovic and I have written an article about a Comet application which allows users to watch and chat about a slide show. The Application loads the slide URLs from a RESTful Web Service and then uses dojo bayeux with Grizzly on Glassfish to publish the slides and/or text to all the slideshow subscribers. See RESTful Web Services and Comet. RESTful Web Services and Comet
on Aug 29, 2008
In recent weeks I've been immersed in the strange and exciting world of the JavaFX Preview release. Some might say up to my neck, although sometimes it's felt more like drowning. JavaFX makes a lot of previously very complex graphics tasks now very simple. At the same time it makes a lot of previously very simple tasks now frustratingly hard! Of course, this is merely preview release one...
on Aug 28, 2008
I got to help out with the EJB 3.1 keynote demo for JavaOne. Although the demo shows how simple it is to perform CRUD operations using EJB 3.1, this blog focuses on the communication between the client side jMaki components and server side servlet. For more information on the new EJB features in GlassFish v3 see Mahesh's blog. The demo uses some of the latest features in EJB 3.1 and MySQL...
on Aug 25, 2008
Not so long ago I talked to Boris about Magnolia's new website and the problems with displaying blogs of developers using existing rss paragraph. While this paragraph allows displaying content of the feed on the fly there are several issues with the paragraph. First is the connectivity, paragraph doesn't keep the content of the feed, just a url to it and has to obtain fresh version on the fly. In...
on Aug 21, 2008
I found that TravelMuse is a great site to help plan vacations and I was excited to learn that they use jMaki to build the site. Daniel Ziaoure is the lead Web developer for TravelMuse and uses jMaki extensively. We were lucky enough to have him join us during our Community One day presentation on jMaki. He recently started a series of articles explaining how he uses the jMaki widget model...
on Aug 20, 2008
Last week a friend asked an interesting web-based localization question. He surprised me with it. I wish that I had considered it before, but I had not. In my less than complete analysis of his problem, I found a solution, but I don't know if he'll like it. Hell, I barely like it myself, but it's what I came up with quickly. Here's the question: I want to localize a bit of JavaScript, nothing...
on Aug 18, 2008
I always assumed the word "jargon" was a reasonably recent addition to the English languages, but a quick glance at the OED gives examples of its use dating back as far as Chaucer. It would seem that man has been uttering "... unintelligible or meaningless talk or writing; nonsense, gibberish" for centuries! Or perhaps that should be "...conversing by means of symbols otherwise meaningless; a...
on Jul 31, 2008
Sample Application using jMaki and the Java Persistence APIs a Dynamic Ajax table example using jMaki and RESTful Web Services on Glassfish This Sample Catalog app demonstrates a RESTful Web Service, coded using JAX-RS: Java API for RESTful Web Services (JSR-311) and Java Persistence API, which provides a list of customers, and a jMaki client which  gets and displays the Web...
on Jul 18, 2008