Skip to main content

Emmanuel Hugonnet's Library tagged scala   View Popular

01 Dec 08

4 steps to add Scala to your Maven Java projects | StuQ.nl

In this tutorial you learn how to integrate Scala in your existing Maven Java projects. From configuring the project’s pom file to adding your first Scala code. Tip: Try to hide this inside a large code commit, and your co-workers will not notice you have added Scala support.. surprise!

stuq.nl/...la-to-your-maven-java-projects - Preview

scala maven tips

17 Sep 08

Scala Tutorial Schedule

Functional Programming course at the San Jose State University

horstmann.com/...schedule.html - Preview

scala tutorial reference

08 Sep 08

The busy Java developer's guide to Scala: Building a calculator, Part 1

Domain-specific languages have become a hot topic; much of the buzz around functional languages is their applicability to build such languages. In this, the eighth article in The busy Java™ developer's guide to Scala, Ted Neward starts building a simple calculator DSL that demonstrates the power of functional languages for building "external" DSLs. Toward that end, he explores a new feature of Scala, case classes, and revisits an old functional friend, pattern matching.

www.ibm.com/...j-scala08268.html - Preview

scala introduction tutorial

18 Aug 08

The Seductions of Scala, Part III - Concurrent Programming

This is my third and last blog entry on The Seductions of Scala, where we’ll look at concurrency using Actors and draw some final conclusions.

blog.objectmentor.com/...art-iii-concurrent-programming - Preview

scala introduction

The Seductions of Scala, Part II - Functional Programming

In my last blog post, I discussed Scala’s support for OOP and general improvements compared to Java. In this post, which I’m posting from Agile 2008, I discuss Scala’s support for functional programming (FP) and why it should be of interest to OO developers.

blog.objectmentor.com/...part-ii-functional-programming - Preview

scala introduction

The Seductions of Scala, Part I

Because of all the recent hoo-ha about functional programming (e.g., as a “cure” for the multicore problem), I decided to cast aside my dysfunctional ways and learn one of the FP languages. The question was, which one?

My distinguished colleague, Michael Feathers, has been on a Haskell binge of late. Haskell is a pure functional language and is probably most interesting as the “flagship language” for academic exploration, rather than production use. (That was not meant as flame bait…) It’s hard to underestimate the influence Haskell has had on language design, including Java generics, .NET LINQ and F#, etc.

However, I decided to learn Scala first, because it is a JVM language that combines object-oriented and functional programming in one language. At ~13 years of age, Java is a bit dated. Scala has the potential of replacing Java as the principle language of the JVM, an extraordinary piece of engineering that is arguably now more valuable than the language itself. (Note: there is also a .NET version of Scala under development.)

Here are some of my observations, divided over three blog posts.

blog.objectmentor.com/...the-seductions-of-scala-part-i - Preview

scala introduction

14 Aug 08

Scala Actors 101 - Threadless and Scalable | Javalobby

Application performance is no longer a free lunch, and with current hardware trends of cores-for-the-chores, the search is on for the programming model that will make your application scale out over all the processing units that you have. Java 5 and Java 6 have given us the goodness of java.util.concurrent, and if all things go well, we will have Fork/Join (FJ) as part of Java 7. All of these are layers of abstraction built on top of the native threading model that makes programming with threads easier for the masses.

java.dzone.com/...scala-threadless-concurrent - Preview

scala concurrency introduction

04 Aug 08

Run/Debug Lift Web App Using Scala/Maven Plugin for NetBeans : Caoyuan's Blog

Run/Debug Lift Web App Using Scala/Maven Plugin for NetBeans
I'm a newbie to Maven, so I encountered some issues when run/debug Lift apps. The following are tips that I got, it may not be perfect, but at least work.

blogtrader.net/...run_debug_lift_web_app - Preview

scala maven netbeans

The busy Java developer's guide to Scala: Packages and access modifiers

Code has to be referenced and packaged in the real world, and in this, the seventh article in The busy Java developer's guide to Scala series, Ted Neward corrects an egregious oversight by covering Scala's package and access modifier facilities. Then, he continues the exploration of the functional side of Scala, this time having a quick look at the "apply" mechanism.

www.ibm.com/...j-scala07298.html - Preview

scala tutorial reference

09 Jul 08

Maven Mini Guide - Lift

Maven is the default tool use to create, build, test and manage lift based webapp.

liftweb.net/...Maven_Mini_Guide - Preview

maven scala introduction

Scala Blog: maven for scala


Maven is a builder like make or ant, written in java. It's a commande line tool, IDE (Eclipse, Netbeans, IDEA) have plugins to handle and integrate project powered by maven. It could be used to create lib (jar), webapps (ear) and any other type of "artifact". It prefers convention over configuration, and configuration over instruction. What that mean exactly ?

* every action have a default configuration (= the convention).
* every action is a goal defined into a plugin (aka mojo), and for common case, you will try to use existing plugin instead of calling (more) low level instruction (like copy file,...)

scala-blogs.org/...maven-for-scala.html - Preview

scala maven introduction

04 Jul 08

The busy Java developer's guide to Scala: Collection types

Objects have their place in Scala, but so do functional types such as tuples, arrays, and lists. In this installment of Ted Neward's popular series, you'll begin to explore the functional side of Scala, starting with its support for types common to functional languages.

www.ibm.com/...j-scala06278.html - Preview

scala tutorial reference

23 Jun 08

Erlang-style Supervisor Module for Scala Actors

In this post I will explain how you can build fault-tolerant systems using Scala Actors by arranging them in Supervisor hierarchies using a library for Scala Supervisors that I just released.

jonasboner.com/...rvisor-module-for-scala-actors - Preview

scala tools tips

30 May 08

SourceForge.net: ErlyBird

Most Web frameworks try to be as flexible and extensible as possible to accommodate different application needs and development styles. Unfortunately, sometimes this leads to complexity, processing overheads, and large configuration files. This article shows how to use JSP Standard Tag Library (JSTL) and JSP tag files to implement data binding, page navigation, and style conventions, which make both development and maintenance easier. You will learn how to build custom JSP tags with dynamic attributes to facilitate rapid application changes. In addition, the last section of the article contains an example that uses Ajax to submit a Web form

sourceforge.net/erlybird - Preview

scala netbeans tools

Scala for Java Refugees Part 5: Traits and Types

One of the mantras repeated throughout this series has been that Scala is Java, just better. Thus it stands to reason that Scala would at a minimum support all of the features and power that Java offers. So far you’ve seen things like object-oriented constructs, the power of methods and even dabbled a bit with pattern matching. Through all this, I’ve deliberately avoided a particularly obvious Java construct: interfaces.

www.codecommit.com/...scala-for-java-refugees-part-5 - Preview

scala tutorial

The busy Java developer's guide to Scala: Implementation inheritance

Scala gives you just as much support for implementation inheritance as the Java™ language does — but Scala's inheritance yields a few surprises. This month, Ted Neward introduces you to polymorphism done the Scala way, blending functional and object-oriented language styles while still mapping perfectly to the Java platform's inheritance model.

www.ibm.com/...j-scala05298.html - Preview

scala tutorial

The busy Java developer's guide to Scala: Of traits and behaviors

Scala doesn't just bring functional concepts to the JVM, it offers us a modern perspective on object-oriented language design. In this month's installment of The busy Java developer's guide to Scala, Ted Neward shows you how Scala exploits traits to make objects simpler and easier to build. As you'll learn, traits are both similar to and different from the traditional polarities offered by Java™ interfaces and C++ multiple inheritance.

www.ibm.com/...j-scala04298.html - Preview

scala tutorial introduction

28 May 08

InfoQ: JavaOne: Cliff Click on a Scalable Non-Blocking Coding Style

Dr Cliff Click, a distinguished engineer at Azul Systems, gave a talk (slides here) at this year’s JavaOne describing a set of techniques that have allowed him to get quite some way towards a scalable, non-blocking coding style in Java. In very broad terms his approach implements a non-blocking algorithm such that stopping one particular thread does not stop global progress.

www.infoq.com/...click_non_blocking - Preview

scala web framework introduction

25 Mar 08

Software Secret Weapons: Scala to Java Cheat Sheet

Scala is Java, but there are syntactic differences... Here is my quick Scala to Java cheat sheet to help me remember Scala and how it relates to Java. There are more cheat sheets in the Sundararajan's Weblog.

www.softwaresecretweapons.com/...scala-to-java-cheat-sheet - Preview

scala reference

Software Secret Weapons: Run Scala in Apache Tomcat in 10 minutes

There are not enough examples out there today on interoperability with Java and we need more good examples. So I decided to write some classical Java code using Scala.

www.softwaresecretweapons.com/...in-apache-tomcat-in-10-minutes - Preview

tomcat scala introduction

1 - 20 of 25 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo