Hi,
I am using iBatis in my application with JSF and Spring.
We are using ABator to generate the objects based on the database
objects.
For example....
Account table will have
Account.java
AccountExample.java
AccountDAO.java
AccountDAOImpl.java
I understand that DAO and DAOImpl will be for Model layer.
Where do Account and AccountExample belong?
Right now I have AccountBean.java in the view layer which is a copy of
Account.java with additional properties.
Can I move the Account.java and AccountExample.java to the view Layer?
In case I forego iBatis in future... can I still use AccountExample with
just modifying the DAO? Or does AccountExample is specific to Model
layer too?
I think we can have Account.java in view layer as it is a representation
of the table like, DTO.
Any ideas?
Thanks
Vinaya
This electronic message is intended only for the use of the individual(s) or
entity(ies) named above and may contain information which is privileged and/or
confidential. If you are not the intended recipient, be aware that any
disclosure, copying, distribution, dissemination or use of the contents of this
message is prohibited. If you received this message in error, please notify
the sender immediately.