The Artima Developer Community
Sponsored Link

Java Buzz Forum
a use-case for Ruby in our J2EE app

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
a use-case for Ruby in our J2EE app Posted: Jul 18, 2006 2:30 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: a use-case for Ruby in our J2EE app
Feed Title: Logemann Blog
Feed URL: http://www.logemann.org/blojsom/blog/default/?flavor=rss2
Feed Description: Marc's thoughts on Java and more
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Logemann Blog

Advertisement

Lately i was thinking about having more dynamic interfaces to customer databases than currently. Our software has two important customer interfaces during the business process lifecycle, it gets order data from the customer database and write informations about parcel distribution back to the customers database.

Right now the customer has to implement an java interface and can then plug in the class to our system. Pretty normal approach to that kind of thing. But lately there were changes in the customers db structure so that we had to modify the implementations of the interfaces and ship them to the customer again. Of course thats nothing particular difficult but i thought about having a more dynamic approach to this problem.

How about using Ruby (in combination with JRuby of course) to call the customer db interfaces. This way the code (mainly SQL statements) could be changed on the fly (perhaps even by the customer) without all that recompile+redeploy issues. If i get it right it should be even possible to use java objects like DataSources in the ruby code thus having the same db access semantics as in java. With the help of BSF/JSR223 the embedding should be also no pain. Of course i could use other scripting engines like Groovy or Jython but Ruby is en vogue right? ;-)

Read: a use-case for Ruby in our J2EE app

Topic: [Jul 12, 2006 05:00 PDT] 12 Links Previous Topic   Next Topic Topic: Intel game to promote AMT Technology

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use