i have a doubt about criteriaFind(str) method and need your views about that.
i was thinking that as string message i have to send origin and destination.
but in instructions
example of string message has carrier+origin.
is that means i have to provide facilty to choose origin, destination, carrier, day etc. to the client?
how can i generate String for criteriaFind() method easily?
The user should be able to select the origin and destination of flights, and the display should update to show only flights that satisfy those criteria. The user must be able to describe enter the string value "any" for the origin, destination, or both, so as to implement a wildcard-like feature.
In other words your critieraFind method must handle any sort of request but your client only has to provide the two stated above
Hope that helps