This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Map Method return type interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Map Method return type interface" Watch "Map Method return type interface" New topic
Author

Map Method return type interface

Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
Hi,

Cant we use an interface type as a method return type in our web service class

eg.

public Vector<InterfaceType> getSelectedObjects()
{
//...
return objects
}
if so can you please explain.
Thanks in advance,
inesh.
 
jQuery in Action, 2nd edition
 
subject: Map Method return type interface