Timeline for Is using Java reflection to map frontend actions to the actual db methods by name bad practice?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 31, 2017 at 20:00 | vote | accept | MADforFUNandHappy | ||
Aug 31, 2017 at 19:53 | history | edited | MADforFUNandHappy | CC BY-SA 3.0 |
deleted 36 characters in body
|
Aug 31, 2017 at 19:44 | comment | added | MADforFUNandHappy | Yes its simple manipulation but I want to know whats the best practice here | |
Aug 31, 2017 at 19:42 | comment | added | Walfrat | The first answer is about making a Business Layer, but do you have a need for this ? Or is your application about only simple manipulation data ? Considering that you use a map to map url to defined action you shouldn't have any debug problem. Just log properly all information when mapping fail and you're good. | |
Aug 31, 2017 at 19:39 | history | edited | MADforFUNandHappy | CC BY-SA 3.0 |
added 21 characters in body
|
Aug 31, 2017 at 19:22 | history | edited | MADforFUNandHappy | CC BY-SA 3.0 |
added 174 characters in body
|
Aug 31, 2017 at 19:15 | history | edited | MADforFUNandHappy | CC BY-SA 3.0 |
added 217 characters in body
|
Aug 31, 2017 at 19:06 | history | edited | MADforFUNandHappy | CC BY-SA 3.0 |
added 217 characters in body
|
Aug 31, 2017 at 18:50 | comment | added | MADforFUNandHappy | only the methods defined in the static map can be used for reflection otherwise I throw an exception (the web-client is actually only a monitoring overview, so entries are added by the application(without reflection) and the web-client can only fetch them through a limited number of exposed methods) | |
Aug 31, 2017 at 18:46 | comment | added | Reinstate Monica | If you do this, have a whitelist of some sort (annotation on methods?) to avoid an arbitrary code execution vulnerability... | |
Aug 31, 2017 at 18:31 | answer | added | Samuel | timeline score: 1 | |
Aug 31, 2017 at 17:42 | review | First posts | |||
Sep 3, 2017 at 14:59 | |||||
Aug 31, 2017 at 17:40 | history | asked | MADforFUNandHappy | CC BY-SA 3.0 |