Wednesday Dec 12, 2007

Facebook Groups: OpenDS, OpenSSO, GlassFish, jMaki, JRuby, Phobos

Here are some of the Facebook groups that might be of interest to readers of TheAquarium:

Facebook logo


Please add those that I missed in the comments to this entry.

Wednesday May 16, 2007

SWDP Release 2 Now Available - Web.Next for GlassFish

A photo of a toolbox

A bit lost in the noise of JavaOne was the announcement of the Release of SWDP R2. This is a bundle (home page, download page) of a several key Web 2.0 technologies that can work on Java containers, including Tomcat and GlassFish.

The technologies include: jMaki, Dynamic Faces, Phobos, WADL, Rome, and Rome Propono. Also included are some Java APIs for REST which were the original submission on JSR-311; and check Paul's recent blog for a report on how that is going...

Saturday Apr 21, 2007

Phobos, jMaki and GlassFish v3 -- in less than 2 seconds

A StopWatch

Check out Roberto's Report on his presentation at Web 2.0 Expo on (Scripting and the Java Platform: Productivity and Performance (slides). A very interesting presentation where he covered a number of areas, from Phobos and jMaki to Scala and GlassFish v3.

The presentation's main point is the importance of some sort of soft / hard architectural boundary in successful systems. I agree, variations of this are everywhere - as one example, see the plug-in architectures in JAXB, JAX-WS and Hudson. Roberto is appylying this principle in Phobos, and it is also implicit in the extensibility ideas of the Java EE 6 proposal.

The presentation also showed how these concepts are combined with the modularity principle of GlassFish v3 to deliver a very productive and performant system that has low footprint and very fast startup: less than 2 seconds.

JavaOne and CommunityOne will cover all these topics. At CommunityOne they will be partly in the Web 2.0 track (jMaki/Phobos) and partly at GlasssFish Day (GF v3). CommunityOne is free and includes keynotes, multiple sessions and demo stations, free lunch and goodies and complimentary access to some JavaOne events but you need to register.

Saturday Mar 24, 2007

jRuby Servlets... in Phobos?

jRuby Logo

Phobos is more than just JavaScript on the Server-Side; it is also a complete framework for server-side scripting and it can be used with other scripting languages too through the benefits of JSR 233. This means you can write things like this Ruby fragment:

$response.contentType = 'text/plain'
writer = $response.writer
writer.println 'Hello, world!'

Roberto explains the mechanics in detail; including what WAR and JARs to use. The main focus of Phobos is still JavaScript, but let me know what you think...

Thursday Mar 22, 2007

Phobos Interest - Mailing List, Press, New Blogger...


Phobos was included in the latest Sun Web Developer Pack. The SWDP was released a week ago but it was announced this week at AJAX World, which is a bit unusual but the timing and venue of the announcement (and the content, one hopes!) has generated a lot of interest in the Press, including SysCon, CBR, eWeek.

Hopefully all this will lead to more users and contributors, and, indeed, the USERs list has jumped from 2 to 86 in two weeks. The dev team is going to be very busy! I also noticed that Tony Zakula has started a blog about Phobos; it will be interesting the situation by Java One.

More information on Phobos is at the web site, including an Intro page and more In-Depth Documentation. Also see Roberto's blog and his recent Presentation at JMaki Day.

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 22, 2007

Live Web 2.0 Samples

Sample Web 2.0 Applications @ SDN

The pet store may be the most famous of Sun's sample web applications, but it's certainly not the only one. Sun's Web 2.0 team has put together a collection of live samples covering a slew of web technologies--AJAX, Dojo, RSS, JSP, JSF, Woodstock, jMaki, and more. And, of course, they all run on the GlassFish Application Server.

Try each sample out directly on the web site. Then follow the "learn more" links to get additional information on how each was made and how you can use similar techniques in your own work. As the team says, "We hope you're inspired by these apps, components, and widgets."

Wednesday Jan 17, 2007

Debugging JavaScript in Phobos just got easier


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.

Tuesday Jan 09, 2007

jMaki examples

jMaki home

If learning how to write Ajax enabled web apps is one of your New Year's resolutions then check out the following blogs.

My blog, Building web 2.0 apps with jMaki uses one of the layout templates, glue code to tie widgets together and the injector code to load pages within a div tag to create a web application. The glue code ties the Yahoo Geocoder and Google Maps widgets. The injector is used to load the page containing those widgets in the div tag genereated by layout template and navigation is done using the Dojo fisheye widget.

Jennifer published two blogs at roughly the same time. Fun with jMaki: Using the Yahoo Geocoder service with the Dojo Combobox also uses the Yahoo Geocoder but she used the Yahoo Map and a combobox to select the city to map. More Fun with jMaki: Getting Data From a Bean shows how to get data from a bean using an EL experssion to a widget (in this case ComboBox). The data is converted to JSON format using the org.json libary.

Finally, checkout the new project jmaki-charting. This friend of jMaki project provides a charting widget which can be added to the jMaki framework. It's open source, freely available and it supports Java, PHP and Phobos.

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.

Thursday Nov 16, 2006

SDN Channel - Jump into JavaScript is Live

Via TheGalaxy, the JavaScript edition of SDN channel is live at SDNChannel. Find out what's happening with JavaScript including all the tools and resources that can be leveraged to build dynamic web solutions. News from this month includes an interview with Roberto Chinnici as he discusses the benefits of Phobos; Ed Burns talks about JSF and why server-side frameworks are so important.

Keep an eye out for the SDN channel, cuz more exciting news are coming your way!

Wednesday Nov 15, 2006

Phobos Meets Atom, REST

Via TheGalaxy, in his recent blog, Roberto discusses some interesting aspects of building the application atomserver, which is an implementation of the Atom Publishing Protocol v9 in Phobos. The application also uses some new REST libraries. For more details, please check out Roberto's blog.

Added: Seems Atom v9 has expired and the doc is no longer available. The most recent version is v11 which is available here.

Monday Nov 13, 2006

More on Debugging in Phobos Using NetBeans

Via TheGalaxy, hot on the heels of Pramod's blog about how to set up the debugging feature in NetBeans for Phobos, Roberto is giving us more details on the new features of NetBeans including how to develope and debug a Phobos application. Hopefully with the help of both Pramod's and Roberto's nice demonstration, not to mention the cool features in NetBeans, your adventure into Phobos will be a breeze. Let us know what you think!

Thursday Nov 09, 2006

ServerSide Javascript Debugging in Netbeans for Phobos

Via TheGalaxy, debugging in Phobos just got a whole lot easier... If you think debugging a JavaScript program is hard, try debugging a server side JavaScript program. Things get really tricky real fast. Matt Stevens, Ludo and Roberto come to the rescue! They have been working on a NetBeans plugin for debugging those server side JavaScripts in Phobos. Pramod was kind enough to provide the steps on how to setup the debugger. Before a stable build is available, it still takes a few steps to set things up. But it is worth it!

Thursday Nov 02, 2006

RoR and Blojsom and more Web 2.0 Apps on Sun Web Server

Rails Logo

Sun's WebServer 7.0 provides a Java Web Tier as well as good connectivity (NSAPI, Fast-CGI) with many non-Java applications. As an example of the former, Seema also shows how to run Blojsom, which follows from Blojsom on GlassFish, as did our previously reported Phobos on Web Server. As an example of the latter, Seema describes in detail how to Run Ruby On Rails.

All together, the Sun WebServer is a good Web 2.0 Platform, and it will get better as one will be able to run the latest Java Web Tier by Plugging the GlassFish Web Tier.