Ezio A. Ehlke Carrion

+ Follow
since Jul 05, 2007
Ezio likes ...
Python C++ Java
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ezio A. Ehlke Carrion

Hello Guys,

What is the technology which I can accomplish such feature, have a readonly webservice? JAXWS or JAXRS(RESTfull)?

I'm working on TeamDoctor assignment and I have a requirement to to just read from web services and I don't know how to design such solution, any idea?

Thank you!
Hi Guys
Any one working on Team Doctor assignment?
Hi everyone

I'm have a question how the find method should be implemented because I didn't understand very well what the specification tells

// Returns an array of record numbers that match the specified
// criteria. Field n in the database file is described by
// criteria[n]. A null value in criteria[n] matches any field
// value. A non-null value in criteria[n] matches any field
// value that begins with criteria[n]. (For example, "Fred"
// matches "Fred" or "Freddy".)
public int [] find(String [] criteria) throws RecordNotFoundException;

In my point of view I should create a search gui which all field from file should be available for the user input any value, in case any of available field be empty the position of such field in array should be null. Once the user clicks on search button the populated array is passed to find method to be used to search. If the user does not fill any field and click on submit button the array should be empty and all records should be returned.

In case two or field were chose, the criteria should use "and" to do the match against the data and any field needs to use the logic to search search for string using String.startWith

Please let me know whether I'm in correct way or not.

Thanks in advance