clojure development with jboss · agenda here is what i would like for you to leave understanding:...

18

Upload: tranduong

Post on 31-Jul-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Clojure Development with JBoss

Joel Tosi

Solutions Architect, JBoss

May 2, 2011

Agenda

Here is what I would like for you to leave understanding:

Overview of Clojure

Interoperability with Java

Leveraging and deploying in JBoss

Clojure is more than...

Well... What Should I Use?

Overview

Overview - Functions

Overview - Exceptions

In REPL

Overview - Exceptions

Overview - Agents

Interop – Java in Clojure

Interop – Clojure in Java

Use gen-class – then no differencehttp://blog.objectmentor.com/articles/2009/08/07/java-calling-clojure

To the Code!

Simple Functions

Build quote assimilation (w/ agent)

Integrate code w/ Java

Build & Deploy to JBoss

Code Break

And we’re back

Getting Started

Get your IDE setup (JBDS, IntelliJ, NetBeans, Emacs)...

Watch some Clojure videos

Play around in a REPL, get used to functional programming

Learn the testing framework

Build up a concurrency app (leveraging web calls is easiest)

Integrate ... Grow

Recap

Thanks! Any Questions?

Download Clojure - http://clojure.org/

Clojure Test - http://richhickey.github.com/clojure/clojure.test-api.html

CounterClockwise (JBDS, Eclipse) - http://code.google.com/p/counterclockwise/

Download Jline - http://jline.sourceforge.net/

Blip TV - http://blip.tv/file/982823 (start videos here)

[email protected]

@joeltosi