This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes  JVM level language - OSGi + Clojure? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark " JVM level language - OSGi + Clojure? " Watch " JVM level language - OSGi + Clojure? " New topic
Author

JVM level language - OSGi + Clojure?

Sujoy Choudhury
Ranch Hand

Joined: Sep 17, 2008
Posts: 136

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.


Thanks and Regards,
~Sujoy
Kirk Knoernschild
author
Ranch Hand

Joined: Apr 16, 2012
Posts: 41
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

Joined: Mar 16, 2012
Posts: 6

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

Joined: Sep 17, 2008
Posts: 136

Let's build such a project under Apache License...what say??

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM level language - OSGi + Clojure?