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
]
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
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
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
)?,
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
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
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
7 matches
Mail list logo