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
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
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
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo