# ROR based web application over existing Java application

**URL:** <https://www.ruby-forum.com/t/ror-based-web-application-over-existing-java-application/168985>\
**Category:** Rails\
**Created:** [May 28, 2009, 4:53am UTC](https://www.ruby-forum.com/t/ror-based-web-application-over-existing-java-application/168985 "2009-05-28T04:53:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ritvvij](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bbce88/32.png) [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Post date:** [May 28, 2009, 4:53am UTC](https://www.ruby-forum.com/t/ror-based-web-application-over-existing-java-application/168985/1 "2009-05-28T04:53:09Z")

</div>

Hello everyone,

We have an existing application in core java. We want to know extend  
the application to be accessible over the Internet. We were thinking  
of using Ruby on Rails to develop the front end for the application.  
The Java Server and Ruby on Rails application will communicate via  
java APIs which transfer the object in format of Xmls.

How is the application structure?  
Ruby on Rails based application \> Java server \> Database

Questions:

1. Is it good to redevelop the whole application into ROR from  
scratch? or the approach suggested above is worth while using?
2. Any performance concerns?

Please advise

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Ritvvij](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bbce88/32.png) [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Post date:** [May 28, 2009, 9:56am UTC](https://www.ruby-forum.com/t/ror-based-web-application-over-existing-java-application/168985/2 "2009-05-28T09:56:59Z")

</div>

JRuby allows access to your Java methods and runs in the same JVM.  
Have a look at it and run your RoR application using JRuby. No need  
for IPC / XML.

[http://wiki.jruby.org/wiki/Calling\_Java\_from\_JRuby](http://wiki.jruby.org/wiki/Calling_Java_from_JRuby)

---

<div class="post-metadata">

**Author:** ![Ritvvij](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bbce88/32.png) [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Post date:** [May 28, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/ror-based-web-application-over-existing-java-application/168985/3 "2009-05-28T13:47:58Z")

</div>

Have to second that with JRuby. Get the picture now how Struts is for  
people who don;t know Rails? JRuby, imho antiquates J2EE technologies.

Keep your business objects as Java POJOs. Do your web development in  
Ruby, deploy using JRuby. Voila! -Janna B
