3. Yours Truly
• Senior SW Engineer at Red Hat
• Core developer on TorqueBox &
Immutant
• Member of Project:Odd
• @tcrawley
4. Agenda
• intro
• JBoss AS
• JRuby & TorqueBox
• Clojure & Immutant
• crap, a demo
• outro
5.
6. JBoss AS 7
• Low memory footprint
• Modularized class loader isolation
• Fast startup time
• Performant
• EE6
7. “Java is a DSL for taking
large XML files and
converting them to stack
traces”
Scott Bellware
8. Goal
Leverage the AS as a platform to reduce some of
the accidental complexity of your deployment
environment and allow you to use
the best tool for the job.
13. Set<Person> people = new HashSet<Person>();
for ( Team each : teams ) {
people.addAll( each.getMembers() );
}
for ( Person each : people ) {
each.promote();
}
34. Things I Skipped
• Built-in WebSockets
• Simple clustering
• Key/Value store via Infinispan
(Caching)
35.
36. Clojure
• Modern Lisp for the JVM
• Functional
• Immutable data
• Concise syntax
• Nice Java integration
37. Set<Person> people = new HashSet<Person>();
for ( Team each : teams ) {
people.addAll( each.getMembers() );
}
for ( Person each : people ) {
each.promote();
}
distill\nnot for the boss, but for your own happiness\n
distill further\n
\n
\n
a comparison\n
\n
\n
\n
\n
1) teaches the AS how to deploy ruby apps\n2) exposes AS functionality via ruby interfaces\nstill run java (multiple apps)\n
"skimming the surface"\n"in the room"\n
\n
\n
\n
\n
First look at torquebox.rb\n
\n
Mention Futures\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
first class\ndefined a symbol pointing to the mapcat function\n
\n
\n
1) teaches the AS how to deploy clojure apps\n2) exposes AS functionality via clojure interfaces\njava too!\n
mention no war\n
\n
\n
\n
\n
\n
\n
WIP\navout\n
Each are just modules added to the AS, so we can overlay\n
wish me luck! (shout?)\nCMD-TAB\n
\n
focus on solving the problem, not the platform\n
\n
\n
\n
\n
\n
try it out, find bugs\n
try it out, find bugs\n
we've talked about TB & I, and how they work\nand how they can be used together to build polyglot apps\nHopefully compelling\nif you try it, maybe we can make you happy\n\n
torquebox docs\nsausage, help\n(services story if there is time)\n