public class User {
...
public String getFirstName() {
return firstName;
}
...
public List<Transaction> getRecentTransactions() {
return someSoapServiceProxy.getRecentTransactions(userId)
}
...
public List<Contact> getAlarmContacts() {
connection = dataSource.getConnection();
pstmt = connection.prepareStatement(query);
...
resultSet = pstmt.executeQuery();
...
}
}
So, this "domain" object reaches out (in several places) to a service and to a database. One of many offenses that make me wonder where this company was getting its developers.

New Topic/Question
Reply




MultiQuote



|