application server and web server messed up

G

gk

hi,

Question 1 : does web server resides inside application server ?


Reason for this question:

(a)an Application Server can run EJB and JSP ALL( EAR= JAR+WAR).

(b) but Web Server can run only JSP, Servlets, WAR BUT NO EJB.

so, From (a) and (b) conclusion is, Web server lives inside
Application server becoz Application server can do everything ....is
this correct ?


Question 2:

If i buy an Application Server but if i dont have Web Server, will
i able to give my customer to access JSP pages in www access ?

OR, to give the www access one must have Web Server ?


thanks





so,if i buy an Application server , will i able to give my customer the
www access ?
 
G

gk

is there anybody can have direct answer of Question 1 and Question 2
?

please dont forward links....because i have read links and i know about
tutorials.

These are specific doubts.

I will appreciate if anybody can provide the focussed answers .
 
M

Moiristo

I have a server with an apache2 webserver to allow my users to create
WWW-pages in their homedirectories. Besides Apache2, I have Tomcat
running as a separate daemon. Tomcat is solely meant for applications,
the users cannot use Tomcat without explicit access. It runs on port
8080, but there are connectors available to pass requests made on the
webserver to the application server. Hope this helps to understand the
difference between the two.
 
P

Philip Reimer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,

Question 1 : does web server resides inside application server ?


Reason for this question:

(a)an Application Server can run EJB and JSP ALL( EAR= JAR+WAR).

(b) but Web Server can run only JSP, Servlets, WAR BUT NO EJB.

so, From (a) and (b) conclusion is, Web server lives inside
Application server becoz Application server can do everything ....is
this correct ?


Question 2:

If i buy an Application Server but if i dont have Web Server, will
i able to give my customer to access JSP pages in www access ?

OR, to give the www access one must have Web Server ?


thanks





so,if i buy an Application server , will i able to give my customer the
www access ?

Sure, if question 1 is answered with 'yes'...

also see message-id: <[email protected]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFEyhCoOnXHmEVwvcQRAj6JAJ0U/vl3eID3qFLviRzRfOt4z2qHJwCcCfWt
5zY47+oDpL5Asz46WJ8zDyg=
=AqxH
-----END PGP SIGNATURE-----
 
D

David Segall

gk said:
hi,

Question 1 : does web server resides inside application server ? Almost always.


Reason for this question:

(a)an Application Server can run EJB and JSP ALL( EAR= JAR+WAR).
Not true. An application server is a general term for a remote program
that can use a web browser as the user interface to an application.
Microsoft's .NET servers certainly rank as application servers but
cannot be used with applications that require EJBs or JSPs. I think
you are referring to a J2EE Server.
(b) but Web Server can run only JSP, Servlets, WAR BUT NO EJB.
Not true. A web server is only required to serve static web (HTML)
pages. I think you are referring to a Servlet Container.
so, From (a) and (b) conclusion is, Web server lives inside
Application server becoz Application server can do everything ....is
this correct ?
The fact that your (a) and (b) are false, surprisingly, does not make
your conclusion false. I would be surprised if there is a commercial
application server that could not serve static HTML pages.
Question 2:

If i buy an Application Server but if i dont have Web Server, will
i able to give my customer to access JSP pages in www access ?
If you obtain (some are free) any J2EE certified server
<http://java.sun.com/j2ee/compatibility_1.4.html> they must provide
Internet access to JSP pages. I have not seen it writing but I believe
they must also provide access to HTML pages.
 

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
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top