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

Blogs by topic Web Applications and user arungupta

• 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

A Rails 2.0.2 application configures SQLite3 database by default. This requires you to have SQLlite3 database running and also have the corresponding database adapter installed. Even this is part of the Leopard (Mac OS 10.5+) development kit but this needs extra configuration on non-Leopard machines. One of the guiding principles of Rails is Convention-over-Configuration. So there are couple of...
on Feb 15, 2008
NetBeans 6.1 M1 is now available. Download here! There are several features in M1. But the feature I liked the most is storing multiple Ruby/JRuby runtime configurations in the IDE. In NetBeans 6.0 only one Ruby platform could be configured and stored. So if you have to change to another Ruby environment then you have to edit the values in the IDE. 6.1 M1 allows to configure and store multiple...
on Feb 15, 2008
Pramod released an updated version 0.1.1 of the JRuby GlassFish v3 gem. What's New ? - Mainly alignment with Rails convention The name of the gem is changed from "GlassFish" to "glassfish". The default port number is 3000. Applications are deployed at root context ("/"). So the default application is now deployed "http://localhost:3000/home/index" instead of "http://localhost:8080/temp/...
on Feb 14, 2008
acts_as_conference started earlier today (now yesterday) in Orlando, Florida with Charity Session.  Completely sold out with 165 attendees! Ezra Zybmuntowicz (Merb core developer) talked about Merb. What is Merb ? Started after tried to make Rails thread-safe and memory foot print lower. All (everything?) you need, none you don't. Key features of Merb are: Thread-safe...
on Feb 8, 2008
GlassFish v3 Gem allows JRuby-on-Rails application to be launched in GlassFish v3 server. It provides a robust alternative to WEBrick and Mongrel for development and deployment of your JRuby-on-Rails applications. UPDATE (Feb 14): A 0.1.1 version of the gem is released which will change the installation process. The Gem was originally announced here and then updated here. All along...
on Feb 8, 2008
This TOTD (Tip Of The Day) shows how to install Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1. Then it describes how a simple Rails application can be created and deployed using WEBrick. First, lets deal with installing Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1. Step 1: How to install Rails 2.0.x in JRuby 1.0.3 ? Download and Unzip JRuby 1.0.3. This creates "jruby-1.0.3" directory. Install...
on Feb 6, 2008
There are several reasons you may deploy JRuby-on-Rails application on GlassFish: Java EE is a long tested deployment platform and GlassFish is Java EE 5 compliant. GlassFish "green" deployment model - just create a WAR and dump it in autodeploy directory. Typical Rails deployment requires to spawn multiple Mongrels, front-ended by Apache and then manage them through Capistrano. Java EE and Ruby...
on Jan 29, 2008
The jMaki session at the upcoming Ajax World East 2008 is featured on Web2Journal. Enjoy several jMaki screencasts before the talk :) Jean-Francois is also speaking on Asynchronous Ajax for Revolutionary Web Applications - He is a great speaker and interesting topic too! If you want to speak, the Call For Paper for Ajax World closes tomorrow (Jan 25, 2008). Technorati:...
on Jan 25, 2008
Sun Microsystems is a Gold sponsor of Ajax World 2008, New York City. I'll be speaking on Web Application Development using jMaki. jMaki is a light-weight framework to create Rich Internet Applications using the best tools/libraries and standard practices. I plan to deliver the talk with lots of demos and hope you'll be able to correlate them with real-life scenarios easily. Of course,...
on Jan 9, 2008
Pramod and I presented on GlassFish/JRuby and NetBeans/Ruby to a partner in San Francisco a few days ago. Here are the questions asked during the session: How does running the Ruby tests show the green/red status bar ? The status bar is shown if the test is run as a test, not as a file. (for example, using Ctrl+F6, not Shift+F6). Ctrl+F6 can also be invoked on the tested class and it will...
on Jan 8, 2008
Pramod published an updated JRuby Gem for GlassFish v3. Download the gem here. Here are the updates from last time: The Gem is now smaller - 2.4 MB instead of 2.9 MB (approx 20% smaller). The Gem is now using the latest v3 codebase, including Grizzly JRuby module 1.6.1. 2 Rails instances are created instead of the default one. So now 2 requests can be invoked in parallel and they both will be...
on Jan 5, 2008
In my role of Technology Evangelist, I get the opportunity to meet a lot of community (folks like you :) all around the world. In the year 2007, I represented GlassFish (and related technologies - Metro, jMaki and Jersey) at multiple conferences. This blog introduces a  new real-life application that plots all the places I visited this year on a jMaki-wrapped Google Map widget. Clicking on...
on Jan 1, 2008
JRuby 1.0.3 was recently released and so was Rails 2.0. I decided to try JRuby 1.0.3 + Rails 2.0 and realized that a few additional steps (because of Rails 2.0) are required to get a trivial Hello World applcation up and running. Here are the steps: Unzip JRuby 1.0.3. Make sure to set JAVA_HOME and JRUBY_HOME. Also include JAVA_HOME/bin and JRUBY_HOME/bin in PATH for convenience. Install...
on Dec 21, 2007
Pramod updated the JRuby-on-GlassFish module on the GlassFish Update Center with JRuby 1.0.2, Rails 1.2.6 and Goldspike revision 808. I created a standalone (self-contained with all the libraries, gems & plug-ins) and shared (contains only web.xml and libraries are loaded from the Application Server instance) WAR image for the bundled Hello World sample. The screencast #web9 provide...
on Dec 17, 2007
I presented on GlassFish and other related technologies (Metro, jMaki and JRuby) in Bangalore, Chennai and Pune last week. The slides used during the preso are here. And here is the list of questions (along with answers) for you: What does WSIT offer ? WSIT stands for Web Services Interoperability Technology. It is a component of Metro - the Web services stack in GlassFish. WSIT...
on Dec 13, 2007
This TOTD explains how to create a new jMaki widget and make it available in the NetBeans palette. In order to create a jMaki widget, it's important to understand the jMaki Widget Model. Basically, "component.htm", "component.js" and an optional "component.css" together make a jMaki widget. Here are the files for a Hello World widget that takes an...
on Dec 12, 2007
I presented on Metro, jMaki and JRuby-on-GlassFish at a partner meeting on Nov 21 in Toronto and Montreal (yeah, both cities in the same day). That makes it 3 cities (the first one being Seattle) total for now! I've given multiple talks all over the world to different types of audience but this was my first experience in terms of talking for 3 hours in the morning, flying to...
on Nov 28, 2007
Jerome posted the instructions to build GlassFish v3 Gem for JRuby - very simple and easy. A binary version of Gem is available here. Software pre-requisite Subversion client (for example Tigris) Maven 2.0.x JRuby 1.0.x (I used JRuby 1.0.2 and lets say installed in JRUBY_HOME).  Make sure JRUBY_HOME/bin is in your path. Build the Gem As explained in Jerome's entry, you...
on Nov 19, 2007
In an Earlier Post, I described how Mephisto (a popular web publishing system based on Ruby on Rails) can be deployed on GlassFish V3. Both JRuby and GlassFish has matured since then and this post will provide the updated instructions to deploy Mephisto using GlassFish v3 Gem. Here are the exact steps: Install and Configure JRuby 1.0.2. The GlassFish v3 Gem does not work on Windows (JRUBY-...
on Nov 15, 2007
JRuby 1.0.2 was released last week. A total of 99 issues were fixed but I'm particularly excited about JRUBY-1347, JRUBY-1350, JRUBY-1401 and JRUBY-1410. These are some issues that I faced (1347 here, 1350 here, 1401 here, 1410 here) on my primary development machine - Windows. Here is the status report: On Windows only, the latest Rails gem (1.2.5) is now working with stable release of...
on Nov 9, 2007