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

Adding a Google Map to the Sample JSF Catalog Application This example demonstrates adding a Map to the Sample Store Catalog Application using JAX-WS, JSF, EJB 3.0, and Java using the BluePrints JSF Google Map Viewer Component. Download the Sample Application Code Explanation of the functionality of the Blueprints JSF Ajax Map Component in a sample Store Catalog Application The image...
on Oct 19, 2007
The current Rails Gem (version 1.2.5) gives an error when creating a Controller in a JRuby-on-Rails application on Windows. It gives the following error during controller creation as shown below: C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:420:in `realpath_rec': No such file or directory -C:/testbed/ruby/jruby-1.0.1/samples/rails/hello/C: (Errno::ENOENT)<br>&nbsp;&nbsp...
on Oct 16, 2007
Sun Microsystems is a gold sponsor of Web 2 Summit (nee Web 2.0 Conference). Registration to this conference by invitation only. If you are an attendee, here is one session that you don't want to miss: Betting on OpenSolaris for Success In this session, Sun Chief OS Platform Strategist Ian Murdock, Joyent CTO Jason Hoffman and Director of Systems Ben Rockwood will...
on Oct 16, 2007
In a previous entry, I posted instructions on how to setup Mongrel cluster for JRuby-on-Rails applications on Unix-based systems. The instructions specified there do not work on Windows-based systems because of the following reasons: JRuby 1.0.1 + (default) Rails Gem (version 1.2.4) does not work on Windows because of JRUBY-1401. An older Rails version (such as 1.2.3) can always be...
on Oct 12, 2007
This TOTD explains the steps to setup a Mongrel cluster for JRuby-on-Rails applications on a Unix flavor operating system. These instructions do NOT work on Windows. A similar post for Windows is cooking and will be posted when ready. Download JRuby 1.0.1 and unzip the bundle (say JRUBY_HOME). For convenience, include JRUBY_HOME/bin to your PATH. Install the required RubyGems Install...
on Oct 10, 2007
Sample Store Catalog using using JRuby and Rails The RRCatalog Sample app demonstrates the usage of JRuby and Rails to implement pagination of data sets for a Store Catalog. download RRCatalog sample code Overview of the Technologies and Frameworks in the Sample Application Rails is a Model-View-Controller based framework for the development of database-backed web applications in Ruby...
on Oct 10, 2007
I just made a few more widgets available for the jMaki framework. I've included widgets that folks have asked us to provide that did not go into the main release. The new widget library is called extra and is available for download from the widgets project. It includes the revolver widget which we use on the samples page, and the list and ibrowser widgets which were part of the jMaki beta...
on Oct 7, 2007
Are you an existing GlassFish V2 user and interested in using Rails applications ? - JRuby module is now available on the Update Center. This module allows you to create standalone or shared WAR of a Rails application that can be easily deployed on GlassFish. Read the complete details here. A screencast following these steps is available here. A comprehensive...
on Oct 5, 2007
A jMaki widget expects data in JSON format as defined by the standard data models. There are three possible ways to generate the JSON data from a Jersey endpoint that can be consumed by a jMaki widget: Return JSON representation of a resource as generated using the BadgerFish convention and then apply a stylesheet (specified in xhp.json) to convert the received data into the JSON format as...
on Oct 3, 2007
I created a simple app as a demo that uses Google Gears for local storage and also sends data to the server upon user request. I showed this at AjaxWorld where there was alot of interest so I decided I would blog about it. Building on the Get Widget Data Sample that is part of the jMaki bundle, I added Google Gears so that it will be called when the save icon of the editor is clicked. The...
on Sep 28, 2007
Earlier in the week Greg Murray announced the 1.0 release of jMaki AJAX framework. The framework allows users to create JavaScript and CSS centric applications and also enables users to use widgets from various vendors like Google, Yahoo, DOJO to name a few using Java, PHP and Ruby. The tools plugins for both NetBeans (5.5 and 6) and Eclipse are available. Along with the tools plugins there are...
on Sep 26, 2007
The question about paging through data in a table comes up enough that I decided to answer in a blog. Using some code Greg posted in an email a few months back let's create a simple example of paging through data in a table. In this example, we will use the Dojo fisheye widget to drive the pages that are displayed in a Dojo table. Each time the user clicks on an icon the table displays...
on Sep 19, 2007
Day 3 started with reminders about RubyConf 2007 and upcoming Euruko. Marcel and Koz (from Rails core team) gave the keynote talking about the best practices for Rails (theRailsWay.com). Here are some of the tips they explained: If a controller has more than 6 or 7 actions, and each action > 6-7 lines then there is something wrong. More details here. Associations proxies are...
on Sep 19, 2007
Day 2 started with regular announcements and keynote by DHH. The demographic distribution of approximately 750 attendees was shown in the filler slides right before the keynote: Germany 29% Sweden 3% UK 17% Spain 3% United States 11% Norway 3% Denmark 7% Italy 2% Netherlands 5% France 2% The technical sessions and BoFs started today and the exhibit hall was opened as well. Sun booth...
on Sep 18, 2007
Arrived in Berlin 2 days ago for Rails Conf Europe. Sun Microsystems is a diamond sponsor and you can meet me at the "Rails powered by jMaki and GlassFish" booth in the Exhibit Hall. You can read about overall Sun's presence here. I realized in the morning that my Full Conference pass did not account for any of the tutorials. And all of them were completely sold out with...
on Sep 17, 2007
The support for Rails in NetBeans IDE has improved considerably in the past few days. Greg and Ludo have been working on ramping up the jMaki NetBeans module as well. This screencast is an update to #web2 and shows how the development experience for creating a jMaki-enabled Rails application is drastically simplified. The screencast shows how a jMaki-wrapped Yahoo and Dojo DataTable widget can...
on Sep 17, 2007
As a new feature targeted to version 1.1 jMaki now integrates smoothly with dynafaces to forward messages from jMakis publish/subscribe bus to the server and back. It also allows to mix jMaki-widgets with plain 'static-html' jsf-components on the same page and do dynafaces partial-page updates while messages are going back and forth. Read all about the new way to use jMakis publish/subscribe...
on Sep 14, 2007
Jerome has been working on GlassFish gem for Rails. Read the interesting discussion on dev@glassfish. This blog announces a technology preview of this gem and describes the steps to try it out. Download GlassFish Gem from here. If you already have JRuby on Rails configured, then skip this step. Otherwise you need to install JRuby on Rails. Download and Unzip JRuby 1.0.1 from here (...
on Sep 14, 2007
Using the instructions followed in JRuby Hack Day and taking some help from Nick, I figured out how to use the JDBC connection pools configured in GlassFish using the JNDI names. All the commands given below are relevant for GlassFish but the same concept will work where ever you deploy your WARed up JRuby on Rails application. Follow the bullet #1 and #2 from here to create a new...
on Sep 12, 2007
This blog describes how to use jMaki actions and events to drive behavior or data in widgets. I will build a simple end to end application that shows the main concepts of widgets driving widgets (behavior) and also getting data from a server when needed. I actually created two versions of the application, JSP and PHP, for this blog, Each have three Yahoo buttons named 'select CA', 'set Values...
on Sep 11, 2007