Blogs by topic Web Applications and user arungupta
| • Accessibility | • Ajax | • Blogging | • Business | • Community |
| • Databases | • Deployment | • Distributed | • Eclipse | • Education |
| • EJB | • Extreme Programming | • Games | • GlassFish | • Grid |
| • GUI | • IDE | • Instant Messaging | • J2EE | • J2ME |
| • J2SE | • Jakarta | • JavaFX | • JavaOne | • Jini |
| • JSP | • JSR | • JXTA | • LDAP | • Linux |
| • Mobility | • NetBeans | • Open Source | • OpenSolaris | • OSGi |
| • P2P | • Patterns | • Performance | • Porting | • Programming |
| • Research | • RMI | • RSS Feeds | • Search | • Security |
| • Servlets | • Struts | • Swing | • Testing | • Tools |
| • Virtual Machine | • Web Applications | • Web Design | • Web Development Tools | • Web Services and XML |
J2EE

Content available at: http://blogs.sun.com/arungupta/entry/totd_146_understanding_the_ejb

Content available at: http://blogs.sun.com/arungupta/entry/totd_135_jsf2_custom_components
Community

Content available at: http://blogs.sun.com/arungupta/entry/2_day_java_ee_6

Content available at: http://blogs.sun.com/arungupta/entry/java_ee_6_glassfish_workshop
Servlets

Content available at: http://blogs.sun.com/arungupta/entry/totd_136_default_error_page
Web Applications

Content available at: http://blog.arungupta.me/2009/09/redmine-typo-mephisto-on-glassfish-v3/

I've created a Rails "Hello World" app numerous
times. But I decided to write a simple using the testing
framework provided by Rails. This blog explains my experience of
writing such a test.
Create a "Hello World" app as:
~/samples/jruby/test
>~/testbed/jruby-1.1.2/bin/jruby
-S rails helloworld
...

Are you deploying your JRuby-on-Rails applications
on Solaris
(or any variety of Unix) and not able to connect to the database ?
I experienced it last week so thought of sharing the tip here. Luckily
it's really simple.
Here is the default generated "config/database.yml"
development:
adapter: mysql
encoding: utf8
database: runner_development
username: root...

Rails 2.1 was released
earlier this month. GlassFish
provides a complete development/deployment
environment for Rails applications. Some of the main reasons
for using GlassFish (instead of WEBrick or Mongrel)
are:
Identical Development and Deployment environment
Multiple Applications can be deployed on one Container
Multiple requests can be handled by a single application
(with no extra...

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...

JRuby 1.1.2 is now released - download
here!
The highlights are:
Startup time drastically reduced
YAML symbol parsing >100x faster
Performance, threading, and stack depth improvements for
method calls
Fixed several nested backref problems
Fixed bad data race (JRUBY-2483)
Gazillions of bigdecimal issues fixed
95 issues resolved since JRuby 1.1.1
Getting started is really simple, just...

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...

Sun Microsytems
is a sponsor of Enterprise
2.0 Conference (Jul 9-12, 2008, Boston).
The conference has regular tutorials,
keynotes
and general sessions, multiple
tracks and pavilion
(even a free
pavilion pass). They also have Launch Pad
that allow companies developing new social networking products to
compete for the chance to present them in front of the largest audience
in the...

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...

One of the main advantages of using JRuby-on-Rails instead of
Ruby-on-Rails is to harness the power of Java libraries available in
the Java platform. The Java 2D
API is a set of classes for advanced 2D graphics and imaging,
and provides extensive support for image compositing and alpha channel
images, a set of classes to provide accurate color space definition and
conversion, and a rich set of...

WAR-based
packaging and dispatching of Rails application on Java Application
Servers is going through third iteration based what is used for
packaging and dispatching:
Goldspike + RailsServlet: The first iteration was
WAR-packaging of Rails app as defined by Goldspike
plugin (nee Rails-integration) and using RailsServlet (part
of Goldspike) for dispatching.
Warbler + RailsServlet: The...

A newer version of GlassFish
v3 Gem for Ruby
on Rails is now available.
What's new ?
Codebase aligned with GlassFish
v3 Technology Preview 2
Previous version (0.1.2) had some packaging issues which
increased the size but now it's back to sweet 2.8 Mb.
Check if previously installed by using the following command:
~/testbed/jruby-1.1.1
>bin/jruby -S gem
list glassfish
*** LOCAL...

Vivek updated
JRuby module in GlassFish v2 UR2
Update Center.
It now contains JRuby 1.1.1 + Rails 2.0.2 and Warbler (instead of
Goldspike) for packaging the app.
Read all details on how to download, install and getting started here.
The image below shows a snapshot of Update Center with the latest
module selected:
After following all
the steps (had to manually set executable perms on
jruby-1....

Rails
powered by the GlassFish Application Server explains all the
benefits of using GlassFish for developing and deploying your Rails
applications. If you are using NetBeans
6.1 builds then you can deploy your Rails application
directly on GlassFish
v3 from within NetBeans
IDE. No longer you need
to have different development and deployment options.
This blog explains how to install a bleeding...
Databases

TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality.
TOTD #98 showed how to create a simple Metro/JAX-WS...



