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

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
Sun Microsystems kicks off 2007-2008 Tech Days and marks the 10th anniversary of the developer event. This blog celebrates the decade by announcing "Sun Tech Days Event Map" - a real-life RIA created using jMaki. It allows you to choose the date on a web page using a rich calendar widget, shows the city where Sun Tech Days event is happening during that month and then shows that city...
on Sep 11, 2007
Jersey provides a pluggable type system for the encoding/decoding of a Java type to/from an entity of an HTTP response/request. JSON support was added in Jersey using the BadgerFish convention for encoding/decoding JAXB beans to/from JSON. A new sample was also added in the recently released 0.2.1 that demonstrates this concept. This TOTD provides provides a trivial sample (using the snippets...
on Sep 10, 2007
There were about 300 people in attendance at this conference. There were about 40 people presenting during this three day event. With the communal meals and an attendee/speaker ratio on the order of 8 to 1, there was ample opportunity for attendees to have in-depth conversations with the speakers that you don't normally see at most other conferences. Plus, these speakers are all top caliber folks...
on Sep 9, 2007
The first ever The Rich Web Experience 2007 just got over and I enjoyed participating in the conference. This conference is part of No Fluff Just Stuff Symposium series and truly lived up to it's name and these are some of my reasons: There indeed was no "fluff", just real meaty talks full of "stuff". This indeed was an "experience" - not just a...
on Sep 8, 2007
The NetBeans 6 IDE comes pre-configured with JRuby interpreter. This TOTD explains how the JRuby interpreter can be swapped with a C-based Ruby interpreter and vice versa. Verify the JRuby interpreter Create a Rails Hello World using NetBeans 6 IDE. Expand "Views", "say", and open "hello.rhtml". Right-click in the "hello.rhtml" window and select...
on Sep 7, 2007
The NetBeans IDE has simplified the steps to deploy JRuby on Rails application on GlassFish. This blog explains the steps and is an update to screencast #web6. Download the install the latest NetBeans 6 Nightly. I downloaded the Ruby pack by clicking on the "Download" button in the Ruby column. Create a new Rails Application Right-click in the Project window and select "New...
on Sep 7, 2007
Jersey is the open source JAX-RS (JSR 311) Reference Implementation for building RESTful Web services. Paul announced the availability of 0.2.1. This blog entry describe the steps to get started with Jersey and provide useful pointers for further exploration. Download a stable build from here or the latest binary from here. jersey-xxx-ea.zip is the binary distribution and jersey-...
on Sep 6, 2007
Sun Microsystems is a silver sponsor of The 2007 Rich Web Experience. This conference is targeted for web designers, software architects, programmers, developers, and technical managers interested in learning about the hot areas in Web. JavaScript, Ajax, CSS, RIA, Design and much more content related to Web will be covered in 6 parallel tracks in 50 sessions by over 35 speakers. Venue:...
on Sep 5, 2007
As a newbie to Rails, "Gem" and "Plugin" terminology was slightly confusing to me. Specifically I saw the terms being used interchangeably sometimes. This TOTD highlights the difference between Ruby Gem and Rails Plugin. Ruby Gem and Plugin are both packaging systems - the main difference is the scope in which they are effective. The common differences are highlighted in...
on Sep 4, 2007
In a recent interview, David Heinemeier Hansson (creator of Rails) talks about the upcoming Rails Conf Europe, future of Rails, JRuby and other things. Here are some quotes ... On JRuby and Rails JRuby is a great way to open the conversation with enterprises by saying, You don't have to throw out all this "junk" you've accumulated over the years, Ruby is just an incremental...
on Sep 1, 2007
The jMaki tutorial from SWDP explained the different approaches to load your own data into a jMaki widget. The jMaki widget models have formalized since then and so the code there no longer works. This TOTD explains how a combo box widget in a JSP page gets it data from a bean. This TOTD uses NetBeans IDE configured with jMaki plugin and GlassFish. Create a new Web application project using...
on Aug 30, 2007
Doris pointed out that one of my earlier post is not working any more. That entry explained the steps to create a Web application, deployed on GlassFish V2, and contained a jMaki-wrapped Yahoo Data Table widget pulling data from JavaDB using the JPA. The main reason for this is because jMaki data models have evolved since I wrote the original entry and are now formalized. Here is the delta...
on Aug 27, 2007
ActiveRecord-JDBC 0.5 is now available. As mentioned earlier, one of the main features in this release is simplified database configuration for JRuby-on-Rails applications. From the release notes: It is no longer necessary to specify :driver and :url configuration parameters for the mysql,  postgresql, oracle, derby, hsqldb, and h2 adapters. This means that if you deploy a Rails...
on Aug 27, 2007
jMaki is a light-weight framework for build Web 2.0 applications. It provides support for multiple languages - Java (1, 2, 3, 4, 5, 6) , PHP, Ruby (1, 2), Phobos (1). The numbers in parentheses indicate the entries that I've created showing jMaki support for that language. As evident, I've not created a single entry for PHP yet. This entry is going to change that :) This entry shows how to...
on Aug 24, 2007
Quercus is Caucho Technology's 100% Java implementation of PHP 5. Ludo described the steps to deploy PHP web applications on GlassFish. Caucho has released a new version of Quercus since then. This blog entry is an update to the steps described earlier. First, PHP-enable GlassFish. Unjar quercus-3.1.1.war and copy the JAR files in "WEB-INF/lib" directory to "GLASSFISH_HOME...
on Aug 24, 2007
In a previous screencast, I showed how to develop a Rails application fetching data from the MySQL database and deploy it in GlassFish. GlassFish comes pre-bundled with JavaDB. Based upon a user request, this TOTD shows to use JavaDB database instead of MySQL. Here are the steps required to replace MySQL database configuration with JavaDB. You can either mix these steps with the existing...
on Aug 20, 2007
Here are few pointers to get you started on Ruby-on-Rails in GlassFish and NetBeans: GlassFish JRuby wiki NetBeans Ruby wiki Ruby Demos and Tutorials JRuby posts from TheAquarium Planet NetBeans (aggregated feed for everything related to NetBeans) Technorati: ruby jruby glassfish netbeans rubyonrails ror
on Aug 17, 2007
In a previous screencast, I showed how a Rails application can be deployed as WAR file on GlassFish V2. In GlassFish V3, the Grizzly connector by-passes the need to bundle a Rails application as WAR. Instead it directly invokes JRuby interpreter and deploys a Rails application without any modification. This blog entry describes the exact steps to deploy your first JRuby application in...
on Aug 13, 2007
Project jMaki mixes and matches just about everything in Web 2.0 sight. My highlight of this year's O'Reilly's OSCon was when Arun Gupta (and here) gave me a 15 minute tutorial on jMaki at one of the Sun booths. It was great to have such a wonderful, succinct and intelligent tutorial from Arun, with whom I worked at Java Software many years ago. Thanks Arun (and keep running :-) ! To learn...
on Aug 13, 2007