'NetBeans'

[SUN CA] Netbeans 6.5 – Get it now!

The new Netbeans Version 6.5 is available for download now:

http://www.netbeans.org/downloads/index.html

NetBeans IDE 6.5 offers simplified and rapid development of web, enterprise, desktop, and mobile applications with PHP, JavaScript, Java, C/C++, Ruby, and Groovy. Here’s a summary of the new features in NB 6.5:

* Robust support for PHP and JavaScript
* Debugging for Firefox and IE
* Support for Groovy and Grails
* New enhancements for Java™, Ruby and Rails, and C/C++ development
* Built-in support for Hibernate, Eclipse project import, and compile on save

If you’re new to NetBeans, you’ll also appreciate the IDE editing capabilities and the famous Swing GUI Builder (Matisse).

Netbeans 6.0 Final Release

What a birthday present SUN gave me ;) Netbeans 6.0 has been released tonight. So switching to the brand new stable IDE should now be done. Learn more about the new features here. Happy Coding!

JRuby applications in glassfish

I developed a few projects in Ruby on Rails so far. Now I noticed, that with the new glassfish v2 open source application server from sun, it is possible to load specially prepared RoR applications directly into a glassfish web container.

To develop my RoR applications I’m using the new Netbeans 6.0 IDE. They built an RoR only IDE which is available here.
To deploy a war file one needs to install a plugin for RoR to add a rake task which builds the war file. The plugin is named goldbrick. It can easaly be installed by adding “http://jruby-extras.rubyforge.org/svn/trunk/rails-integration/plugins/” to your plugin repositories.

After installing the goldbrick plugin and refreshing your list of rake tasks, you can build a war file by running rake war:standalone:create .
This will build a .war file in the projects top folder.

You can now easily deploy this application to glassfish by copying the .war file to your autodeploy folder. (eg. /opt/glassfish/domains/domain1/autodeploy).

If you now point your web browser to localhost:8080/<railsprojectname> , your rails project page should fire up.

I’m going to write soon about how to use the jdbc adapter for activerecord to access your MySQL database from within your rails application on your glassfish server.