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 by dsuspense on December 13, 2002 at 06:53 AM MST #
Posted by Matt Raible on December 13, 2002 at 09:49 AM MST #
Posted by dsuspense on December 13, 2002 at 10:08 AM MST #
Posted by Matt on December 13, 2002 at 11:43 AM MST #
Posted by Ryan Lowe on June 09, 2003 at 05:19 PM MDT #
Posted by fashionhause on June 22, 2007 at 05:46 AM MDT #
Posted by fashionhause on June 22, 2007 at 05:47 AM MDT #
Posted by runescape money on November 28, 2007 at 05:22 AM 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: [email protected]
Posted by newreplicawatches on August 29, 2008 at 05:50 AM MDT #
Posted by Replica watch on September 22, 2008 at 03:37 AM MDT #
Posted by Replica watch on September 22, 2008 at 03:43 AM MDT #
Posted by Replica watch on September 22, 2008 at 03:43 AM MDT #
Posted by wow gold on December 12, 2008 at 07:36 AM MST #
Posted by wow gold on January 22, 2009 at 06:59 AM MST #
Posted by wow gold on February 28, 2009 at 06:11 AM MST #
Posted by wow gold on March 21, 2009 at 07:57 AM MDT #
Posted by ASD on April 03, 2009 at 12:54 AM MDT #
Posted by ASD on April 03, 2009 at 12:56 AM MDT #
Posted by wow gold on April 20, 2009 at 01:52 AM MDT #
Posted by wow gold on April 20, 2009 at 01:57 AM MDT #
Posted by alpha on April 27, 2009 at 03:11 AM MDT #
Posted by alpha on April 27, 2009 at 03:11 AM MDT #