01 Nisan 2007

Building a dev environment with Eclipse and jboss

I am trying to figure out how struts 2 (http://struts.apache.org) can help easing web development. It took my two days (two f days!!) to build an environment to come up with a Hello World :) I got stuck with a stupid mistake I have made and found the solution on a blog post. So I have decided to post my experience here maybe it will help someone else...

Anyways first thing to do was to setup eclipse working with an application server to easy deploy and debug. I am using jboss 4.0.5 and eclipse 3.2.2. First thing comes to mind is sure to have JBoss IDE for Eclipse. (http://labs.jboss.com/portal/jbosside/download/index.html) And here comes the first problem. Last stable version of JBossIDE is not working with Eclipse 3.2 or later. There is a nice arguing going on at jboss forums between ide developers and angry users. You have to use JBoss IDE 2.0.0Beta with Eclipse 3.2 And with Eclipse 3.2 I faced with a bug at packaging so I upgraded Eclipse to 3.2.2

BTW for those who want to make a clean jboss installation, do not download the jbossx.x.x.zip file if you don't want to make configurations manually (which might be quite messy) rather use jems-installer jar. Makes life much easier.

Struts stories later...

Hiç yorum yok: