Web Applications

So far you've been playing with jMaki and
created some Web
and/or Rails
applications. Let's say you've gone a step ahead and some
widgets in your application use jMaki's publish/subscribe
mechanism to talk with each other. Some jMaki widgets,
such as Menu and Dynamic Container are pre-configured to
publish and subscribe to the same topic. So if you develop a simple
menu-based...

Tim Bray, Web
Guy from Sun Microsystems gave the keynote
session at Rails Conf
2007 yesterday (May 19). With 1600 attendees, it was quite a different
experience from JavaOne last week which had approx 16,000 people. The
session was to start @ 9am and we were made to wait until 8:55am outside the
Ballroom.
Anyway, once the session started it was packed!
Tim...

Sun
is a diamond
sponsor of Rails
Conference 2007. At the booth we are showing how jMaki provides a
rich set of widgets for Rails application. Also talk to us about how GlassFish V2
can provide a deployment environment for WAR-ed up RoR apps and how GlassFish
V3 provides deployment of original packaging of RoR apps.
We are also showing the best platform for hosting Ruby on Rails...

If you could not attend JavaOne 2007
last week and would like to know how jMaki
and Phobos are made-for-each-other,
then watch this
excerpt of
the technical keynote (start @ 1:02 and finish @ 6:26). You'll hear me
presenting :-)
A complete detailed screen cast on how to build this demo is available
here. I plan to post written instructions soon as well.
Technorati:
javaone jmaki
phobos
web2.0

Earlier today, I attended
Charles Nutter and
Thomas Enebo "Your
First Day with JRuby on Rails" tutorial at
Rails Conf 2007.
The key message is Ruby as the programming language and Java for the
platform and libraries provides the best of both worlds to developers.
JRuby is 100% pure-Java implementation of the
Ruby programming language. The...

Craig
announced jMaki
on Rails. Here I provide detailed steps to read data from a
MySQL database and display it in a jMaki-wrapped
Yahoo
DataTable widget.
Download
NetBeans
6.0 M9 (Full version) and configured to install only "Base
IDE", "Java IDE", "Web and Java EE" and "Ruby" modules. A cutting-edge
build can be obtained from the
hudson
build.
Download and install
jMaki
plug-in in...

UPDATE: Simplified steps for
GlassFish V2 are available
here
and for V3
here.
Follow up from
here.
In this post I'll show how a Ruby-on-Rails (RoR) application, talking to MySQL database, can be
deployed as a WAR file on GlassFish V2. Here are the
steps I followed:
Create a HelloWorld RoR app talking to MySQL database as described
here.
Expand NetBeans project, expand 'Configuration' and...

UPDATE: Simplified steps for
GlassFish V2 are available
here
and for V3
here.
Follow up from
here.
In this post I show how a Rails app can talk to database. Here are the
steps I followed:
Deploy a RoR application as WAR on GlassFish using
these steps.
Modify the application such that "Hello World!" is read from the
controller instead of defined in the view (this is natural to RoR...

There has been quite some buzz about jMaki and Web 2.0 this JavaOne. There were atleast 7 or 8 talks/sessions or BoFs! That sure is a lot!
Well I've been trying to get started with using jMaki in my own space too. I thought I'd write some of my experiences in blogs as I go along.
First we need to setup the environment. We need an IDE, a jMaki plugin, and an application server.
Here are my...

UPDATE: Simplified steps for
GlassFish V2 are available
here
and for V3
here.
Ashish
described how to create RoRaWAR (Ruby on Rails as
Web ARchive). I decided to try these instructions on
GlassFish V2 b46.
Here are the steps I followed:
Create a simple "Hello World" RoR application using
NetBeans
6.0 M9 following this
screencast. NetBeans IDE creates a standard Rails application...

Sun Microsystems is a diamond sponsor
of Rails Conference
(May 17 - 20). In the conference, you'll hear from Sun luminaries on
different topics. You'll see how NetBeans
IDE and GlassFish
provide a complete development and deployment environment for your Rails
application. You'll also see how
RIA
can be easily created using jMaki.
Here is list of sessions from Sun speakers...

Release 2 of the Sun Web Developer Pack is now available. You can get it here. Some things that have changed since Release 1 are -
Propono - a sub project of ROME that makes it easy to build an atom client and also add Atom publishing protocol (APP) support to your application.
NetBeans 6 support for REST implementation.
Support for Tomcat 6. We now have support to use Tomcat 6 as a...

If you are attending JavaOne 2007 and are interested in learning more about mashups, the talk titled Blueprints for Mashups: Practical Strategies, Tips, and Code for Designing and Building (TS-6676) should be a good talk to attend. Its on Thursday May 10, 2007 10:55 to 11:55. The speakers are Sean Brydon (me), Mark Basler, and Gregory Murray.
Basicallly a mashup is a web site or application...

Here we enhance our Ruby web log so that readers can add comments. In the process we will learn how to deal with model relationships in Rails, as a single post can have zero or more comments.
Setting Things Up
I'm going to begin from where I left off in my previous post: Rails and Database Migrations. Alternatively, you can start from BlogDemo.zip, which is the completed project from that post...

jMaki .9 release was pushed out last week. We are feature complete! There were some significant changes to the framework with this new release.
First, the widgets are in a separate project (widgets.dev.java.net). With each toolkit, we pruned the wrappers and included only widgets which are high quality. In the case of Yahoo, several new widgets have been wrapped. Each toolkit is built as a...

Looks like you'll get to see jMaki in several places at JavaOne this year. Greg Murray and I have a session TS-6375
jMaki: Web 2.0 App Building Made Easy. We'll give an overview of jMaki and the architecture, talk about some of the features like Glue and the data models, go over the value proposition and give some cool demos.
If you want to get your hands dirty then the following labs will...

In jMaki, each type of widget (tree, table, menu ...) has the same data model regardless of the toolkit which provides the widget. This is a value proposition in jMaki which we believe very useful. What this means is that you can use a table from Yahoo to display your data and if later you decide that the table from Dojo better suites your needs then you can switch to the Dojo widget but not...

Ajax is a
popular term for past few months but is still being written incorrectly as
"AJAX" (all capitals) instead of "Ajax" (camel
case). I started
using AJAX but then corrected myself and have been using Ajax since then. So
the correct term is Ajax, not AJAX.
Here is a list of several reasons (some mine and others from my colleague
Rick's list):
Jesse James Garrett...

I've just read David's blog about the pleasure of staying in a low-tech contest. He contrasted Mexico with "no TV, no movies, no cell phones, no computers" versus the "getting connected" paradigm of San Francisco and the Web 2.0 Expo.
By chance, I've just had three days of vacation too. I escaped from the town and, as usual, I went to a little village in southern Tuscany. The targets were:...

When ?
Apr 15-18, 2007
Who ?
Designer, Developer, Entrepreneur, Operations Manager, Project Manager,
Business Strategist or Marketer -- or all of the above -- seeking to
create and leverage the new web and how Sun
is making a difference.
Where ?
Moscone West Convention Center
800 Howard Street
San Francisco, CA 94103
Sun Booth Number
318
Talks to...