summaryrefslogtreecommitdiff
path: root/_posts/2011-10-20-going-for-jruby.markdown
diff options
context:
space:
mode:
authorJosé Mota <josemota.net@gmail.com>2012-04-07 14:57:17 +0100
committerJosé Mota <josemota.net@gmail.com>2012-04-07 14:57:21 +0100
commitf19acf7cb354ca8a7e3d8095cae26914f12e5f58 (patch)
tree6590e1d4462372d69f753f2f9b0019fd3d811ca4 /_posts/2011-10-20-going-for-jruby.markdown
parent2101a89a4636ee034c09bea0b01904abd6485b1b (diff)
Convert JRuby post to markdown.
Diffstat (limited to '_posts/2011-10-20-going-for-jruby.markdown')
-rw-r--r--_posts/2011-10-20-going-for-jruby.markdown49
1 files changed, 49 insertions, 0 deletions
diff --git a/_posts/2011-10-20-going-for-jruby.markdown b/_posts/2011-10-20-going-for-jruby.markdown
new file mode 100644
index 0000000..51b1589
--- /dev/null
+++ b/_posts/2011-10-20-going-for-jruby.markdown
@@ -0,0 +1,49 @@
+---
+layout: post
+title: Going for JRuby
+tags: [ development, ruby ]
+published: true
+---
+
+The company I work for uses Java for all of its projects. Based on that, I have
+been considering looking into JRuby and giving it a try. Every piece of advice
+is greatly appreciated.
+
+Context
+-------
+
+I play the Interaction Designer role and digging deeper to Struts and Java
+servlets, more than just HTML/CSS/jQuery, is becoming quite the challenge. I
+happen to love Rails and would love to try it out. My main goals are:
+
+* Take advantage of Rails' controllers, routes and views;
+* Use Haml with Markdown and Sass with Compass;
+* Take advantage of REST.
+* Finally use Rspec and inject some proper testing and specification practices.
+
+All of this while the rest of the team can still code the models (aka the
+business logic) the way they prefer. I think it's a good cause and it's a great
+opportunity to improve development happiness and systems integration.
+
+The challenge
+-------------
+
+Here is a list of the things I know:
+
+* I can use [RVM](http://rvm.beginrescueend.com) to quickly install
+ and use JRuby.
+* Gems with C extensions are a bit difficult to use inside the JVM.
+* There are alternative gems to the ones above.
+
+I also need to get in touch with these concepts:
+
+* Web application development in Java: .jar's, war's, etc.
+* [Tomcat](http://tomcat.apache.org) or [Glassfish](http://glassfish.java.net)
+ as servers.
+* Importing Java code into a Rails or Sinatra app.
+* (optional) Using Ruby code from Java.
+
+I guess the main question would be: _Where do I start?_ What am I
+supposed to know to begin developing some sort of Rails app, using it under
+Tomcat or Glassfish and reusing Java code from the rest of the team? Thanks for
+helping me, guys!