k2s Posted January 24, 2014 Report Posted January 24, 2014 naaku koncham socket programming lo help kavali... any experts here pls.... logic rayadam ravataledu naku.... i am not even beginner in Java.... or in coding world idi logic.... deeni program ga ela marchali ee ardam kavatledu.... any experts who can suggest me.. client send a line to server containing non-negative integer followed by string (query word) When the server receives a query line as specified above, it immediately searches its database for the query word (this means that it responds to all queries in the order received). It then sends a line back to the client consisting of the non-negative integer from the query, followed by the string OK (if the word is spelled correctly) or the string NO (if it’s not). If the word isn’t spelled correctly, the NO may be followed by a space and a space-separated list of words in the database that are close to the query word. For example, valid responses to 13 fizzbuzz would be 12 OK (if “fizzbuzz” is in the database), 12 NO fizzban fozzbin (if “fizzbuzz” isn’t in the database, but two close words are), and 12 NO (if neither “fizzbuzz” nor anything close to it is in the database). When the server receives a blank line, it sends a line to the client consisting of the string GOODBYE and closes the connection. If the server receives a malformed line (e.g., one without an integer or with a negative integer), it sends a line to the client consisting of the string INVALID and closes the connection.
vikuba Posted January 24, 2014 Report Posted January 24, 2014 mod gudchinav po... witout the tool..ooorkey etla rasesthaaru ?
eminem123 Posted January 24, 2014 Report Posted January 24, 2014 telisinadi gorantha teliyandi kondantha ... help guys
king420 Posted January 24, 2014 Report Posted January 24, 2014 thaaagochi fizz fuzzuu ani mattuloo eededo matladutunnadu
pinky123 Posted January 24, 2014 Report Posted January 24, 2014 thaaagina fizz fuzzuu ani mattuloo eededo matladutunnadu CITI_c$y CITI_c$y
fake_Bezawada Posted January 24, 2014 Report Posted January 24, 2014 thaaagina fizz fuzzuu ani mattuloo eededo matladutunnadu
ChampakDas Posted January 24, 2014 Report Posted January 24, 2014 db enti?? client side not much code man simple
k2s Posted January 24, 2014 Author Report Posted January 24, 2014 thaaagochi fizz fuzzuu ani mattuloo eededo matladutunnadu db enti?? client side not much code man simple meeku vacha rada ??
king420 Posted January 24, 2014 Report Posted January 24, 2014 naaku koncham socket programming lo help kavali... any experts here pls.... logic rayadam ravataledu naku.... i am not even beginner in Java.... or in coding world idi logic.... deeni program ga ela marchali ee ardam kavatledu.... any experts who can suggest me.. client send a line to server containing non-negative integer followed by string (query word) When the server receives a query line as specified above, it immediately searches its database for the query word (this means that it responds to all queries in the order received). It then sends a line back to the client consisting of the non-negative integer from the query, followed by the string OK (if the word is spelled correctly) or the string NO (if it’s not). If the word isn’t spelled correctly, the NO may be followed by a space and a space-separated list of words in the database that are close to the query word. For example, valid responses to 13 fizzbuzz would be 12 OK (if “fizzbuzz” is in the database), 12 NO fizzban fozzbin (if “fizzbuzz” isn’t in the database, but two close words are), and 12 NO (if neither “fizzbuzz” nor anything close to it is in the database). When the server receives a blank line, it sends a line to the client consisting of the string GOODBYE and closes the connection. If the server receives a malformed line (e.g., one without an integer or with a negative integer), it sends a line to the client consisting of the string INVALID and closes the connection. Servlet handles requests and Responses ..... Servlet will invoke Service a Service impl will execute the queries in some design patterns DAO layer will execute the queries server DataBase ni query cheyyadam endii
Rebel890 Posted January 24, 2014 Report Posted January 24, 2014 J to the A to the V to the A JAVA...telisindhi goorantha...teliyalsindhi kondantha :(
king420 Posted January 24, 2014 Report Posted January 24, 2014 nuvvu browser nundi vere server ki call chestunnava?? is it Ajax call?? Direct Browser --> Server(Host) or r u trying to query from a service and browser will call the servlet ?? Service (call end point URL)--->Host, browser will pull from back end??
Recommended Posts