This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: [The Java Posse] ActiveMQ rewrite using Scala 2.8

No replies
Kevin Wright 2
Joined: 2010-05-30,
User offline. Last seen 26 weeks 4 days ago.
(cross-posting to the scala mailing list)
and so it begins...

This is intriguing, to say the least; though it still seems to be *very* early days yet!  For anyone else who's interested, I was able to locate the source here:
http://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/
So far, it looks a great deal like the Java equivalent - I can definitely spot a few areas where a programmer with more experience in the language would have taken a different approach.  If nothing else, I think this is going to present a fantastic example of a design evolving towards more idiomatic Scala over time.
I heartily wish them the best possible luck in this endeavour.

On 2 April 2011 19:02, RogerV <rogerv@qwest.net> wrote:
Scala folks will no doubt be interested in this (see links below) -
Apache ActiveMQ message broker is undergoing a rewrite. Scala 2.8 is
being used and instead of Java-style threading the Scala Actor
library, and particularly the React semantics, is being employed.

This is a pretty serious software that is widely used. What will be
excellent is that now there will be a Scala version and a Java version
that can be compared against each other. It's open source so anyone
that wants to will be able to review the source code. Can't think of a
better vehicle for being able to explore in earnest the question of
are their positive gains in adopting Scala vs sticking with Java.

Does the nature of Scala at source code level entail better story for
comprehensibility, conciseness, ease of maintainability?

Is Scala Actor model more effective for dealing with concurrency in
software design and implementation?

Does the Actor model (especially React) enable better performance
giving rise to higher scalability, etc.?

There's plenty more involved, such as extensible plugin aspects of AMQ
- or embedded DSL languages such as Camel that is used for routing,
bridging, transformations...

Even the notion of the prior Java JMX rationale is being rethought due
to going with Scala.


The next generation of messaging broker from the Apache ActiveMQ team
is being worked on, and they are about to reach a Beta 1 stage.

http://activemq.apache.org/apollo/versions/1.0-beta1/website/index.html

Architecture
http://activemq.apache.org/apollo/versions/1.0-beta1/website/documentation/architecture.html

--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 2Bunsubscribe [at] googlegroups [dot] com" rel="nofollow">javaposse+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.




--
Kevin Wright

gtalk / msn : kev.lee.wright@gmail.comkev.lee.wright@gmail.commail: kevin.wright@scalatechnology.com
vibe / skype: kev.lee.wrightquora: http://www.quora.com/Kevin-Wright
twitter: @thecoda

"My point today is that, if we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent": the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger" ~ Dijkstra

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland