Questions tagged [web-container]

62 questions
110
votes
8 answers

Difference between web server, web container and application server

Please tell me the Difference between web server, web container and application server.
Gautam
  • 3,276
  • 4
  • 31
  • 53
15
votes
3 answers

Spring MVC with JBoss vs Tomcat - Advantages / Practice

Okay. This is again a question of industry practice. Tomcat = Web Container JBoss, WebLogic, etc = Application Servers that have Web Container within (for JBoss, its forked Tomcat) Spring does not need Application Server like JBoss. If we use…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
8
votes
1 answer

What happens when WebContainer thread pool (WebSphere) is fully used and new request is received?

Got question about WebSphere and cannot find anything in the documentation... What happens when WebContainer thread pool is fully used and new request is received? I am talking about the situation when all are used and we reached max thread pool…
3
votes
0 answers

Is stackblitz's terminal using the host or external processing power?

In other words : is it some kind of containerization/ VM technology or it's just my computer doing the whole thing ? and where's the downloaded data stored ? Things I tried : Code here , uncomment and use node index.js to run 1- Checking system info…
Mossab
  • 818
  • 8
  • 13
3
votes
1 answer

Spring Project inside EJB project

I have an old java EE project which uses EJB and CDI and runs on Tomcat web container. I then recently created a project using spring core. Is it ok to use the spring within EJB project? If yes, then how component lifecycle works for both. Will…
Rishabh Agarwal
  • 1,988
  • 1
  • 16
  • 33
2
votes
1 answer

Servlet thread pool vs Servlet instance pool - by the web container

I understand that web containers like jboss have a parameter to mention the number of threads of the servlet to create, which is the maximum number of threads the container can create to run on a Single instance of the servlet. My question however…
SoltanG
  • 175
  • 4
  • 13
2
votes
2 answers

Redirect http to https in Java EE

How to do a http redirect to https in Sun Application Server / Web Server?
Daniel Lee
2
votes
2 answers

JSP as view technology?

I have some doubt on JSP as a view technology. As i understand JSP eventually gets converted to a Servlet (by the web container if I have read correct documentation). Based on this I have following questions: If JSP gets converted to a Servlet,…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
2
votes
1 answer

How transaction used to handle during initial days of J2EE?

Although I learned Java almost a decade back, however mostly I have worked in C,C++, and core Java (not creating enterprise applications). Now, I have started to work in enterprise edition. I have some doubts on how things used to work in the…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
2
votes
1 answer

does control come back to the webapp which forwarded request to another webapp?

I have 2 web apps. A.war B.war both have been deployed in same app server. A request comes to A.war and it forwards the request to B.war via context.getServletContext("appname of B").getRequestDispatcher("uri").forward(request, response); once…
2
votes
2 answers

Difference between Threads created by web container and Normal Threads?

May i know how are Threads created by web container (New thread is created for every request) different from normal Threads which are created by Extending Thread Class or implementing Runnable Interface. Also how does Web container create…
Kumar
  • 183
  • 1
  • 12
2
votes
1 answer

Why should I use cookies other than for storing a session id?

For HTTP as far as I understand are two ways to store data belonging to a client and bring some kind of state into a otherwise stateless Browser-webcontainer-connection: 1) Data stored in cookies on the client-side - or 2) A session ID stored in a…
Kris
  • 4,595
  • 7
  • 32
  • 50
2
votes
1 answer

Design of parallel computing application with java web/Java EE

My question is related to my other question from here. I would like to know what will be the best approach (or any) to deal with very complicated calculation problems that can be run parallely in java web applications? In my previous question…
PastorPL
  • 968
  • 3
  • 17
  • 36
1
vote
1 answer

GWT + Postgres tutorial

I need to connect my backend in Postgres with GWT, but I am not able to find any suitable tutorial. Also I have read that I need some kind of web container to do that, but I don't know how? If anyone could help me with how the connection needs to…
Prince
  • 20,353
  • 6
  • 39
  • 59
1
vote
0 answers

Access to the httprequest object within POJO called by WebSphere Command/JSP/etc?

Short version: How can I access to HttpRequest object from a POJO code that is called by a Command/JSP which is executed by WebContainer? POJO is not aware of the CommandContext or HttpRequest (or its cousins). POJO is pretty deep down in the…
GunerE
  • 11
  • 3
1
2 3 4 5