Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remote method/argumet data structure

 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am writing a web server which has methods (not exposed as webmethods) that would be invoked as a result of string being passes by the client.
I am going to use reflection to invoke the methods. I need a data structure that will contain method name/method arguments (String/String[]). What data structure I need? I think I need a map that can contain duplicate keys (the methods names).
Maybe my whole concept is wrong and there is a standard other way for this?

Thanks.
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How you want to make the remote method call, using RMI?
 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes with jaxws
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK JAX-WS is a standard for web services, not sure how you want to use RMI with web services.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic