Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Ruby with J2EE

Thread view: 
Roberto Nicastro - 23 May 2007 20:47 GMT
Hello All
i'm wondering about the profitable use of Ruby in the development of
J2EE applications. Do you know if there is a way to integrate Ruby
with AJAX, Struts, Spring, EJB and Hibernate?
I don't know Ruby, I read somewhere that Ruby can be a substitute of
AJAX or almost Javascript...but i'm not sure.. and peraphs this is a
limited way to use Ruby....
Thanks in advance

Roberto
printdude1968@gmail.com - 23 May 2007 21:22 GMT
> Hello All
> i'm wondering about the profitable use of Ruby in the development of
[quoted text clipped - 6 lines]
>
> Roberto

GIYF

http://swik.net/Rails+Struts
Arne Vajhøj - 24 May 2007 02:00 GMT
> i'm wondering about the profitable use of Ruby in the development of
> J2EE applications. Do you know if there is a way to integrate Ruby
> with AJAX, Struts, Spring, EJB and Hibernate?
> I don't know Ruby, I read somewhere that Ruby can be a substitute of
> AJAX or almost Javascript...but i'm not sure.. and peraphs this is a
> limited way to use Ruby....

Check http://www.headius.com/jrubywiki/index.php/Rails_Integration

Arne
alexandre_paterson@yahoo.fr - 24 May 2007 13:25 GMT
> Hello All
> i'm wondering about the profitable use of Ruby in the development of
> J2EE applications.

It all depends on what you favor as development methodologies
and programming practices.

At the programming level, for some people dynamic typing is
important while for others dynamic typing is big no-no (and
hence Ruby / JRuby is a big no-no).

I simply love the productivity gain that I get thanks to
my beloved Java IDE and I know that I'd waste lots of time
tracing down errors that my IDE wouldn't catch if I wasn't
using a language offering the same typing properties as
Java does.

Some feel more productive using Ruby and consider Java
to be an ugly piece of crap while some others consider
that for big projects Java is way more manageable than
Ruby.

YMMV.

Last time I checked that said, say, GMail, Walmart and
eBay were running on Java, not on Ruby.

The fact that Ruby is slow and that it knows nothing
about Unicode may have something to do with the fact
that it is not often choosed for serious applications ;)

So it may comes down to: for small to medium english-only
websites Ruby may be more productive while for real-world
projects (or even small projects needing to manipulate lots
of Unicode strings) Java may be more suitable.

Don't forget that a company will supposedly have more
programmers that know Java than Ruby.

> Do you know if there is a way to integrate Ruby
> with AJAX, Struts, Spring, EJB and Hibernate?
> I don't know Ruby, I read somewhere that Ruby can be a substitute of
> AJAX or almost Javascript...but i'm not sure..

AJAX is asynchronous JavaScript on the client side.
JavaScript is a general purpose language but it is mostly
used as a client-side language, living in a sandbox in the
user's browser.

Here you're talking about using Ruby (on Rails) or
JRuby / Rails as a server-side technology.

It's comparing apples to oranges.

Just as you can serve AJAX apps to a user's browser
from a Java-backed webserver you can serve AJAX apps
to a user's browser from a Ruby (or JRuby) backed
webserver.

Now which one is easier is an open discussion (I'm
personally using Java / GWT which saves me from
writing JavaScript :)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.