Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM level language - OSGi + Clojure?

 
Sujoy Choudhury
Ranch Hand
Posts: 136
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kirk,

Do you think we can work on implementing OSGi bundles using any JVM level language?
In your book you discussed about Scala/Groovy, so what about Clojure?
Any thoughts?

Your book looks very suitable as I am reading the "OSGi in Depth" now.
 
Kirk Knoernschild
author
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Absolutely. Language interop between various JVM languages is pretty high. I demonstrate in Part 3 of the book how easy it is to swap out different bundles developed using different languages (i.e., Groovy and Scala). The same could be done with Clojure. Of course, there are other ways to do, depending on need. For instance, you could put Clojure and Java code in the same module if you wanted.

Visit the book's website at modularity.kirkk.com where you can review all 18 patterns and download an excerpt of the book. There is also a mobile web application available that you can take with you wherever you go.

--kirk

 
Arturo Tena
Greenhorn
Posts: 6
Eclipse IDE Java Mac
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kirk Knoernschild wrote:For instance, you could put Clojure and Java code in the same module if you wanted.


<off-topic>My dream is to put code from different languages in the same method. SQL mixed with Java, Scala and a little of JavaScript and XML. And "javap -c" disassembled bytecode. THAT would rock. </off-topic>
 
Sujoy Choudhury
Ranch Hand
Posts: 136
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's build such a project under Apache License...what say??

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic