Thursday December 12, 2002
Eclipse Plugins and Hibernate I found a new site with a list of Eclipse plugins tonight. I was hoping that the Ant View plugin could solve my Ant problems in Eclipse, but I can't seem to figure out what it does. I gave it the ol' 30 seconds of investigation - maybe I should read the documentation. The problem I'm having now is (after swapping Ant 1.4 jars for 1.5.1) is:
Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
Hmmm, works fine from Cygwin, and Eclipse (2.0.2) has tools.jar and rt.jar in the classpath. Must be time to download a nightly build.
There was a lot of talk today in the java.blogs community about Hibernate. I'm happy to see this as it feels like I just bought a new car and everyone is saying it's the best car on the road. I decided to use Hibernate based on Dave's implementation in Ag. It looked easy enough, so I figured - why not?! It turns out, at the same time, that the XDoclet folks were in the midst of creating a new hibernate module in CVS. In fact, I got the hibernate module from Joel Rosi-Schwartz (I'm assuming a hibernate developer) before it was even in the XDoclet source tree.
I got to be a guinea pig in making hibernate tags work with XDoclet. I have to say that with Dave's working example, I was able to markup a POJO with hibernate/xdoclet tags and generate my persistence layer in a matter of minutes. It just worked. Kinda like Tomcat IMHO. That's how software should be. Check out my security-example if you're interested in using Hibernate with XDoclet. The readme in the source will explain how to run initial generation and tests. Currently, it generates a Struts Validator Form and VO from an Entity bean (located at src/ejb/org/apache/template/User.java). Why? Because Struts Forms can only be generated from Entity Beans. This needs to change IMO. But at the same time, the EJB architecture is already in place, I just need to execute the ejb-related tasks, and I'm in business.
In other news, a couple of Struts related goodies:
- ONJava.com has an introduction to the Validator Framework by Chuck Cavanass, an Introduction to Eclipse and Creating Reports with FOP. I used FOP on a project last year around this time and it's super slick. It's basically using XSL to generate PDF and RTF from an XML file. I highly recommend using something like RTF2FO to generate an XSL Template from a Word document.
- Struts Kick Start is now shipping from Amazon. I'd buy all the Struts books just to say you have them. I've got three ;) Haven't read any. Damn, I wish I had the time! Reading Erik Hatcher's Java Development with Ant was one of the smartest things I did this year. Actually, the smartest thing I did was get my wife pregnant

- I downloaded TogetherSoft's Control Center to do some UML Modeling for the Struts Chapter, and found that they use Struts on their site. Nice...
Posted in Java at Dec 12 2002, 05:37:04 PM MST 13 Comments
Search This Site
Recent Entries
- Happy Birthday Mom!
- 2008 - A Year in Review
- Portland Tech Meetup Tomorrow Night
- My "almost slept in a snow cave" Adventure with Clint Foster
- My Christmas Travel Adventure
- AppFuse Light converted to Maven modules, upgraded to Tapestry 5 and Stripes 1.5
- Dojo/Comet support in Java Web Frameworks
- Abbie is a Blue Skier!
- How I recovered data from my failed Linux box
- Costa Rica was Awesome!
Posted by dsuspense on December 12, 2002 at 11:53 PM MST #
Posted by Matt Raible on December 13, 2002 at 02:49 AM MST #
Posted by dsuspense on December 13, 2002 at 03:08 AM MST #
Posted by Matt on December 13, 2002 at 04:43 AM MST #
Posted by Ryan Lowe on June 09, 2003 at 11:19 AM MDT #
Posted by fashionhause on June 21, 2007 at 11:46 PM MDT #
Posted by fashionhause on June 21, 2007 at 11:47 PM MDT #
Posted by runescape money on November 27, 2007 at 10:22 PM MST #
Swiss replica watches's price usually range from $500 to $1500
Mens japanese watches's price range between $180 to $300 depending on the functions they have. Ladies japanese watches usually sell for $100 to $200.
Take a look at our site http://www.newreplicawatches.com and you will be able to see that we carry all types of watches. very good quality and price is reasonable .
http://www.newreplicawatches.com tel:(646)502-8602 MSN: yaojian_ts@hotmail.com
Posted by newreplicawatches on August 28, 2008 at 11:50 PM MDT #
Posted by Replica watch on September 21, 2008 at 09:37 PM MDT #
Posted by Replica watch on September 21, 2008 at 09:43 PM MDT #
Posted by Replica watch on September 21, 2008 at 09:43 PM MDT #
Posted by wow gold on December 12, 2008 at 12:36 AM MST #