Re: what is the best practice?

2006-07-17 Thread hicham abassi
architecture decisions, etc ??? -Rafael T Icibaci - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, May 22, 2006 6:49 PM Subject: Re: what is the best practice? Hi Joel, the methods you mention are all data

Re: what is the best practice?

2006-05-25 Thread Rafael
] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, May 22, 2006 6:49 PM Subject: Re: what is the best practice? Hi Joel, the methods you mention are all data access calls, not business methods, because business methods would actually carry out some form of business logic

Re: Re: what is the best practice?

2006-05-22 Thread Joel Alejandro Espinosa Carra
Thank you Adam, Paul: I will try iBATIS as you suggested to me. I have another question to you in the same context. In this MessagesManager class I have business methods like getAllMessages() that retrieves all the messages from the database, but I also have another business methods like

Re: what is the best practice?

2006-05-22 Thread Adam Hardy
Hi Joel, the methods you mention are all data access calls, not business methods, because business methods would actually carry out some form of business logic on the data. But anyway your methods are OK. It just corresponds to the number of ways your app needs to access the data. There

Re: what is the best practice?

2006-05-20 Thread Adam Hardy
)?, the first aproach makes one query to the database and the second aproach makes two. What is the best practice here? As you can see english is not my navite language, I hope you guys can understand my issue. Thanks in advance. Have a nice weekend

Re: what is the best practice?

2006-05-20 Thread Paul Benedict
the usernames, something like public String getName(String user_id)?, the first aproach makes one query to the database and the second aproach makes two. What is the best practice here? As you can see english is not my navite language, I hope you guys can understand my issue. Thanks

what is the best practice?

2006-05-19 Thread Joel Alejandro Espinosa Carra
the usernames? or do I need to add another method to get the usernames, something like public String getName(String user_id)?, the first aproach makes one query to the database and the second aproach makes two. What is the best practice here? As you can see english is not my navite language, I hope