• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need a good routing design pattern

 
Greenhorn
Posts: 3
Android Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
Android Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved it used Mediator Design pattern.
reply
    Bookmark Topic Watch Topic
  • New Topic