Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
EJB and other Java EE Technologies
Should I use DAO method ?
posted 7 months ago
After trying so hard on my code, I am beginning to doubt whether I am on the right track and hope to have some advice.
I have read through DAO tutorial on the
and realised most of the time DAO covers CRUD.
In my web app, I'd need to include a method that returns an arralylist of subject.
So, is DAO still applicable in my case ?
I tried to look at other design
such as Template design but most of the method used are void methods....
The thing is that I need to use this return of static Arraylist of subjects method in my 3rd DAOImpl and DAO so that my controller will not complaint.
My controller I have this subjectTeachesDAOImpl(int tutorId, Arraylist<Integer>subject Id>
Hope someone can tell me the right way to do things.
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
The WEB SERVICES and JAX-RS Course
Boost this thread!
How to set Arrays in prepared Statement and read in more than one checked box values ?
Help with creating a panel?
Can someone please correct my method ?
A Design Problem
Use of DAO as a Command?