reply for this question

S

shyamjumberi

what is the difference b/w WebContainer and Container ? where
Container resides ......what is funcation of Container.....when web
application runs what happened internally.......explain internal
issues of Container detail........
 
J

jha.yogi

what is the difference b/w WebContainer and Container ? where
Container resides ......what is funcation of Container.....when web
application runs what happened internally.......explain internal
issues of Container detail........

Well to make the answers of all the questions simple, read below
carefully

WebServer:
Your browser always talks to the WebServer through HTTP ot HTTPS
protocol, this means WebServer and browser only understands HTTP or
HTTPS. So any request coming from the browser has always to come up
through the WebServer. Web Server know how to complie JSP to Servlets
and is self sufficient for applications where only JSP's, HTML and
Servlets are involved.

Application Server:
It is also known as the container, this is the actual place your web
application, DB information, Bussiness logic is sitting. When the
application contains EJB's and the concepts such as Hibernate is used
for data persistance an application server will be used. All the
modern application servers have inbuilt WebServer in them like
WebShpere, WebLogic, JBoss etc. Application servers are used for
advanced usage such as keeping session information, web security etc.
An application server can also be used to make the application more
scalable and reddundent through its failover mechanism.

If you see the actual B2B logic behind working of Application Server
and WebServer it would be some thing like this

WebBrowser --->>HTTP/HTTPS --->> WebServer -->> Sends Bussiness data
and request --->> Application Server --->> Process the request ||||

--->> Bussiness data model queries --->> Responce sent back to
WebServer --->> WebServer sends back the page using HTTP or HTTPS to
||||

---->> WebBrowser (Requirements are rendered to the end-user according
to the web-engine utilized)


Hope all these answers your queries

Thanks
Yogendra
http://installanywhere.blogspot.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top