空山新雨 ·
·
阅读: 299
How should I map an operation with the operation types defined in DB/config file?
For example using operations defined in DB and using command pattern and command factory in the front end.
How do I map the command to a specific type of operation as defined in DB? I don't think it is a good way to hard code this somewhere (in JSP or in property file).