Jump to content

Recommended Posts

Posted

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.
  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

  • k2s

    11

  • king420

    3

  • pinky123

    3

  • BhagatSingh

    3

Top Posters In This Topic

Posted

mod gudchinav po...

witout the tool..ooorkey etla rasesthaaru ?

Posted

tQkMo.gif?1374884028  thaaagina fizz fuzzuu ani mattuloo eededo matladutunnadu 

CITI_c$y  CITI_c$y

Posted

tQkMo.gif?1374884028  thaaagina fizz fuzzuu ani mattuloo eededo matladutunnadu 

 

brahmi%20laugh.gif

Posted

tQkMo.gif?1374884028  thaaagochi fizz fuzzuu ani mattuloo eededo matladutunnadu 

 

 

db enti??  client side not much code man simple

meeku vacha rada ?? 

Posted

 

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 

 

tQkMo.gif?1374884028

 

server DataBase ni query cheyyadam endii tQkMo.gif?1374884028

Posted

4.gifJ to the A to the V to the A

 

JAVA...telisindhi goorantha...teliyalsindhi kondantha :(

Posted

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??

×
×
  • Create New...