What are regular expressions used for?
- specify pattern to be matched
Steps for making regular expressions in Java?
“\d{2,5} what regex does this mean?
between 2 and 5 digits
\d{4,}what regex does this mean?
4 or more digits
\d{2}\w? what regex does this mean?
2 digits followed by one or more of [a-zA-Z_]
“\^\d+
what regex does this mean?
’^’ followed by at least one digit
\s+glob\s+
what regex does this mean?
‘glob’ with spaces either side
What is the purpose of the client system
to provide the user an interface to the application
Describe some client functions
What are the 3 components of a simple GUI?
What are the 2 different events?
window events(WindowListener) GUI control action events(ActionListener) Client functions
What is the WindowListener?
- activate, iconify
What is the ActionListener?
What two communications does a thread use?
- control / signalling plane communication
What is the purpose of a server system?
to provide access to resources and provide application services
describe the functions of a server?
What is the scalability for a server?
- simultaneous access for many users
What is the performance for a server?
- performance impact for individual users should be minimal as service is scaled
Why might servers in a datacentre not all be identical?
- specific hardware and software for specific tasks
Describe the server loop?
What level is HTTP on?
application, running over TCP
is HTTP stateful or stateless?
stateless, single request, single response
What is the HTTP request message format?
header
What is the HTTP response message format?
header and payload