You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Metin Erksan <ma...@yahoo.co.uk> on 2005/01/26 16:24:13 UTC
how to integrate struts project with hibernate?
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 sample for
struts-hibernate?
at the beginning i searched for struts-spring
comparison but i couldnot find .i want to know
experienced users with hibernate.do they use hibernate
with struts or spring ? and why ?
i m at the beginning of project.
your sincerely
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Metin Erksan <ma...@yahoo.co.uk>.
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
jdeveloper ?
yours sincerely
--- Jim Barrows <ji...@gmail.com> wrote:
> On Wed, 26 Jan 2005 15:24:13 +0000 (GMT), Metin
> Erksan
> <ma...@yahoo.co.uk> 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 sample for
> > struts-hibernate?
> >
> > at the beginning i searched for struts-spring
> > comparison but i couldnot find .i want to know
> > experienced users with hibernate.do they use
> hibernate
> > with struts or spring ? and why ?
> > i m at the beginning of project.
>
> I use struts, spring and Hibernate. I've also used
> iBatis. I prefer
> Hibernate most of the time. The hibernate site has
> some good
> tutorials. If you want source code, look at
> appfuse.
>
> >
> > your sincerely
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Easier than ever with enhanced
> search. Learn more.
> > http://info.mail.yahoo.com/mail_250
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> >
> >
>
>
> --
> James A Barrows
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Jim Barrows <ji...@gmail.com>.
On Wed, 26 Jan 2005 15:24:13 +0000 (GMT), Metin Erksan
<ma...@yahoo.co.uk> 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 sample for
> struts-hibernate?
>
> at the beginning i searched for struts-spring
> comparison but i couldnot find .i want to know
> experienced users with hibernate.do they use hibernate
> with struts or spring ? and why ?
> i m at the beginning of project.
I use struts, spring and Hibernate. I've also used iBatis. I prefer
Hibernate most of the time. The hibernate site has some good
tutorials. If you want source code, look at appfuse.
>
> your sincerely
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
James A Barrows
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Metin Erksan <ma...@yahoo.co.uk>.
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 <us...@laliluna.de> wrote:
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
> 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 EJB
>
> Metin Erksan 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 sample for
>> struts-hibernate?
>>
>> at the beginning i searched for struts-spring
>> comparison but i couldnot find .i want to know
>> experienced users with hibernate.do they use hibernate
>> with struts or spring ? and why ?
>> i m at the beginning of project.
>>
>> your sincerely
>>
>>
>>
>> __________________________________ Do you Yahoo!? Yahoo! Mail - Easier
>> than ever with enhanced search. Learn more.
>> http://info.mail.yahoo.com/mail_250
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: how to integrate struts project with hibernate?
Posted by Sebastian Hennebrueder <us...@laliluna.de>.
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
> 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 EJB
>
> Metin Erksan 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 sample for
>> struts-hibernate?
>>
>> at the beginning i searched for struts-spring
>> comparison but i couldnot find .i want to know
>> experienced users with hibernate.do they use hibernate
>> with struts or spring ? and why ?
>> i m at the beginning of project.
>>
>> your sincerely
>>
>>
>>
>> __________________________________ Do you Yahoo!? Yahoo! Mail - Easier
>> than ever with enhanced search. Learn more.
>> http://info.mail.yahoo.com/mail_250
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Sebastian Hennebrueder <us...@laliluna.de>.
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 EJB
Metin Erksan 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 sample for
> struts-hibernate?
>
> at the beginning i searched for struts-spring
> comparison but i couldnot find .i want to know
> experienced users with hibernate.do they use hibernate
> with struts or spring ? and why ?
> i m at the beginning of project.
>
> your sincerely
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Metin Erksan <ma...@yahoo.co.uk>.
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 very very appreciated.
sincerely
Duncan Mills <du...@oracle.com> wrote:
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 what I can find offline. Duncan dot
mills at oracle dot com
Regards
Duncan Mills
Metin Erksan 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 sample for
>struts-hibernate?
>
>at the beginning i searched for struts-spring
>comparison but i couldnot find .i want to know
>experienced users with hibernate.do they use hibernate
>with struts or spring ? and why ?
>i m at the beginning of project.
>
>your sincerely
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - Easier than ever with enhanced search. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------
Do you Yahoo!?
All your favorites on one personal page Try My Yahoo!
Re: how to integrate struts project with hibernate?
Posted by Larry Meadors <la...@gmail.com>.
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
<cc...@yahoo.com> wrote:
>
> 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 LabelValueBean since some time later if we are not using the struts framework, we need to take the labelValueBean out.
>
> Thanks.
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: how to integrate struts project with hibernate?
Posted by Carl Smith <cc...@yahoo.com>.
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 LabelValueBean since some time later if we are not using the struts framework, we need to take the labelValueBean out.
Thanks.
---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'
RE: how to integrate struts project with hibernate?
Posted by Marco Mistroni <mm...@waersystems.com>.
Hello,
Use spring with struts. Spring plugin will take care of
Hibernate session..
Check www.springframework.org.
Regards
marco
-----Original Message-----
From: Metin Erksan [mailto:mavieksen2004@yahoo.co.uk]
Sent: 28 January 2005 14:20
To: Struts Users Mailing List
Subject: Re: how 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 <du...@oracle.com> wrote:
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 what I can find offline. Duncan dot
mills at oracle dot com
Regards
Duncan Mills
Metin Erksan 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 sample for
>struts-hibernate?
>
>at the beginning i searched for struts-spring
>comparison but i couldnot find .i want to know
>experienced users with hibernate.do they use hibernate
>with struts or spring ? and why ?
>i m at the beginning of project.
>
>your sincerely
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - Easier than ever with enhanced search. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: how to integrate struts project with hibernate?
Posted by Metin Erksan <ma...@yahoo.co.uk>.
hi
http://www.oracle.com/technology/products/ias/toplink/preview/spring/doc/TopLinkPetClinic.html
i mentioned above example.
yours sincerely
Duncan Mills <du...@oracle.com> wrote:
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 what I can find offline. Duncan dot
mills at oracle dot com
Regards
Duncan Mills
Metin Erksan 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 sample for
>struts-hibernate?
>
>at the beginning i searched for struts-spring
>comparison but i couldnot find .i want to know
>experienced users with hibernate.do they use hibernate
>with struts or spring ? and why ?
>i m at the beginning of project.
>
>your sincerely
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - Easier than ever with enhanced search. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: how to integrate struts project with hibernate?
Posted by Duncan Mills <du...@oracle.com>.
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 what I can find offline. Duncan dot
mills at oracle dot com
Regards
Duncan Mills
Metin Erksan 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 sample for
>struts-hibernate?
>
>at the beginning i searched for struts-spring
>comparison but i couldnot find .i want to know
>experienced users with hibernate.do they use hibernate
>with struts or spring ? and why ?
>i m at the beginning of project.
>
>your sincerely
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - Easier than ever with enhanced search. Learn more.
>http://info.mail.yahoo.com/mail_250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org