Tuesday, October 30, 2007

The big switch

A year ago, when I first started working on V in WebObjects, the WebObjects framework had just gone open source. There was a bunch of results from some talks at a WWDC, and an initial community had been founded. Now, I am finding that this community is starting to flourish, and now it provides some great resources.

One product of this community is a WebObjects plugin for the awesome Eclipse platform. Back then, it was early and buggy and just not right. Now, from what I had been reading, it actually works. A lot of WO things with XCode just never worked right. I thought it was me, and my setup, or the fact that I am using the free stuff. Apparently everyone has had to deal with the bugs of XCode. After this last issue with getting my old code running, I've had it! I'm making the switch!

The plugin is called WOLips and the site and community wiki can be found here:
http://wiki.objectstyle.org/confluence/display/WOL/Home

I installed the latest version of Eclipse w/ J2EE (3.3.0 Released under the name Europa). The WOLips installation tutorial says to first update to 3.3.1, then link to the latest (pre-release) builds. So I did that.

Next step was to make sure that I could do the single-directory deployment into Tomcat. Once again, community to the rescue. I used this tutorial to get the servlet up and running:
http://wiki.objectstyle.org/confluence/display/WONDER/Creating+a+wonder+app+to+deploy+as+a+servlet.

I tried it without the Wonder stuff (another OSS WO framework, to be implemented later) and it worked!

No comments: