On Jul 29, 2005, at 9:33 PM, Eelco Hillenius wrote:

For the record... you're talking about Hibernate 3 & annotations right? I think annotations & Hibernate (or EJB 3 for that matter) rock. Quick setting up. Easy refactoring.

Yeah that stuff rocks. For people who have no idea what this means:

 @Entity
 class Cat implements Serializable
 {
  private int mId;
  private String mName;

  public Cat() {}

  @Id
  public int getId() { return mId; }
  public void setId(int id) { mId = id; }

  public String getName() { return mName; }
  public void setName(String name) { mName = name; }
 }

Your object is now persistent. No more xml config files. Just two annotations (@Entity and @Id)

I really like this stuff because, just like Rails, it makes the right kind of assumptions about table and field names. Saves a lot of work.

 S.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to