Scala Development Setup

June 22, 2013

I had this idea for doing a Scala project integrating WebSockets with Kafka, so I spent a good bit of today trying out different configurations for doing Scala development. My first pass was to try IntellijIDEA from JetBrains. I really liked their RubyMine IDE for Ruby, and people were raving about IDEA for Scala development, so I gave it a go.

It's actually not a bad IDE. I had some trouble navigating, but most of that was because I was so used to Eclipse. However, the big thing that was lacking was good sbt support. Whatever project I was going

Continue...

Creating RESTEasy Project with Eclipse and Maven

May 20, 2013

Handy safety tip: to create a RESTEasy-friendly Maven project in Eclipse, do the following:

  1. Create the project as a simple Maven project
  2. In the project Properties -> Project Facets, make the project faceted, and select "Dynamic Web Module" (you may get a NullPointerException, but it doesn't seem to matter). Under "Further Configuration...", point the WebApp directory to be src/main/webapp, and have it create the web.xml file.
  3. Under "Web Content Settings", set the Context root
  4. Under "Deployment Assembly", select "Add...", select "Java Build Path Entries"

Continue...