| Author |
need a good routing design pattern
|
Kosala Amarasinghe
Greenhorn
Joined: May 20, 2011
Posts: 3
|
|
Hi,
I'm looking for a good design pattern to act as an interface between a single function like functionName(String methodCode,String[] inputs) and the methods this functionName would call.
So you would give a MethodCode and a string array of inputs that would be deciphered into which method in which class needs to be called and what the inputs to the method would be.
The methodCodes with descriptions and input descriptions along with order in the array will be given as a doc to the client/user.
The purpose of this is to hide any variable names or method names from the back-end for security purposes. Finally functionName will be accessed as a Web Service from the client/user.
cheers for your help in advance.
Kosala
|
 |
Kosala Amarasinghe
Greenhorn
Joined: May 20, 2011
Posts: 3
|
|
Solved it used Mediator Design pattern.
|
 |
 |
|
|
subject: need a good routing design pattern
|
|
|