Re: how to integrate struts project with hibernate?

2005-02-17 Thread Bill Schneider
IMO, it is not wise to have your DAO return a list of LabelValueBean objects. I would be more likely to use a Map or a simple bean to do that instead of marrying your DAO layer to Struts. Struts' html:optionsCollection tag can introspect the label and value from the bean properties of your

RE: how to integrate struts project with hibernate?

2005-02-16 Thread Carl Smith
We are using struts framework in our J2EE web application. In struts there is a LabelValueBean class, is it a good practice to use LabelValueBean in our application? For example, DAO returns a list of LabelValueBean for html drop down? There was an argument saying that it is not good to use

Re: how to integrate struts project with hibernate?

2005-02-16 Thread Larry Meadors
IMO, it is not wise to have your DAO return a list of LabelValueBean objects. I would be more likely to use a Map or a simple bean to do that instead of marrying your DAO layer to Struts. Larry On Wed, 16 Feb 2005 13:17:12 -0800 (PST), Carl Smith [EMAIL PROTECTED] wrote: We are using struts

Re: how to integrate struts project with hibernate?

2005-02-16 Thread Eric Lemle
I would say,... the LabelValueBean is just a data structure that could be in java.util, so you could just put that class in your ejb layer if you want. Marrying is relative, aren't we all married to java.util anyway. If you always have web clients it will be helpful and if not I don't think it

Re: how to integrate struts project with hibernate?

2005-02-16 Thread Larry Meadors
Not wrong, just a bit contradictory. ;-) LabelValueBean is just a data structure I agree that LabelValueBean is a simple little data structure. Marrying is relative, aren't we all married to java.util anyway. Major difference - java.util is core Java, Struts is not. If you always have web

Re: how to integrate struts project with hibernate?

2005-01-28 Thread Metin Erksan
hi duncan i found an example application petclinic in otn.oracle.com accourding to example it has three types hibernate jdbc and third one i dont remember document tells example according to toplink.i have a struts-based project if you help me to integrate a simple hibernate sample it will be

Re: how to integrate struts project with hibernate?

2005-01-28 Thread Metin Erksan
hi http://www.oracle.com/technology/products/ias/toplink/preview/spring/doc/TopLinkPetClinic.html i mentioned above example. yours sincerely Duncan Mills [EMAIL PROTECTED] wrote: Metin, I know someone who has integrated Hibernate with the ADFm DataBinding layer in JDeveloper. So you can use

Re: how to integrate struts project with hibernate?

2005-01-28 Thread Metin Erksan
hi thank you for tutorial.but i could not get myeclipse plugin.does it have a price ? i considered it is an opensource tool. sincerely Sebastian Hennebrueder [EMAIL PROTECTED] wrote: Sorry, I wanted to write cache implementation or better cache usage. ;-) Regards Sebastian Hennebrueder

RE: how to integrate struts project with hibernate?

2005-01-28 Thread Marco Mistroni
to integrate struts project with hibernate? hi http://www.oracle.com/technology/products/ias/toplink/preview/spring/doc /TopLinkPetClinic.html i mentioned above example. yours sincerely Duncan Mills [EMAIL PROTECTED] wrote: Metin, I know someone who has integrated Hibernate with the ADFm

Re: how to integrate struts project with hibernate?

2005-01-27 Thread Duncan Mills
Metin, I know someone who has integrated Hibernate with the ADFm DataBinding layer in JDeveloper. So you can use Drag and drop databinding onto Pages and Struts Actions, in the same way you can bind to EJB, TopLink, ADF Business Components or WebServices. If you're interested I'll send you

Re: how to integrate struts project with hibernate?

2005-01-26 Thread Sebastian Hennebrueder
We have a basic tutorial showing a possible way of combining Struts and Hibernate. It could serve you as a starter, more advanced solutions will include a Cash Implementation. Regards Sebastian Hennebrueder http://www.laliluna.de Tutorials for JSP, JavaServer Faces, Struts, Hibernate and

Re: how to integrate struts project with hibernate?

2005-01-26 Thread Sebastian Hennebrueder
Sorry, I wanted to write cache implementation or better cache usage. ;-) Regards Sebastian Hennebrueder http://www.laliluna.de Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB Sebastian Hennebrueder wrote: We have a basic tutorial showing a possible way of combining Struts and

Re: how to integrate struts project with hibernate?

2005-01-26 Thread Jim Barrows
On Wed, 26 Jan 2005 15:24:13 + (GMT), Metin Erksan [EMAIL PROTECTED] wrote: hi i try to integrate my struts project with hibernate.i m newbie about hibernate.i use jdeveloper10g. i googled but i found a few samples that use hibernate plugin for struts . is there any document or startup

Re: how to integrate struts project with hibernate?

2005-01-26 Thread Metin Erksan
hi i check generally apfuse .is it application framework ? you used spring ,struts, hibernate .and what is your opinion in with which framework hibernate should be used ? or how can i compare spring and struts with hibernate ? did you try this? i can check codes but can i integrate them with