185 reputation
5
bio website
location
age
visits member for 2 years, 8 months
seen Feb 24 at 9:46

Apr
24
comment Pattern for select case on object type (of interface)
@pdr, you should create an answer out of your comment. I think it is the best answer in this thread so far.
Apr
13
comment Low coupling processing big quantities of data
@vitalik, If it is Multithreading environment, have a look at disruptor framework
Apr
3
awarded  Commentator
Apr
3
comment Publish/Subscribe/Request for exchange of big, complex, and confidential data?
Sorry, I still do not get the problem. System1 sends request to System2 only when it has something to send. System2 also sends request to System1 when it has something for it... Why one system has to poll another all the time?
Apr
2
comment Publish/Subscribe/Request for exchange of big, complex, and confidential data?
What does "publish/subscribe/request" solution save compare to a standard "Request-Reply" pattern? Does the direction of information flow matter?
Mar
29
comment Is the 'C' in MVC really necessary?
"Using your example the Controller would be what decided what was a legal move or not". This is bad example :( such logic shall be also in the Model. Otherwise your logic is split between Controller and the Model.
Mar
19
comment Advantages of using business logic in model
If you put your business logic in the controller, what would be left in the model then? :)
Mar
15
comment Pattern for group of entities with one required primary member
"Approach (2) represents a 1-1 relationship on the data model (which is usually recommended to be avoided)." Sorry but why and who recommends this? Thanks
Mar
15
comment Pattern for group of entities with one required primary member
@Mattias, but your logic do still need to be changed anyway. And if you may need "main" and "secondary" objects and rest? Then you have to change your boolean flag to integer that affects all classes that can be put in the list. On other hand a change on the parent object would be small and anyway the "logic" (that controls number of main elements in the list) would still most probably "reside" in the parent class that holds the list.
Mar
15
comment Pattern for group of entities with one required primary member
+1 for Additional association as in this way you can store any objects in your list. With the first option, your object has to be aware that it can be stored in the list and implement an additional interface that normally it would not need.
Mar
14
comment How difficult would it be to migrate a Struts/JSP application to Groovy?
@Kevin, it was already a while since you have posted this message. Have you succeed in converting the app? Maybe you have already shared your experience somehow via blogs or other posts...? I'm asking while I may have a similar project ahead. Thanks.
Mar
14
awarded  Tag Editor
Mar
14
revised grails wiki excerpt
added 140 characters in body
Mar
14
suggested suggested edit on grails tag wiki excerpt
Mar
14
wiki created grails excerpt
Mar
14
answered Models per database table?
Mar
9
answered Asserting in public methods
Mar
9
answered Main class passes dbConn obj to all its services, I need to change the dbConn for one of its services. - suggestion for design pattern
Mar
8
awarded  Editor
Mar
8
revised Main class passes dbConn obj to all its services, I need to change the dbConn for one of its services. - suggestion for design pattern
code formating improved