I was originally planning to give my first talk at Rails Conf on “Rails powered by GlassFish and jMaki“. But I cannot travel for personal reasons and instead Craig McClanahan, who is an excellent speaker, has graciously agreed to speak. Craig has been involved with Rails, GlassFish and jMaki for a long time so feel free to poke hime at the talk, in the exhibit hall and afterwards.
Thanks Craig for the wishes! I had a great time @ RailsConf 2007 (here and here) but life is about priorities
More information about support for Dynamic Languages and their Frameworks on GlassFish can be found on glassfish-scripting.dev.java.net.
Project SocialSite makes it easy to add social networking features to your existing web applications or community sites (running on Java, PHP or Ruby) and turn it into an OpenSocial container. It comes with a comprehensive and highly scalable implementation of social graph, integrates seamlessly with existing identity and authentication mechanism, make it easy to plug into existing directory server or other user management systems.
This screencast shows how to add social networking features such as Friends, Activities, Profile and an OpenSocial-compliant gadget to your application using NetBeans IDE.
This video explains What (is the solution), Why (this solution will meet your enterprise needs) and How (to obtain the solution) of Sun GlassFish Enterprise Server Solution.
I never had a pet and will probably never do But this blog is about a noble cause for pets.
One of my ex-colleagues, and a good friend, Connie Weisss founded MyPetStreet.com. This site connects the Web 2.0 social community with the real-life needs of pets such as support, services and resources in a physical community. My Pet Street is developed and hosted on several open-source technologies including Apache, My SQL, and Drupal.
Some key features of the website are:
Pet News – Selected News, Pictures and Videos that are “best of the best” on the web
Pet Needs – Local and locally-rated service providers. Take some time to rate your favorite providers. If they are not listed, let us know and we can add them.
Pets 411 — quickly accessed and efficiently organized expert opinions, pet owner insights, and question/answer forums giving you the best information available for your pet.
PetALERTZ – A free Neighborhood Watch that helps pets return home quickly and safely.
If you are a pet owner, visit the site today (FREE membership) and register your pet, even if they are microchipped, so they can get back to you as quickly as possible.
Redmine is a flexible project management web application written using Ruby on Rails framework. The feature list is pretty comprehensive from the usual suspects like multiple projects, role-based control, forums/wikis/SCM for each project to enterprise level features such as LDAP-authentication and multiple languages. It is cross-platform and cross-database and deploys very nicely on GlassFish v3.
GlassFish v3 modularity and extensibility allows Rails applications to be deployed without any modification (no WARing). This blog explains the steps on how to deploy Redmine on GlassFish and shows some screenshots later. More documentation is available in Redmine Guide.
Check out the most stable release of Redmine by giving the command:
~/testbed/redmine >svn co http://redmine.rubyforge.org/svn/branches/0.7-stable redmine-0.7
Configure the database
Start your MySQL server
~/testbed/redmine >sudo mysqld_safe –user root Starting mysqld daemon with databases from /usr/local/mysql/data
Create the database as:
~/testbed/redmine/redmine-0.7 >../jruby-1.1.1/bin/jruby -S rake db:create (in /Users/arungupta/testbed/redmine/redmine-0.7)
May 21, 2008 4:58:30 PM com.sun.enterprise.rails.RailsDeployer registerAdapter INFO: Loading application redmine-0.7 at /redmine-0.7 May 21, 2008 4:58:30 PM INFO: Starting Rails instances May 21, 2008 4:58:37 PM SEVERE: JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL May 21, 2008 4:58:42 PM com.sun.grizzly.jruby.RubyObjectPool$1 run INFO: Rails instance instantiation took : 11979ms May 21, 2008 4:58:42 PM com.sun.enterprise.v3.deployment.DeployCommand execute INFO: Deployment of redmine-0.7 done is 12091 ms
That’s it, your application is ready to be used! Here are some screen snapshots from my trial run:
Rails powered by the GlassFish Application Server provides all the good reasons on why you should consider using GlassFish instead of the traditional deployment models for Ruby-on-Rails applications.
There are 8 companies in Round 2 and each one of them has submitted a video highlighting their offering. One of the semi-finalists is Project Socialsite – an offering from Sun Microsystems.
Project SocialSite makes it easy to add social networking features to your existing web applications or community sites (running on Java, PHP or Ruby) and turn it into an OpenSocial container. It comes with a comprehensive and highly scalable implementation of social graph, integrates seamlessly with existing identity and authentication mechanism, make it easy to plug into existing directory server or other user management systems.
The submitted video shows how easy it is add social networking features (such as Profile, Friends and Activity) to MediaWiki by adding simple tags. We hope you like the functionality shown and give us a higher rating to help us qualify for finals
Kohsuke announced the embedability of GlassFish v3 – this is really cool! Now you can run GlassFish inside an existing JVM, without the need to start it externally. The API javadocs are available here. This blog explains how to host a Servlet using these APIs and write a simple Maven test to invoke the Servlet – all within the same VM.
The blog creates a Maven project using NetBeans but Maven CLI can be used as well.
In the NetBeans IDE, if Maven plugin is not already installed, then install it using “Tools”, “Plugins”,”Available Plugins”.
Create a new Maven project
Create a new project in NetBeans IDE and select “Maven” types as shown below
Click on “Next >”.
Take the default “Archetype” as shown:
Click on “Next >”.
Enter the “Project Name” and “Artifact Id” as shown below:
and click on “Finish”. The following output is shown in NetBeans Output window:
This confirms the successful creation of the project.
The command-line equivalent for all the above steps is:
Sang Shin and Brian Leonard are starting a new free online course of “Ruby, JRuby and Rails Application Development (with Passion!)”. The course is taken online and will start from Jul 15, 2008.
The objective of this course are “This course will go through briefly the basics of Ruby (and JRuby) programming language first. The rest of the course will be devoted to learning Rails functionality such as Active Record, Active Controller, and Active View. Attendees will acquire sufficient knowledge in order to write reasonably sophisticated Rails application upon completion.” Read more details here.
In this course, you’ll learn various NetBeans and GlassFish tricks for Ruby-on-Rails development and deployment.
This course runs very much like a regular college course in which the students are expected to do weekly homework after studying the learning material and doing the hands-on lab. By registering with the email address above, students can ask/answer questions. Some quick links …