Sunday Sep 21, 2008

... Rails vs Merb, Securing WebApps, Fast Deployments, Compass 2.1, Localizing WebSynergy, IM and Cisco and CDN and Amazon

A compilation of today's news of interest:

Radio Receiver Icon

At MindBucket Paul provides a comparison of the (single-client) performance of Rails vs Merb. Rails is the incumbent in Ruby frameworks; Merb is a very interesting newcomer. Merb is thread-safe, and so will be Rails 2.0, but the comparison does not consider concurrency so that should be a key issue. The comparison includes numbers on GlassFish Server (and stay tuned for more fine-tuning for that case).

From the NetBeans team, a Tutorial on Securing WebApps using Role-Based authentication. The tutorial has detailed step-by-step instructions using NetBeans 6.5 and GlassFish Server.

Ludo addresses Rapid Deployment of Apps on GlassFish in a thread at the GlassFish Users Forum Also hints at future improvements (teaser!).

Shay reports that Compass 2.1 M3 is now available with improved GlassFish support.

From Mahipalsinh an explanation of how to Localize WebSynergy, so you can do it for your favorite language.

And, on the section of important Industry News, Cisco buys Jabber, which should provide integrated IM in their offerings, and Amazon launches CDN service, a la Akamai, LimeLight and others. One of the nice things of working in this industry, it is never boring!

Tuesday Sep 16, 2008

... JRuby Pools, Mural, JSF 2.0 EDR2, MacBooks, and Sun Hardware from Dunnington to Hadrons

A compilation of today's news of interest:

Radio Receiver Icon

Jacob explains the (simple) configuration options for JRuby Pool.

Srenga does a Shallow Dive into Mural, the Open Source MDM engine in the GlassFish community.

The JSR314 EG has released the Expert Draft 2 for JSF 2.0 (Download). This version includes Section 13.3 on JavaScript API (thanks for the tip, Roger), as well as Section 3.6 on Composite UI Components (see the Enterprise Tips on this feature: Part I and Part II).

Our household owns several aging Apple laptops so I am keeping an eye on the MacBook Shipments rumor, although OpenSolaris continues to make progress and that may soon be a realistic option for us.

Intel has announced the new high-end Dunnington processors ( InternetNews), and Sun already has machines to accompany them (Marketwatch).

And in all the noise about the LHC I had missed that the CERN is Thumpers and StorageTek products to store the data - through the Customer Ready program.

Rails Monitoring on GlassFish via New Relic

ALT DESCR

RailsInside reports on New Relic "lite", a new free version of New Relic RPM that provides Rails monitoring. The product provides information on throughput, response time as load increases and per-controller action time information.

New Relic also has a fully-featured version (watch the Product Tour); and both versions are Supported for GlassFish Server!

Arun says he is going to a deeper review of this and another product very soon; stay tuned.

Developing Kenai - Agility on an OpenSource Enterprise Foundation

Last week Kenai went beta, with the usual services in a development hub site plus an additional "connected" angle. Our GF CORBA project is already using its Hg repository but another very interesting angle is the technology mix.

ALT DESCR

Kenai acheived development agility with reliability by using a combination of our scripting (JRuby/Rails) and enterprise (GlassFish v2, MySQL, OpenSolaris) technologies. These combinations are beginning to pop all over and are one of the key targets of GlassFish, using JRuby (see Nick's Blog site), Groovy (see Glenn's GroovyBlogs), or others.

Back to Kenai, check out Tim's Interview with Nick, and some Technical Details on Caching and in Testing/Performance Methodology. Also see Pictures from Austvik, Spotlight from Arun and Lenz's Technology Overview.

Friday Sep 12, 2008

... GlassFish ESB M1, Kenai and JRuby, SocialSite News, OpenDS and Intel Dave

A compilation of today's news of interest:

Radio Receiver Icon

From OpenESB, the first milestone for GlassFIshESB. Andi will post a longer entry later in the weekend but in the meantime check the Announcement and the Welcome from Bill.

Kenai beta is out, a very strong proof that JRuby on GlassFish (v2) is ready for the prime time. The event deserves a full spotlight and I'll do one this weekend.

SocialSite continues making progress. Vijay provides a list of the projects Recent Changes which include a new security model, full support for OpenSocial RESTful APIs, and more. The team will also start following the GlassFish usual model of regular milestones.

From OpenDS, Terry more reports on the Logger Analyzer. I need to spend more time in the OpenDS mailing lists - or convince Ludovic et al to blog more often!

And, from Intel Dave a nice screencast describing Role of Wireless in OpenSolaris. Neat to see an Intel guy talking about your Intel centrino-based OpenSolaris laptop!. Yeah for OpenSource!

Saturday Sep 06, 2008

... Valves in GlassFish, OpenMQ and Mule ESB, Free Hosting and CrazyRails

Radio Receiver Icon

The vast majority of Tomcat applications ran fin on GlassFish. Jan tell us that now even the ones using the Tomcat-style valves will run unmodified.

Of at The ServerSide Pawan explains How to use OpenMQ with Mule ESB by configuring the Mule JMS connector. Added (by pelegri) - I've heard of a number of requests for this, please let us know if you use the combination so we can track OpenMQ adoption.

LayeredTech announced free GlassFish hosting for Sun Startup Essentials™ Program participants.

CrazyRails has a post on how to install JRuby on Rails on Mac, including GlassFish and MySQL setup. More GlassFish coverage is promised.

Wednesday Sep 03, 2008

Scripting roundup: PHP, Rails on GlassFish

PHP and Rails logo

Dick has a detailed post on "LAMP stack on GlassFish" which really focused on Caucho's Quercus PHP runtime inside GlassFish to execute Wordpress (with MySQL as the back-end obviously). The post provides database setup details and prefers standalone WAR files (carying along Quercus).

SĂ©bastien focuses on Joomla on GlassFish but prefers the PHP/JavaBridge route even if it requires more configuration steps including a native PHP installation.

In JRuby on Rails land, Jacob has a two-part series on how to make the GlassFish jRubyOnRails runtime pooling more effective and the AI-logic available to other scripting technologies hosted in GlassFish as well.

Wednesday Aug 27, 2008

... GF v3 Memory Consumption, Rails App in 15 minutes, Managing JRuby Instances, OpenMQ 4.3, and Solaris on Dell

A compilation of today's news of interest:

Radio Receiver Icon

Jason provides early indications of Improved Memory Consumption in GlassFish v3. Since GFv3 Prelude is early in the cycle of GFv3, expect further improvements over the life of the release family.

Charles has a detailed description of how to write a Rails App on GlassFish using the latest run-time/packagings. And Jacob describes improvements he is working on for dynamically managing the pool of JRuby instances in GlassFish.

From the OpenMQ Team, more Details on OpenMQ 4.3, which will be part of GlassFish v2.1. Proposed new functionality includes a REST Messaging API, AIX support, more platforms, STOMP Support, and more. As always, provide feedback to the team at Users at OpenMQ.dev.java.net.

And from OnTheRecord... the Original Announcement was last year and now we have the product: Solaris on Dell is finally here: Solaris@Dell.COM, Online Configurator.

Wednesday Aug 20, 2008

GlassFish JDBC Pooling for the Rails Developer

ALT DESCR

Back in Sept'07 Arun wrote about Using GlassFish's JDBC connection Pooling in a Rails App; now Ikai@LinkedIn has an updated note that includes changes since then and presents the instructions from the perspective of a Rails developer.

Ikai's note covers warbler, the MySQL Connection Adaptor and Other Code. Check out Ikai's writeup, and I hope we can tell you more about that particular use case!

Sunday Jul 20, 2008

Rails/Ruby News - Resources, Tutorials, Adoption Stories

Trying to catch up a bit on Ruby/Rails/JRuby related news...

ALT DESCR

Two new NetBeans 6.1 Ruby tutorials: Getting Started With Ruby and Rails and Using Java Libraries in Rails Applications. The last topic is one of the big benefits of JRuby, one example is this report of Calling into Sun's SSO and another is this Tutorial showing Invoking Java 2D Graphics.

A recent adoption story is CSI's use of JRuby in a project on Infectious disease reporting and management. Slightly older is Nick's This Blog now Powered by GlassFish and JRuby.

Overall, very nice progress on the JRuby/Rails front. I believe the last set of formal releases were: Release of GlassFish Gem 0.3.0/0.3.1 (announcement and update), and JRuby Module in the Update Centers with JRuby 1.1.1. The interest continues to grow and it is moving closer to actual deployments; perhaps time to start a commercial support offering?

PS. Arun has a whole collection of applicable entries tagged JRuby.

Thursday May 29, 2008

JRuby 1.1.2 released - Improved Performance, Reduced Startup Time and Other Features

Radio Receiver Icon

JRuby 1.1.2 is released.

They key features are reduced startup time, improved performance and 95 issues fixed since the previous release. Read how to Get Started with GlassFish Gem and deploy popular Rails applications using JRuby 1.1.2 and Gem.

Sunday May 25, 2008

Training Links - JRuby, MySQL, Memcached, Student Portal, Java with Passion

Sun offers quite a number of training courses, and some of them are even free. Some I noticed this week:

The Librarian, a painting

Trond highlights two very interesting free Webinars next week with top speakers (tip): "Highly scalable solutions with MySQL and Memcached" (Wed) and "Designing and Implementing Scalable Applications with Memcached and MySQL" (Thu).

Marina points to free Student Courses as part of the resources at the Student Portal.

Arun and Daniel mention Sang's latest course on Ruby and Rails. Sang's Java Passion site has many good online courses using the GlassFish Server, including JavaEE, Web Services and EJB.

Sun has many other courses, sometimes it's just a bit hard to find them. For example, the site for online and in classroom courses offered by Sun is http://www.sun.com/training and many of these are related to GlassFish, but a Search for "glassfish" will yield only a few of those.

We are working to fix that last problem, and I try to capture courses I know at GlassFishForBusiness, but what we really need is a full-time librarian... ideally a super one, like Conan the Librarian.

Thursday May 22, 2008

Image Processing in Rails using Java 2D API

Raisl Grayed Out

Using JRuby (instead of Ruby) to develop your Rails applications allow you to leverage the power of Java libraries in Rails applications. Java 2D API is one such API that provides support for advanced 2D graphics and imaging.

Jennifer has a good Writeup explaining image-filtering effects (negative, grayscale, brigthen, sharpen) using Java 2D API on an image.


The app runs using GlassFish v3 Gem but can be natively deployed on TP2 as well.

TP2 Docs provide a more comprehensive tutorial on how to get started with using Rails for the GlassFish v3 Application Server.

Monday Apr 21, 2008

Online Billing in NZ Using GlassFish and JRuby

ALT DESCR

The web site for WorldxChange Communications NZ looks very good (they won the NZ Telecommunications Carrier of the Year 2007) and their Customer Bill View system is a JRuby Application running on GlassFish v2!

The application came from an strategic emphasis in improving the customer experience and was developed very quickly, that influenced the choice of technologies. Check out Chris' Adoption Story and check the Questionnaire.

The questionnaires for the Adoption Stories are always full of very interesting details; for example, WXC uses CentOS in production. Annecdotal data, but still, interesting.

Friday Mar 07, 2008

Betting on JRuby and GlassFish

Heard on the blogosphere ...

Map of the Blogosphere

Teflon Ted's blog entry Rails Doesn't Scale is betting on JRuby and GlassFish. It says:

"Personally my money is on JRuby (and Glassfish) for the long haul; if you haven't checked out Glassfish yet, you're doing yourself a disservice!."


Have you checked out GlassFish v3 gem for JRuby ?

It is now hosted on RubyForge and can be easily installed using "gem install glassfish". Read more details here.