I'll be committing a new version of CDApp shortly using rewritten
databinding and Hibernate3 integration. If you're not into the whole
CVS thing, I can post a WAR somewhere so that you can get a feel for
it.

On 7/29/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>  
> Paul, 
> Im not aware of any official docs yet. I am currently using wicket as a
> presentation tier for ejb3 project, and its pretty easy to integrate. 
>   
> IMHO there are two main areas that need integration: application object, and
> detachable models for entities. 
>   
> In the constructor's application object i get all needed service bean
> references or locators and set them as member variables. So now anywhere in
> your wicket components you can do
> ((MyApplicationClass)getApplication()).getService().doSomething();
> and your getService() can be implemented either as getService() { return
> service; } or getService() { return serviceLocator.locate(); } you can
> implement helper funcs in your page subclass to eliminate casting. 
>   
> As far as detachable models go in the onAttach() you can do pretty much the
> same thing: 
>   
> public void onAttach() { 
>    
> obj=((MyApplicationClass)RequestCycle.get().getApplication()).getService().load(....);
> } 
>   
>   
> Igor 
>   
>   
>   
>   
>  
>  
>  
>  ________________________________
>  From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Friday, July 29, 2005 8:52 AM
> To: [email protected]
> Subject: [Wicket-user] Hibernate/EJB3.0
> 
>  
>  
>  
> 
> Greetings, 
> 
>   
> 
> I'm evaluating several web frameworks including Wicket for an internal
> project and I was wondering if there was some documentation on Hibernate or
> EJB3.0 somewhere that I am missing. I found the wicket-contrib package at
> http://wicket-stuff.sourceforge.net/ as well as the
> HibernateObjectModel object in there. I also saw a quick run down on Phil's
> weblog: http://jroller.com/page/pKulak/ that seems like a good start but I'm
> failing to see how it all fits together. Is there an example application
> (PetStore-ish?) that uses EJB3 or Hibernate available to look at? 
> 
>   
> 
> Overall I really like the direction of this project. Keep up the good work. 
> 
>   
> 
> -Paul


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to