Parallelising App server architecture

Hi:
I m fairly new to the J2EE technologies. ( thought I ve been reading
about them for the last couple of months or so. )
I m trying to understand how an organisation can scale a J2EE
application, when its load increases. Essentially expanding
breadthwise ( more parallelism ).
Basically the most distributed architecture is this
1. Weserver runs in machine A, it forwards the requests from the
client web browser to Servlet engines running on Machine B. Machine B
delegates the requests to EJB containers running in Machine C. From
here it can go to machine D where database engine is running. Is it
possible to expand this any further.
2. Also in teh above scenario, for web servers ( running in A ) to be
able to forward the requests to Servlet engines ( running in B ), a
small plugin from teh Servlet engine vendor needs to be installed. (
Pl correct me if there is a standards beased/portable request
forwarding mechanism/protocol from the webserver to the Servlet engine
) ( I heard a protocol term with respect to tomcat - can t remember it
now - but it was specific to tomcat IIRC )
3. Once in Servlet the only was I can send a request to EJB running on
a container on machine C, is by using the ejb home object through a
JNDI lookup. Or in other words, there is no automatic mechanism like
teh web server-servlet engine bridge, to forward the requests from a
servlet to its EJB.
4. If 3. above is true, the only way to load balance between multiple
EJB containers running in multiple machines ( C1, C2, C3... ) is by
hosting different home object references on the JNDI tree, and to
fetch the references in some round robin fashion.
5. By using round robin DNS or web server switches ( CISCO or other
hardware that connects to different machines for teh same IP address
in a time shared fashion ), in general it is possible to load share
between multiple web servers, even if client requests belong to
sessions, that might require all the requests belonging to teh same
session go to the same web server.
6. Also though there might be vendor specific mechanisms, how it is
acheived, it is in general for a given web server to load balance
between multiple Servlet engines ( B1, B2, B3 ... )
My ultimate goal is to see if it is possible to have an M:N:O type
configuration ( M web servers, N Servlet engines, O Ejb container
hosting machines )
Any answers even parts of it will be very helpful.
Thanks
--sony

Please don't cross-post.
4. If 3. above is true, the only way to load balance between multiple
EJB containers running in multiple machines ( C1, C2, C3... ) is by
hosting different home object references on the JNDI tree, and to
fetch the references in some round robin fashion.No you don't have to load balance yourself.
When clustering is configured on an EJB, the home object you get from one
server, and it knows what are the other servers. It will load balance the
requests for you. It's called "cluster-aware stubs". I call it "smart
stubs".
===
My personal opinion regarding clustering; don't try to make a complicated
configuration. You need load-balancing? Use up-front (Web) load balancing
and then stick to a single server in the cluster, containing everything.
This will make your everything easier: configuration, deployment, upgrades,
troubleshooting, etc. Access your EJBs locally for more speed.
==
Emmanuel

Similar Messages

  • Recommended 10g App Server Network Architecture

    Currently we have 10g App Server running outside our firewall and our Oracle database (8i) running inside our firewall. We are having major issues with our firewall squashing our pooled database conections and causing broken pipe exceptions on our app server. I would love to hear or be pointed towards recommended system architecture for deployment of 10g app server. Any recommendations or suggestions would be greatly appreciated. Thanks a lot.

    You can do NLB between WFE and APP server however make sure that web application service is started from central admin which host sharepoint sites.
    Why do you stop IIS on APP server, definitely it will not be able to host web app sites. rather you can just disable APP node on NLB to test it.

  • Standalone webcache or Web cache from Oracle Apps Server 10.1.2.0.2?

    Hi
    I am installing web cache on two servers in web tier and J2EE server (with OHS) on another two servers in apps tier. Should I use standalone webcache or install from Oracle Apps Server package? If I choose Oracle Apps Server package, I have to disable Home, HTTP components. But it is DCM managed. Any suggestions?
    And should I deploy my OHS servers on web cache servers in the web tier? In future we want to expand J2EE installation, we will deploy Portal with SSO, OID etc.
    Regards
    Shen Jie

    Shen Jie,
    Please review the Enterprise Deployment to see what are the best architectures.
    Hope this helps.
    Deepak

  • Deployment of Flex app to web and app server

    Hi
    I'm working on putting a Flex front-end on an existing J2EE
    app which gets deployed as an ear file. The architecture consists
    of web server, app server and database server. Is the following
    approach to deployment possible / recommended?
    My Flex app will be deployed to the web server. The J2EE ear
    file will be deployed to the app server (Weblogic). BlazeDS will be
    bundled within the ear file as a war file. Remote Objects will be
    configured in my BlazeDS configuration files to enable me to access
    the code in my J2EE app. In the compiler options of my Flex app,
    I'll be setting the server root folder and server root URL to point
    to the BlazeDS war file on my app server.
    At present I'm at the stage where I can run my Flex app
    directly from Flex builder on my development PC and it's able to
    connect tto the J2EE app, which is running on the app server
    (Weblogic) also on my development PC. I can't find documentation
    explaining how to extend this to work on a multi-tier architecture.
    Thanks
    David

    Hi,
    I replied to your post in FDS forum. Please visit the URL
    below for the response.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1373523
    Hope this helps.

  • Implementing Oracle DCN with Coherence Cache in a weblogic 10 app server

    I m trying to implements a DCN ( Database change notification ) on oracle to notify a listener of an event of DB so I can update Coherence Cache.
    I followed the tutorial here and it is working fine using a sample program with a main method to execute the listener class and keep it running.
    My question is how would this notification and listener gets implemented on a production environment since my local test was only running a main method to keep the listener running? what technology to use to keep the listener always running on the background and receive the notification from the database )?
    would a [weblogic startup class|http://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/startup_shutdown.html] work for this purpose?
    We are using Weblogic 10 as our app server.

    That's a very simple question with (many) potentially complex answers. I think that first uou need to study information on TimesTen to understand what it is and what it does. Then you need to relate that to you current performance bottleneck (I assume you have analysed those). If your bottleneck is database access then maybe TimesTen can help you.
    Please bear in mind that TimesTen is not a 'transparent' drop in performance booster. To implement TimesTen and to realise significant performance improvement you will almost certainly need to make changes to both the application and the overall architecture. The cost/difficulty of doing that also needs to be factored in.
    Chris

  • Network Load Balancing between SharePoint 2013 App server and WFE

    Hi,
    Can we do NLB between SharePoint 2013 App server and WFE Server ?
    Below is our Architecture,
    1. WFE Server (1) 
    2. APP Server (1)
    3. Database Server
    4. Domain Controller
    We have configured NLB but, when we stop IIS on APP server, SharePoint 2013 web app link is not working. 
    is it possible ?
    Please help us

    You can do NLB between WFE and APP server however make sure that web application service is started from central admin which host sharepoint sites.
    Why do you stop IIS on APP server, definitely it will not be able to host web app sites. rather you can just disable APP node on NLB to test it.

  • How long is it to implement JSSE on a client-server architecture?

    Hi all of you,
    Since I'm not a developper but more a system admin, I'm wondering how long approximatly it would take to adapt an existing JAVA client-server architecture to use JSSE or SSL communication over the internet. Is it a simple task or are we talking about weeks of work? Where would be installed the SSL certificate, on the web server or the database server? In brief, what are the main steps that a developper has to go through?
    Architecture:
    JAVA client
    Web server (RMI server), Microsoft IIS5.0
    Database server (MySQL4.0)
    Thanks you all for your precious time,
    AD

    If your webserver has a server certificate from one of the "Big Boys" in the CA business, and if you don't need client-authentication (and almost no-one does) - in your client, write "SSL" in front of everywhere the app currently has the word "Socket", and scratch out "HttpUrl" and replace it with HttpsUrl,." and change your access-urls to start with "https:" and change your socket-connections to talk to your server's SSL port, and you're done. I've taken a Socket-based app and made it SSL/Plain bilingual in two hours once (admittedly, it was a small and well-designed app).
    If your server-cert isn't signed by a known CA, then you have to play some games to get the client side to accept it - but they've all been discussed to death in this forum.
    Grant

  • Migrating from Iplanet Application Server 6.0 to SUN ONE App Server 7.0

    Hi,
    I have an Iplanet App Server 6.0 and Iplanet web server 6.0 I would like to migrate to SUN ONE Appserver 7.0 .
    If I am migrating,then can I fit the existing web server(Iplanet 6.0) into SUN ONE or not.
    Also I want the migrations cost in detail.

    Please refer to the following url:
    http://www.sun.com/migration/sunonetools.html
    This should give u a head start on what needs to be done and how,. WIth respect to webserver , i guess you can use it or leave it depending on the architecture you require to deploy your solution.
    Hope this helps !

  • Sun One App Server 8.1,Sun One Message Q3.6,administered objects in LDAP

    Hi,
    Has anyone tried hosting an MDB on Sun One App Server 8.1 listening to a queue on Sun One Message Queue 3.6 through administered objects in directory server...? It looks quite straight forward but somehow it doesn't seems to work. Any idea if Sun one app server supports this type of architecture...?
    Regards,
    Pritesh

    Hi,
    Even I didn't see any obvious reason why it shouldn't work untill I found that Sun One App Server 8.1 does not support external JNDI lookup to Sun MQ 3.6 through administered objects. However, it is possible using a newly released generic resource adapter for JMS 1.5 RC1. I am still fighiting on it and let you know if it works.
    I was getting an error "JMS resource can not be created" during deployment time.
    Regards,
    Pritesh Thakor

  • Process Modelling in Aris, generating BPEL & deployment to Oracle App Serve

    Hi
    We are considering using Aris to model some business process and using its functionality to generate BPEL for its deployment onto a Service Oriented Architecture i.e. Oracle App Server with BPEL Process Manager. Has anyone had any specific exposure to Aris and its BPEL deployment onto the Oracle App Server.
    - Is there an approach (methodology) from previous experience that someone can recommend.
    - How seamless/complex is the generation and deployment of the BPEL onto the Oracle BPEL Process Manager.
    - Are there any issues or lessons learnt from people using Aris to generate BPEL to the Oracle BPEL Process Manager?
    thanks

    Hi,
    I am dealing with the same problems. I did already some testings using the EPCs of ARIS and tried to establish the link with the BPEL Process Manager. Still it doesn't work seamlessly, maybe with the new realease of ARIS the link will be possible. I am not aware of any methodology in that context, it means we need to develop one.
    Looking forward to hearing from you.
    Best regards,
    TMT

  • Initial workflow runs on WFE, then APP server, loses dependency?

    I'm still having issues with a WFE deployment to a farm with a WFE, an APP, and a SQL server. I'm trying to get my head around it. Workflow timer jobs run on the APP server, in accordance with Microsoft recommendations.
    User adds a list item
    When he / she submits their request, an Update workflow is kicked off -
    this part of the workflow I believe is still running on WFE because I see my printed messages in the ULS logs on the WFE
    If the request to update a list item is approved, the workflow kicks off a timer job.
    The SharePoint timer service then picks up the job on the APP server - I know this because I see my printed messages on the APP server instead of WFE.
    Submitted request passed on to a database on a different server.
    Getting the right solution has been challenging as I've been struggling to ask the right questions. I've confirmed that the SharePoint 2010 Timer Job is started on both servers with same account. I'm thinking that the wsp deploys something to the WFE,
    but not to the APP server. For #5 to happen, that something needs to live on the WFE (unless I want to change the service configuration and add Workflow Timer Jobs on both servers.)
    I'm thinking that the solution should be to manually add whatever those files are deployed via the wsp to the APP server as well.
    Scott

    Best practice states that Foundation Web runs on every server in the farm, as solutions must be built around the exception of not running Foundation Web on particular servers. You're encountering that issue, the solution wasn't built to accommodate for
    this type of architecture. There is little reason to not run Foundation Web on all servers, including performance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Changes in webservices while migrating from Oracle App Server to WebLogic

    Dear All,
    I am developing webservices for a external users.
    I am new to webservices.
    We were using Oracle Application server to deploy the webservices.
    The architecture was as mentioned below
    1) A interface class
    2) A Implementation class for the above interface class
    Now we are planning to migrate from Oracle application server to Weblogic Application server.
    I have few doubts about the migration,
    1) Will there be any difference between Oracle specific WSDL and WSDL created by Weblogic ant build command
    2) As our external parties are referring our SOAP requests ans responses for their implementation, i am concerned about the changes in the SOAP request and response formats. Will there be changes due to application server change?
    Oracle app server - Oracle 10g application server version 9.0.4.0
    Weblogic appl server - Weblogic application server version 10.3.0.0

    Now after creating the WSDL by Weblogic workshop. The previous request XML is not working.
    Can someone help soving the below query.
    We are in process of upgrading the Oracle 10g application server version 9.0.4.0 to Weblogic application server version 10.3.0.0. In the old application server we were using axis specific jars to create the WSDL for the webservices. There are so many third party applications which are accessing our webservices, so we can not change the wsdl, clients accessiong the webservices and the corresponding formats of request and response xml messages. So we need to deploy the same wsdl and for the same we need to deploy axis on to weblogic 10.3. Can you please help us regarding the same.
    Qns
    1 - If we can deploy the axis on to the Weblogic 10.3
    2 - Can we use the same WSDL in the Weblogic server too.
    3 - If we use the same WSDL, will it help us to keep the client accessing the webservices, the request xml format, response XML format the same as it is with Oracle 10g application server case.
    4 - Please share how to deploy axis on to the Weblogic 10.3 application server.
    5 - Please share how we can create EARs that can be deployed on the webserver using axis specific jars.
    Thanks and Regards
    Manoj

  • High availability for Lync 2013 persistent chat server and office web app server

    I have 1500 users, need HA in primary data center and DR also. looking for HA and DR solution for persistent chat server and office web app server.
    is below correct?
    1. 2 persistent chat server in a pool of primary data center and 1 in DR.  can this be reduced or any changes?
    2. 2 Office web app server in a pool of primary data center and 1 in DR.  can this be reduced or any changes?
     also do i need HLB for both roles?

    1) In Lync Server 2013, there are improvements in both high availability and disaster recovery:
    High availability improvements: SQL Server mirroring is used to provide high availability for the Persistent Chat Server content database and Persistent Chat compliance database within a data center (in-site).
    Disaster recovery improvements: Persistent Chat Server supports a stretched pool architecture that enables a single Persistent Chat Server pool to be stretched across two sites (that is, a single logical pool in the topology, with servers in the pool physically
    located across two sites). SQL Server Log Shipping is used for cross-site disaster recovery.
    For more information about high availability and disaster recovery, see
    Configuring Persistent Chat Server for High Availability and Disaster Recovery in the Deployment documentation.
    2) for HA & DR, you can 2 Office web app server in a pool of primary data center and 1 in DR. and You will need HLB for office web app servers
    http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Delete file from app server

    hi, i am running a background job in bw and for that created a file on the application server.now how do i delete that file.to create the file i just gave the name in the bw and the file got created.i am not able to find how to delete it.
    or
    rather than deleting the file how can we delete the data it is containing.please do let me know

    hi,
    but using DELETE DATASET u can remove file for app server.
    If u want to delete the data alone then give the same name without data it will overwrite.
    U can check it in AL11.
    regards
    md zubair sha
    U can also use the function module - EPS_DELETE_FILE
    Message was edited by:
            md zubair sha

Maybe you are looking for

  • Cannot connect to the internet from my MAC on WRT160Nv2 - no problems connecting from my PC

    Hi, I have just bought a WRT160Nv2, but I am having problems connecting to the internet from my MAC (a powerbook with OS X) when I connect to the router wirelessly. If I try from my PC the Internet works fine. Also if I connect the MAC directly to th

  • I cannot view iTUNES Extras for Les Miserables!

    I have an older model version of iPOD (120gb Classic model), but using the most current version of iTUNES. I purchased the Les Miserables movie in the SD version, but am NOT able to view the "iTUNES Extras" "bonus materials" option that was supposed

  • After effects cs5 output render??????????????????????????????

    can anybody help? ive downloaded the trial version of after effects and when i try to render the comp out , in the output module ,theres on option for MPEG2-DVD. it says on the adobe site that in the past ,older CS packages didnt give all the output

  • Symbol logkup error:/ust/lib/libxml2.so.2: underfined symbol: gzopen64

    Hi, When I use pacman -S gnome gnoe-extra After downloading all the packages, I saw the error [/usr/bin/gconftoo-2: symbol logkup error:/ust/lib/libxml2.so.2: underfined symbol: gzopen64] when I was installing... And, I use startx Nautilus and panel

  • Problem with security-constraint use

    Hola! I need help for my j2ee 1.4 application, about using security-constraint in web.xml file. This is my web.xml...at the bottom i'll expplain my problem: <?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://ja