Friday Mar 07, 2008

Kicking the tires of Grails in GlassFish v3

Grails logo

In his latest blog, Vivek (the new Scripting lead for GlassFish) reports his experience deploying a Grails application to GlassFish v3. We want GlassFish to be a great container for all scripting languages, from JRuby on Rails and P/Jython (Django?) to PHP, Grails and others.

With the recent fixes that went into GlassFish v3, a Grails application deploys in about 10 seconds. While v3 is not yet a final release (latest Tech Preview 2 build available here), it is important for us to track multiple web container use-cases such as Grails application deployment.

The technical integration and user experience of using Grails and GlassFish together can probably still be improved. Stay tuned.

Monday Mar 03, 2008

More Scripting Languages - Jython and Python - And GlassFish

ALT DESCR

Python joins the club! Ted and Frank have joined Sun to work on Python and Jython (On the Record, eWeek, Infoworld). They join JRuby and JavaScript and Groovy and Quercus(PHP) - and others! - as part of the non-Java on (J)VM family.

Welcomes from Vivek, Kuldip, Roman and Rich. I worked briefly with Ted years ago around JAXP, and Frank and I have talked a number of times about Jython and GlassFish. A very strong welcome!

We are committed to making GlassFish the best server-side platform available. We can do a lot with GFv2 and much more with GFv3. By themselves and together with Java EE 6. The future will be very interesting!

Added - Both Frank and Ted have written about why they chose to join Sun, check it here and here.

Tuesday Jan 29, 2008

Vivek's New Job - Technical Lead for Scripting on GlassFish

Vivek Pandey

Vivek has a new job: help make GlassFish (v2 and v3) the preferred platform for scripting on the server-side.

What languages? JRuby for sure, but we want them all, from Groovy to PHP to Jython, to... Choosing the winner is hard, we want the winner to choose us!

Check Vivek's blog for his announcement, and for his first weekend project: a Ruby Plugin for Hudson. And contact him if you want to help with the effort!

Wednesday Jun 27, 2007

Server-side scripting gets a java boost

Caucho Logo

GlassFish partner Caucho is featured in this blog comparing performance of Drupal (the popular content management platform) running on Apache 2+PHP and Caucho's Quercus (100% Java implementation of PHP5+extensions).

Scripting on the JVM can offer load-balancing and clustering technologies (courtesy of GlassFish for instance) but it can also let you use the world of enterprise Java APIs. Here it seems to also demonstrate how Java's HotSpot JVM adaptive optimizations kick-in and provide better performance than "native" interpreters on a real-world application.

These tests were conducted all without caching enabled. Interestingly enough, comments suggest using Terracotta (another GlassFish partner) and EHCache, used by Greg Luck in the Wotif.com architecture.

See this post by Ludo to get the Quercus interpreter running on GlassFish.

Tuesday Mar 27, 2007

Something Weird Happening at Sun

Weird Al - Classic Look

Arun's TSSJS Day 3 reports on an instant poll taken by Joe. To the question: "How satisfied are you with Sun?", the answer was:

Very satisfied- 20%
Somewhat satisfied- 48%
Neutral- 23%
Somewhat dissatisfied- 6%
Very dissatisfied- 3%

This is very positive, specially for TSSJS as it tends to be a Sun-skeptical crowd. Joe even said that "There is something weird happening at Sun", talking in a positive tone about Sun's support for PHP, JRuby and other scripting languages.

Wednesday Feb 28, 2007

jMaki Day presentations available

jMaki proje ct

Last week several of us participated in the very first jMaki Day. We wanted to provide training material including presentations, labs and demos to get folks started. The talks included a session on Web 2.0 technologies, Introduction to jMaki, Introductiion to Phobos, Tools, and State of the Union for jMaki.

This set of talks were presented to Sun internal folks mostly because we wanted to keep the number of attendees small and also have the ability to get specific feedack. All material has been made available on the jMaki website here. See my blog and Arun's blog for more details on jMaki day.

Thursday Feb 15, 2007

jMaki plugin for Eclipse now available

Eclipse logo

Ludo spent the last couple of weeks working on the much asked for Eclipse plugin for jMaki. The plugin is now available and also supports the latest release (v.8.3.1) of jMaki. Ludo also provided some documentation on how to get started using the new Eclipse plugin. Enjoy.

Friday Jan 26, 2007

Grails on GlassFish

Beans of Coffee

Glen has been playing with Grails but he is also a GlassFish user (check his article on why he switched) and [Grails] 269 was a blocker. That bug has now been fixed and he now reports Success on GlassFish. Glen includes a simple Groovy App: Groogle, a simple Search implemented using Grails (live app, overview, download)

Glen also has kind words for Hudson, which recently added a New Remoting Mechanism.

Added - Alexis pointed out that Groovy 1.0 was released.

Monday Jan 22, 2007

Using PHP with Sun's WebServer

PHP Logo

PHP (home page, tutorial, online manual) is very popular language - see this Netcraft survey - for writing Web Applications. A common combination includes Linux, Apache WebServer, MySQL and PHP (thus the term LAMP), but PHP is usable from many other containers.

Joe's recent Technical Article explains how to use Sun's WebServer with PHP using different connecting technologies, including as a CGI engine, using FastCGI and as an NSAPI Plugin. Many more PHP-related articles at TheAquarium here.

Wednesday Jan 17, 2007

Debugging JavaScript in Phobos just got easier

Phobos

Roberto announces the .5.1 release of the Phobos NetBeans Plugin which allows you to easily build and debug your JavaScript application. You can build applications using jMaki for the front end and JavaScript (through Phobos) on the server side. The JavaScript debugger in the NetBeans Plugin "has all the expected bells-and-whistles (breakpoints, call stack, variable inspection)" that you would find with debuggers of other languages.

For more information on developing applications using Phobos see Jennifer's lastest post, New Technologies for Ajax and Web Application Development: Project Phobos. This article is currently highlighted on The Server Side.

Phobos is a lightweight, scripting-friendly, web application environment running on the Java platform. The goal of Project Phobos is to show that Java is an excellent platform for server-side scripting, allowing dynamic-language developers to leverage the power of Java SE and EE. The initial focus for Project Phobos is JavaScript, but the design supports the use of other dynamic languages as well.

Thursday Dec 28, 2006

jMaki beta 2 release available

jMaki seal

jMaki beta 2 release is now available for download. Highlights of this release include a new widget model, improvements to the dynamic container which loads pages on demand and of course, bug fixes. Check out my blog for more details.

jMaki is a framework that provides a lightweight model for building Ajax enabled web applications using standards-based technologies. It allows you to use widgets from popular toolkits and includes support for PHP, JSP, JSF and Phobos.

Friday Dec 08, 2006

jMaki Beta 1.0 is out

ALT DESCR

jMaki Beta 1.0 release is available for download. jMaki is a framework that provides a lightweight model for creating Ajax-enabled web applications. It provides an extendable and customizable insulation between your application code and many of the JavaScript toolkits (Dojo, Yahoo, Google, Mochikit and others) out there today.

See Greg's blog for details about the beta. Some highlights are

  • jMaki Styles - CSS layouts and templates that act as frameworks for your web pages
  • jMaki Widget Model - A simple widget model based on HTML templates, CSS, and JavaScript. This can be used to wrap widgets from other toolkits or create your own re-usable widgets.
  • jMaki Glue - Listens for publish/subscribe events and calls shred JavaScript handlers based on the event.
  • NetBeans plugin - Drag and drop pre-configured jMaki widgets into a page, and configure the widgets using property editors.

Wednesday Nov 29, 2006

jMaki supports PHP 5

jMaki

The latest jMaki release now supports PHP 5! See Greg's blog for details on how to use jMaki to add reuseable Ajax enabled widgets to your PHP application.

The jMaki beta is scheduled for next week. See my blog describing some of the other features available in the release candidate.

Wednesday Oct 25, 2006

Waiter! There is a TCL in my Server!

Cartoon of Man eating in Restaurant

Did you know that there is a TCL interpreter in Sun's Web Server 7.0? And it is put to good use, as shown by True Blue in this collection of detailed blog entries on WADM, starting with why TCL was chosen (this was way before jRuby came into focus at Sun), going through parts II (global variables), III (ACL), IV (log analyzer), V (access to Java objects), VI (parsing httpd.config), VII (faking a file system), and the last - so far - VIII (extensions).

I could not find a concise quote for the Monty Python eurojoke, but here is one set of fly-in-the-soup jokes.

Tuesday Sep 26, 2006

Latest updates with scripting, JSR 223

script tablet

Sundararajan reports that there are two new additions to the scripting effort in Java SE 6. Included in the latest bundles from the scripting project is support for FreeMarker - a Java-based general purpose template engine. Also available is a script engine for BeanShell, an embeddable Java source interpreter with object scripting language features, written in Java.

The Scripting Project links to a large number of JSR-223 scripting engines, 27 at the time of writing this blog entry!