emilian955 / lab_final Goto Github PK
View Code? Open in Web Editor NEWLaborator1
Laborator1
Repository-ul pentru Java-Technologies Laborator 1 Cerinta: Java Servlet Technology (2p) Create a servlet that: receives the following parameters key:String, value:int, mock:boolean and sync:boolean. if mock is true than the servlet simply returns a confirmation message. if mock is false, the servlet writes in a text file called repository a line containing the key, repeated value times, along with the timestamp of the request, and returns the content of the repository, as an HTML page containing all the lines that were created, ordered by key. if sync is false, then the servlet will not use any synchronized method when writing in the file. The servlet invocation will be done using a simple HTML form. Write in the server log the following information about each request: the HTTP method used, the IP-address of the client, the user-agent, the client language(s) and the parameters of the request. (Take a look at HttpServletRequest API). (0.5p) Invoke the service from a desktop application (Java, Python, .NET, etc.). In this case, the servlet must respond with a simple text, instead of an HTML page. (1p) Analyze the performance and concurrency issues, invoking the servlet repeatedly, in an asynchronous manner (use different values for the mock and sync parameters). Toate punctele au fost rezolvate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.