Re: wicket and hibernate

2008-10-02 Thread Flavius
You said you were using annotations. Just read chapter 1 of the hibernate annotations docs http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#setup-configuration create a class called HibernateUtil.class (or you can call it Fluffy.class, but that's not as descriptive) and

Re: wicket and hibernate

2008-10-01 Thread overseastars
Hi Flavius Very impressive. Many thanks. I learnt a lot. But I still have a question. For example, I know I should use Dao to access the persistence layer. Let's say I have 2 entities which means two classes in java. I put them in the source folder. Once I start the server, I guess they wont help

Re: wicket and hibernate

2008-10-01 Thread Flavius
Here's how I do it. I have my wicket layer call a service layer, which calls a DAO. I'm not a big fan of a lot of layers and I like to keep my projects flat. So, if you want a list of users on a page, for example, you can use any of the canned wicket tables. Those are pretty nice. I use Defaul

Re: wicket and hibernate

2008-10-01 Thread Piller Sébastien
Hi, Have a look at http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite overseastars a écrit : Hi I just wanna know how to integrate wicket and hibernate?? can someone give me a simple example even just one entity is ok. I have my entities(hibernate annotation) ready and