Technical Talks

Location: 
Date and time: 
Friday, April 16, 2010 - 13:45 - 15:25
 
  • scalaj: Idiomatic Scala Wrappers for Java Libraries
    Jorge Ortiz

    Among Scala's greatest strengths is its ability to make use of any Java library to write Scala programs. This makes it remarkably easy to quickly tackle real-world problems in Scala. However, Java libraries can't take advantage of some of the powerful features that Scala makes available to library-writers, features such as closures, for-comprehensions, implicit arguments, thunked argument, and co- and contra-variance. The scalaj project aims to provide idiomatic Scala wrappers for Java libraries. Wrappers exist for the Java Collections libraries, the Java Concurrent libraries, and Joda-Time, with more planned. The talk will cover the design and implementation of the above wrappers, as well as general aspects of library design in Scala.
     
  • ScalaModules - A Scala DSL to ease OSGi development
    Heiko Seeberger

    Scala and OSGi both aim at very important concerns in software development: Ease of use and reduced complexity. Scala operates at the programming language level, and OSGi at the higher level of a module system. Hence it is natural to combine those two to get the best out of both. And this is straightforward, because Scala compiles to "usual" Java bytecode and offers full interoperability with Java. OSGi is agnostic with regard to the programming language, because it works only with the compiled artifacts and the metadata in the bundle manifest. ScalaModules aims at Scala based OSGi development. The mission of ScalaModules is to employ the power of the Scala programming language to ease OSGi development.
    We will present the use case for the ScalaModules DSL as well as experiences from implementation which include making use of new features in Scala 2.8.

     
  • Using Scala in an Eclipse/OSGi environment
    Martin Gamwell Dawids, Michael Werner-Gram

    Maconomy develops a large ERP application running on a custom application server written in C and C++, some parts dating back 20 years. We are now doing a server platform upgrade to the JVM platform preserving the existing ERP application which is written in custom DSLs. The upgraded platform is based on OSGi and the main implementation language is Scala. As we are sharing a large Java code library with an existing Eclipse RCP client application, we are tied to the Eclipse IDE.
    This talk is an experience report on the challenges we are encountering as developers new to Scala and OSGi. We discuss the main obstacles, which all stem from the fact that Eclipse is still very Java-centric. For instance, PDE tools such as Automated Management of Dependencies is problematic for non-Java languages, and building OSGi bundles with Scala code using Eclipse PDE does not work out of the box. We present solutions for continuously building Scala OSGi bundles developed using the Eclipse IDE.

     

Due to space constraints, this session is limited to max 50-60 people.