Questions tagged [web-container]

62 questions
1
vote
2 answers

Understanding launching of Spring batch Jobs in a web container

I was reading the Spring Batch documentation when I came across the fact that we would have to use a different implementation of the TaskExecutor interface (The Asynchronous version) if we would efficiently have to run batch jobs from a web…
Aditya
  • 47
  • 1
  • 7
1
vote
0 answers

Xterm.js Fit Addon Doesn't Wrap Uncommited Text

When using xterm.js in a user-resizable layout, when the xterm.js terminal shrinks, any commands that you are still typing overflow. But commands where you have pressed enter wrap properly. The text that overflows doesn't come back either and is…
Alien 10
  • 71
  • 2
  • 8
1
vote
1 answer

How to run Struts2 app on embedded Jetty?

I used to run Struts2 app on embedded Tomcat using the following code: package nth347.main; import org.apache.catalina.WebResourceRoot; import org.apache.catalina.core.StandardContext; import org.apache.catalina.startup.Tomcat; import…
NTH
  • 31
  • 4
1
vote
1 answer

How does an application server know what role a user has?

I am not familiar with application server based security constraints. For the following web.xml example, I see the defined roles and which role can access the restricted resources. BASIC
user2125853
  • 1,265
  • 4
  • 13
  • 23
1
vote
0 answers

difference between Web Container and Web Browser

What are the differences between two of them exactly? also, I can't get their concepts. I googled it, but couldn't find any web page which can tell the difference. Anyone can help me understand these things?
David Kim
  • 23
  • 1
  • 6
1
vote
1 answer

Servlet Initialization Listener

I am trying to identify when a servlet is initilazed (not the init() method called), when container try to load an individual servlet ? Or, any mechanism which keeps track of servlet initialized / destroyed / pending to load. I am aware of the…
1
vote
1 answer

How does web-container handles incoming request and maps to a deployed web-application war

I want to understand how the web-container maps incoming requests to a particular web-application (and a servlet afterwards). To begin with, I believe a web-container must be able to listen for incoming Http requests (else how will the client reach…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
1
vote
1 answer

What is the difference between running an application as a service or deploying it on a container?

I need to install the following applications for our continuous delivery strategy: Jenkins and Apache Archiva But they offer: to be install as a windows service or to be deploy in a container (i.e. Tomcat) I was wondering if installing those…
Jet
  • 661
  • 5
  • 11
1
vote
1 answer

Awesomium - What is the difference between WebView and WebControl?

Can anyone describe what are the main differences between using WebView and WebControl in Awesomium? In which scenario it's better to use WebView and in which WebControl? What are the pros and cons of using each of these two in WinForms? Thanks for…
Marshall
  • 1,195
  • 6
  • 30
  • 47
1
vote
1 answer

Websphere Live Sessions vs Active Sessions

I am monitoring a Websphere Application Server and especially Http Sessions using PMI interface. The two major metrics here are: Live Sessions described as: The number of local sessions that are currently cached in memory from the time at which…
trikelef
  • 2,192
  • 1
  • 22
  • 39
1
vote
1 answer

Dynamically loading or replacing jars in a Webcontainer (Tomcat)

My question is actually very simple, though the answer to it may be complex. Is it possible to load jars dynamically at runtime-or even replacing an already loaded one in a webcontainer context? In this specific case I am interested in the…
nanoquack
  • 949
  • 2
  • 9
  • 26
1
vote
1 answer

Webcontainer / EJB-container : JSF Managed Beans?

In which container are the JSF Managed Beans supposed to be in? In the webcontainer or in the EJB-container? As I understand it, the presentationslayer - which should be the webcontainer - should contain the JSF Managed Beans? The EJB-container…
moviaa
  • 402
  • 1
  • 4
  • 16
1
vote
4 answers

Tool for managing multiple Java web container instances?

I'm looking for a Java Web Container (like jetty and tomcat) or a tool in which I can create/remove server instances through a management console. The problem is that my organization needs to create different instances of a test server for quality…
Jared Pearson
  • 487
  • 1
  • 5
  • 18
0
votes
0 answers

Local node webcontainer adapter for sveltekit. Looking for an example

I like to use and experiment with the StackBlitz webcontainer in my browser to create a "local" Sveltekit app. Local: running node in my browser. I'am looking for an example or even better: an adapter. Like to know more? I found this nice intro from…
voscausa
  • 11,253
  • 2
  • 39
  • 67
0
votes
0 answers

Why doesn't xterm.js accept any input even though it was configured to do so?

I'm currently making an app with vite & WebContainers and have no prior experience with the API or xterm. I followed this tutotial and everything worked well until I decided to add tabs to switch from the terminal, to the editor to the preview box.…