File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Apache HTTP server + Weblogic in component diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Apache HTTP server + Weblogic in component diagram" Watch "Apache HTTP server + Weblogic in component diagram" New topic
Author

Apache HTTP server + Weblogic in component diagram

lambertlee Li
Ranch Hand

Joined: Dec 15, 2005
Posts: 52
I am planning to put Apache HTTP server in front of Weblogic app server to hold the static web contents.

I have the following questions want you guys help me:

1) in my component diagram, should I add a component representing the static web contents?

2) If I had a <<static web contents>> component in component diagram, i am confused about the relationship between <<static web contents>> and <<faces servlet>>.
Should <<static web contents>> component have a dependency on <<faces servlet>>? Or they have no dependency at all. Nothing to be drew between them?
Can I just put <<static web contents>> sitting there without any dependency on other components?

3) Does static web contents go through servlet container or not? For example, I have a http request just requesting the static html files, would apache http server forward this request to servlet container or not? which answer would you choose?
a) forward http request to servlet container, but http server itself respond for static web contents
b) no forwarding for static web contents. HTTP server itself respond back to client without servlet container knowing about the request.

answer a) or b)?

4) <<static web contents>> should be sitting in web tier or presentation tier? In JEE architecture, web tier and presentation tier means the same thing?
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

The web server should be shown in the deployment diagram.
ntumba lobo
Ranch Hand

Joined: Oct 21, 2008
Posts: 180
I am gonna try to reply to the best of my knowledge.
Anybody corrects me if Im wrong.

1)
I think as well that if you have a separate HTTP server it should be shown in the deployment diagram.
It is an important component as this is what the end-user hits to access your application.

2)
I am not sure the concept of dependency is applicable for the nodes of the deployment diagram.
The deployment diagram represents the network topology (nodes, communication links) on which
your system sits. Usually between nodes you have a plain straight line without any preferred direction.
The purpose is just to show the link and tell the protocol used (HTTP, JDBC, RMI-IIOP ....)

3)
b

4)
Presentation tier is the generic term. Its purpose is to prepare the data for a specific channel.
In the case of a web application, the presentation tier is called Web tier and the specific channel is the browser.



SCJP 5 , SCWCD 5, SCEA 5
lambertlee Li
Ranch Hand

Joined: Dec 15, 2005
Posts: 52
ntumba lobo wrote:I am gonna try to reply to the best of my knowledge.
Anybody corrects me if Im wrong.

1)
I think as well that if you have a separate HTTP server it should be shown in the deployment diagram.
It is an important component as this is what the end-user hits to access your application.

2)
I am not sure the concept of dependency is applicable for the nodes of the deployment diagram.
The deployment diagram represents the network topology (nodes, communication links) on which
your system sits. Usually between nodes you have a plain straight line without any preferred direction.
The purpose is just to show the link and tell the protocol used (HTTP, JDBC, RMI-IIOP ....)

3)
b

4)
Presentation tier is the generic term. Its purpose is to prepare the data for a specific channel.
In the case of a web application, the presentation tier is called Web tier and the specific channel is the browser.


Thank you for you reply. I think my post title is misleading. Actually what I want you guys to help is my component diagram(I know that my HTTP server should be shown in deployment diagram). I didn't make it clear in my previous post.

I need help on component diagram:

1) if I move all my static web contents to my APACHE HTTP server. In my component diagram, should I add a component representing the static web contents?

2) If I had a <<static web contents>> component in component diagram, i am confused about the relationship between <<static web contents>> and <<faces servlet>>.
Should <<static web contents>> component have a dependency on <<faces servlet>> in component diagram? Or they have no dependency at all. Nothing to be drew between them?
Can I just put <<static web contents>> sitting there without any dependency on other components?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Apache HTTP server + Weblogic in component diagram
 
Similar Threads
config my-faces & tomahawk & Trinidad
Chapter 2 (HFSJ) notes , may be useful for anyone
Static web component in Component Diagram
number of component diagrams ???
Tomcat alone vs Apache/Tomcat