File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Webserver and Application Server setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Webserver and Application Server setting" Watch "Webserver and Application Server setting" New topic
Author

Webserver and Application Server setting

aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
In weblogic what is the setting where my webserver is one machine which is calling
the Application server ejb components in a different machine.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
Hi aakash,
You can do this by setting up a cluster
The cluster can be composed of
One HTTP Server ( consists of Weblogic Server without any ejb deployments )
One More Weblogic Server ( Where the ejb bean is deployed )

Rahul
aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
If I make a cluster server how my web layer will call the ejb compoent and
also I will have two purchase 2 license for Weblogic.
Regards
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
Hi,
The Web Layer exists in the application server and not in the Http server. So you need only one instance of your Weblogic Server. The Http Server can be an Apache HTTP Server.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
If you want to separate the Web Layer and the EJB layer on different machines then you defenetly want to buy to licenses of the Weblogic server.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by Rahul Mahindrakar:
If you want to separate the Web Layer and the EJB layer on different machines then you defenetly want to buy to licenses of the Weblogic server.

My recommendation is to not separate the Web and EJB tiers. It is greatly impacts performance without offering much in return. It was a common suggestion early on but in reality it tends to make little sense. The ability to scale one tier separate from the other is rarely useful.
aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
HI Chris and Rahul,
Can i have the setting to install Web server on one machine and Weblogic on another machine
Regards,
aakash
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by aakash bhatt:
HI Chris and Rahul,
Can i have the setting to install Web server on one machine and Weblogic on another machine
Regards,
aakash

There is no "setting" per se. You need to configure an additional software component called the WebLogic Plugin. Configuration differs based on what Web Server you are using.
See these documentation links:
  • Installing and Configuring the Apache HTTP Server Plug-In
  • Installing and Configuring the Microsoft Internet Information Server (ISAPI) Plug-In
  • Installing and Configuring the Netscape Enterprise Server Plug-In (NSAPI)
  • Rahul Mahindrakar
    Ranch Hand

    Joined: Jul 28, 2000
    Posts: 1836
    As suggested by Chris splitting the Web layer and the ejb layer comes at a cost since each invocation from the web layer to the ejb layer becomes a remote call.
    I think what you want to do basically is to have a HTTP server and a Application server. The HTTP server handles various things like cacheing of static content while for dynamic content it asks the application server to provide the output.
    Any how Chris's links should provide you a lot of help
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Webserver and Application Server setting
     
    Similar Threads
    webserver help
    Weblogic Setting
    WebServer & Application Server
    WAS 4.0 with iplanet web server
    Telnet client from webapp [was: Help needed in jsp and beans]