Hi,

   I have a requirements below.

    A stand alone Java application running on Linux machine using mysql
databse to store/retrieve data.

    I need to build GUI to allow end user to fetch/update records from/to
mysql database and at the same time the stand alone Java application should
handle the *real time* requests from GUI to perform business logic.

   Question : What would be the best approach recommended here for a java
application to handle requests from GUI (ruby on rails app) ? Can websocket
be preferred? or any other alternatives?


Thanks,
Shailendra




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7041f2a7-0e63-420d-9c9e-c485a7069115%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Hassan Schroeder at May 4, 2014 at 4:04 pm

    On Sat, May 3, 2014 at 4:59 PM, Shailendra Jain wrote:

    A stand alone Java application running on Linux machine using mysql
    databse to store/retrieve data.

    I need to build GUI to allow end user to fetch/update records from/to
    mysql database and at the same time the stand alone Java application should
    handle the real time requests from GUI to perform business logic.

    Question : What would be the best approach recommended here for a java
    application to handle requests from GUI (ruby on rails app) ? Can websocket
    be preferred? or any other alternatives?
    ? Why do you want to separate "business logic" into a standalone
    application? Why not just put that in your Rails app and be done?

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBtc_UV0wXjyA20xpeM19aW0W%3DeWiKrXJZmBwHk5%2B%3Divg%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.
  • Shailendra J. at May 12, 2014 at 1:54 pm

    Hassan Schroeder wrote in post #1144920:
    On Sat, May 3, 2014 at 4:59 PM, Shailendra Jain
    wrote:
    A stand alone Java application running on Linux machine using mysql
    databse to store/retrieve data.

    I need to build GUI to allow end user to fetch/update records from/to
    mysql database and at the same time the stand alone Java application should
    handle the real time requests from GUI to perform business logic.

    Question : What would be the best approach recommended here for a java
    application to handle requests from GUI (ruby on rails app) ? Can websocket
    be preferred? or any other alternatives?
    ? Why do you want to separate "business logic" into a standalone
    application? Why not just put that in your Rails app and be done?

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    The business logic was included in Java application in the past and now
    it would be additional effort to implement the same in RUBY. The current
    requirement is to build GUI and have the Java application handle the
    requests from GUI. Can you please advise which approach would be better
    ?

    --
    Posted via http://www.ruby-forum.com/.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c7ac546d72af90301ce879bb1a7b7b0f%40ruby-forum.com.
    For more options, visit https://groups.google.com/d/optout.
  • Hassan Schroeder at May 12, 2014 at 4:43 pm

    On Mon, May 12, 2014 at 6:54 AM, Shailendra J. wrote:

    The business logic was included in Java application in the past and now
    it would be additional effort to implement the same in RUBY. The current
    requirement is to build GUI and have the Java application handle the
    requests from GUI. Can you please advise which approach would be better
    ?
    Not without a whole lot more information about this "Java application".
    You say it's "standalone" - what does that mean? How do you interact
    with it now? Does it have an API? An embedded http server?

    Is it embeddable in another app? If so, you might build a Rails app
    using JRuby that incorporates this for the business logic.

    Impossible to say without lots more background.

    --
    Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
    http://about.me/hassanschroeder
    twitter: @hassan

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCdBjRJYjnyUp5RFmSciVon9_MV7vknJj7%3D1YGO9-R9SA%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMay 4, '14 at 8:19a
activeMay 12, '14 at 4:43p
posts4
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase