Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Remote method/argumet data structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Remote method/argumet data structure" Watch "Remote method/argumet data structure" New topic
Author

Remote method/argumet data structure

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
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

Joined: Sep 30, 2008
Posts: 198
How you want to make the remote method call, using RMI?


My Blog
John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
yes with jaxws
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
AFAIK JAX-WS is a standard for web services, not sure how you want to use RMI with web services.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote method/argumet data structure
 
Similar Threads
question on criteriaFind() and others
Why int[] find(String[] criteria) and not String[][] find(String[] criteria) ?
Data structure for reflection uses (pairs of String and String[])
reading a private method within a class
Opening files from servlets