Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web server or container inside Weblogic

 
Padma Priya
Ranch Hand
Posts: 123
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I came across this question in an interview.

I was like what is the web server we use in the weblogic application server. Does't Weblogic come with a web/servlet container. Is web server different from a servlet container. Can we use Tomcat along side with weblogic. Finally is Tomcat an app server or web server.

With Regards
deepthi
 
Abhay Agarwal
Ranch Hand
Posts: 1375
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q- what is the web server we use in the weblogic application server?
Answer - HTTP web server

Q - Does't Weblogic come with a web/servlet container?
Answer - Yes

QIs web server different from a servlet container?
Answer - Yes. Web server is a server which basically use to handle all incoming request to a particular port/application and serves clients request accordingly.
Servlet Container is a compiled, executable program using which we can run our Servlet and JSPs.The Servlet container is the intermediary between the Web server and the servlets in the container. The container loads, initializes, and executes the servlets.

Q - Can we use Tomcat along side with weblogic?
Answer - I think , you can. but not sure. Practically, you will never use Tomcat with Weblogic.

Q- Finally is Tomcat an app server or web server?
Answer - Tomcat is web server and Servlet container but it is not app server.

~ abhay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic