Questions tagged [web-applications]

Do NOT use alone. Do NOT use with web-frameworks or libraries like [reactjs], [django] or [flask]. Use for questions about web applications, where a more specific tag isn't applicable. Use with a appropriate language tag([java]) and the specific aspect of web-application, the question is about: http method([post],[get]), errors([http-status-code-404]), client-server communication ([client-server]) or server errors.

A web application is a client-server application that bases the communication on the HTTP () protocol. Often a third layer implements data persistence through a database.

The client side runs in a web browser that sends the http requests, receives the responses, renders the response's content (usually a html page, but also video streams, or applets). The heavy-lifting is done by scripts or compiled code on the server side. Some examples of web applications include Google Calendar (), Zimbra (), and Office Outlook Web Access.

22465 questions
40
votes
9 answers

What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.
flybywire
  • 261,858
  • 191
  • 397
  • 503
40
votes
3 answers

Websockets in microservices architecture

Let's say we have a notification service which read an event from message queue and notify all web clients in real time. I know how web socket work but i am puzzled when there is an API gateway in between then how web socket connection is maintained…
Vip
  • 1,448
  • 2
  • 17
  • 20
40
votes
7 answers

Java Spring multiple ApplicationContext

The definition of the spring ApplicationContext is very ambiguous, I almost finish a whole book of tutorial but still cannot understand what is the ApplicationContext stand for. According the Spring API, ApplicationContext is: Central interface to…
Sam YC
  • 10,725
  • 19
  • 102
  • 158
40
votes
3 answers

User registration/authentication flow on a REST API

I know this is not the first time the topic is treated in StackOverflow, however, I have some questions I couldn't find an answer to or other questions have opposed answers. I am doing a rather simple REST API (Silex-PHP) to be consumed initially by…
mezod
  • 2,313
  • 3
  • 21
  • 31
40
votes
4 answers

shutdown hook for java web application

I need to save some data preferrably when the java web application is stopped, or when tomcat is stopped. how can this be done? Edit: any drawback if I use the jvm shutdown hook?
user121196
  • 30,032
  • 57
  • 148
  • 198
39
votes
7 answers

How to host static HTML files on Google App Engine?

Is it possible to host a static HTML website on App Engine? And how to make my domain name work with it?
zotherstupidguy
  • 2,976
  • 10
  • 39
  • 59
39
votes
2 answers

What ways are out there to display a desktop notification from a web app?

What I would like to do is show a toaster like notification preferably but any method of "pushing" updates to the desktop is interesting. Thanks
reshefm
  • 6,017
  • 8
  • 36
  • 40
39
votes
9 answers

How do I convert web application into desktop executable?

I've HTML application build with AngularJS/jQuery/Bootstrap with AJAX REST API. Is it possible to create executable/installer for Windows operating system? Without any 3rd-party software, it should look like native application, but HTML. For…
Miraage
  • 3,334
  • 3
  • 26
  • 43
39
votes
0 answers

web site vs web application

What is the difference between a website and a web application?
Praveen Prasad
  • 31,561
  • 18
  • 73
  • 106
39
votes
2 answers

Difference webcontent and webapp

I've two Spring MVC projects in Eclipse, but the web content is in different positions. In one app it's located under: /WebContent In the other app under: /src/main/webapp Why that? What's the difference? Is there any way I can see how each…
user1883212
  • 7,539
  • 11
  • 46
  • 82
39
votes
5 answers

pgadmin gives me the error: no password supplied

I've installed postgresql 9.2 on linux (kubuntu) and the last version of pgadmin3, but when I connect them I have this error: An error has occurred: Error connecting to the server: fe_sendauth: no password supplied What can I do? I have also…
DarkCoffee
  • 930
  • 3
  • 17
  • 30
39
votes
1 answer

Stopping the error "Authorisation is required to perform that action" in Google Apps Script

I keep getting this error message when I try to view my deployed app. Authorisation is required to perform that action How do I get around the error? Services in use in the script: ScriptDB UiApp (I think that is all) I can't find the answer in…
Ryan Smith
  • 1,255
  • 2
  • 13
  • 16
38
votes
4 answers

What happens to JavaScript execution (settimeout, etc.) when iPhone/Android goes to sleep?

I have a jQuery Mobile web app which targets iOS and Android devices. A component of the application is a background task, which periodically checks for a.) changes to local data and b.) connectivity to the server. If both are true, the task pushes…
Christopher
  • 1,723
  • 1
  • 18
  • 31
38
votes
6 answers

calling a java servlet from javascript

I am trying to create a web application using the MVC design pattern. For the GUI part I would like to use JavaScript. And for the controller Java Servlets. Now I have never really worked with JavaScript, so I'm having a hard time figuring out how…
woolagaroo
  • 1,542
  • 2
  • 22
  • 31
38
votes
10 answers

Is there an online user agent database?

How do you parse your user agent strings? I'm looking to get: Browser Browser Version OS OS Version from a user agent string. My app is written in perl and was previously using HTTP::BrowserDetect. It's a bit dated and is no longer maintained.…
Gary Richardson
  • 16,081
  • 10
  • 53
  • 48