Differcence between  2-tier and 3-tier

hiii,
      diff between 2-tier and 3-tier sap architecture??

The easiest way to explain this is, as you suggest, by an example. So I'll give you an example.
Let's suppose I'm going to write a piece of software that students at a school can use to find out what their current grade is in all their classes. I structure the program so that a database of grades resides on the server, and the application resides on the client (the computer the student is physically interacting with).
When the student wants to know his grades, he manipulates my program (by clicking buttons, menu options, etc). The program fires off a query to the database, and the database responds with all the student's grades. Now my application uses all this data to calculate the student's grade, and displays it for him.
This is an example of a 2-tier architecture. The two tiers are:
1. Data server: the database serves up data based on SQL queries submitted by the application.
2. Client application: the application on the client computer consumes the data and presents it in a readable format to the student.
Now, this architecture is fine, if you've got a school with 50 students. But suppose the school has 10,000 students. Now we've got a problem. Why?
Because every time a student queries the client application, the data server has to serve up large queries for the client application to manipulate. This is an enormous drain on network resources.
So what do we do? We create a 3-tier architecture by inserting another program at the server level. We call this the server application. Now the client application no longer directly queries the database; it queries the server application, which in turn queries the data server.
What is the advantage to this? Well, now when the student wants to know his final grade, the following happens:
1. The student asks the client application.
2. The client application asks the server application.
3. The server application queries the data server.
4. The data server serves up a recordset with all the student's grades.
5. The server application does all the calculations to determine the grade.
6. The server application serves up the final grade to the client application.
7. The client application displays the final grade for the student.
It's a much longer process on paper, but in reality it's much faster. Why? Notice step 6. Instead of serving up an entire recordset of grades, which has to be passed over a network, the server application is serving up a single number, which is a tiny amount of network traffic in comparison.
There are other advantages to the 3-tier architecture, but that at least gives you a general idea of how it works.
Incidentally, this website is a 3-tier application. The client application is your web browser. The server application is the ASP code which queries the database (the third tier) for the question-and-answer you requested.
I hope that helps!  dont forget to give points if useful

Similar Messages

  • Difference between 3 Tier and N-Tier architecture in HFM

    Hi Gurus
    What is the Difference between 3 Tier and N-Tier architecture in HFM?
    regards
    Smilee

    3 Tier is a client/server architecture with 3 fixed tiers: Presentation / User Interface Layer, Business Logic Layer, and Data Layer.
    N-Tier architecture is also a client/server architecture; however, it may not have 3 tiers. 3 Tier IS a specific type of N-Tier architecture.

  • Urgent! Application tier and Data tier on different platforms

    Hello!
    I would be very grateful if someone confirms that the deployment of the Beehive, where Application tier and Data tier are placed on different platforms, is supported.
    For example, Oracle Database (Data tier) on Linux, and Oracle Application Server (Application tier) on Windows.
    Thanks in advance.
    Dima.

    Hi Dima,
    Yes, this will work.

  • Oracle E-Business Suite 12.1.3 App Tier and DB Tier in US-West region

    Hi,
    We need to setup 12.1.3 Vision instance on Amazon EC2. When I am checking details on AMI (Amazon Machine Images) for Oracle E-Business Suite 12.1.3 App Tier and DB Tier, I see below
    “This AMI is currently available for use in the US-East region and for the High-Memory instance family (m2.xlarge, m2.2xlarge, and m2.4xlarge)”
    Does it mean we can’t use it for US-West region? I could not find any phone number to contact AWS sales person.
    we need to setup instance this week for client's demo. Appreciate quick response.
    Thanks,
    Jigisha

    Hello
    See the logfiles adwork001.log to adwork004.log. The last lines show the errors ocurred. The best thing to do is to open an SR with Support sending those error messages.
    Hope this helps.
    Octavio.

  • 2 tier and 3 tier

    what is 2tier archiyecture and 3 tier and difference between them?
    please give me solution for this ..

    You can check these link to have more knowledge:
    http://en.wikipedia.org/wiki/Client-server_architecture for 2 tier
    http://en.wikipedia.org/wiki/Multitier_architecture for 3 or more tier
    http://www.virtu-software.com/ask-doug/QandA.asp?q=48 to compare
    Thanks,
    Gordon

  • Start/stop apps tier and database tier

    Hi,
    Could anybody told me why is necessary the database be up in order to start the apps tier ? How could I be sure that when the command (in a script) start the apps tier, the command which start the database is accomplished ?
    Thanks,
    Paul

    It depends on your hardware configuration as well as the database size.
    The best thing to do is to practice it yourself. See how long does it take for your database to start and based on that set the time interval before starting your application services. You may also use the DB script to trigger the application script so once the DB is up your application will start up.
    In Linux, You can use either "wait command" OR "sleep command". Please refer to the following links for more details about 'Job Control Commands':
    http://www.linux.com/guides/abs-guide/x6689.shtml
    http://enterprise.linux.com/article.pl?sid=05/03/25/1216215&tid=89

  • Middle tier and infrastructure location

    Hi ,
    Does Middle Tier and Infrastructure tier should be on seperate Tier or can they installed on one Tier?
    Thanks

    They are normally kept separate for security reasons (and sometimes the middle tier is broken out into OHS and OC4J tiers too), though this will mean there are more servers to license.
    If you do install both tiers on a single server be careful about assignment of ports (e.g. using staticports.ini) as this is the most likely thing to cause problems (I think there are various notes on Metalink and OTN).

  • Cloning use the different gcc version between source system and target sys

    Hi All,
    Our system is: Application tier and Database tier is split to two servers.
    We should run a cloning, but I found the different gcc version on application tier on source system and target system.
    The source application tier server is RedHat Linux ES3, gcc version is 3.2.3
    The target application tier server is RedHat Linux ES3, gcc version is 2.9.6
    There is the same gcc version on database tier on source system and target system, they are gcc 2.9.6.
    My question: Can I use the different gcc version between source system and target system when I run an erp cloning?
    Thanks & Regards
    Owen

    Not necessarily, you might get some errors if the version is higher and it is not supported by the OS. An example is Note: 392311.1 - usr/lib/gcc/i386-redhat-linux/3.4.5/libgcc_s.so: undefined reference to 'dl_iterate_phdr@GLIBC_2.2.4'
    To be on the safe side, make sure you have the same version (unless you want to give it a try).

  • Component that implements encryption solution between the browser and Java

    I need a Component that implements encryption solution between the browser and Java tier.
    I am a java programmer and have really limited knowledge about cryptography. I work on JSF . I am basically looking to build a component that will ensure that the password entered by the user in the login page of the browser is properly encrypted using Java script and then we should be able to decrypt it in the Java Tier.
    Basically, I think we need a public-private key system. We send the public key to the browser and use it with JavaScript to encrypt the key and we hold the private key on the server to decrypt it.
    If some one can help me with this it would be very helpful. Or if anyone can point me to some resource that does this kind of thing I shall be obliged.

    Can't use HTTPs as many of our existing customers
    that run on intranet do not use HTTPs.Is there really a technical reason that your clients cannot use HTTPS? If so, what is it and why would your homebrew re-implementation of the same technology be acceptable instead?

  • Difference between 3 tiers and n tiers??

    Hello,
    Can anyone tell me what the difference is between 3 tier and n tier please?
    What do the 1, 2, 3 and n tiers correspond to?
    Thanks in advance,
    Julien Martin.

    Hello,
    Can anyone tell me what the difference is between 3 tier and n tier please?
    What do the 1, 2, 3 and n tiers correspond to?1 is usually the client/view layer. It should be "thin" or "rich", but not full of business logic. That belongs on tier 2.
    2 is usually the controller/middle layer
    3 is usually the back end legacy/relational database layer.
    You get n > 3 when you inject a persistence layer between the controller and database. The number goes up from there as the architecture becomes more complex.
    But the 3 tier architecture is the main idea.

  • Webi Rich Client 2-tier Vs 3-tier?

    Could anyone explain what is 2-tier and 3-tier for Rich Client?
    Thank you

    When you login 3-tier will show a web app (j2ee or .net) in the system information, as it must connect to the connection server through the web/app. It will use the XI 3.x servers middleware connection for refreshing report data.
    If you launch it from infoview a file will be created on your local computer called something.extranet and this file will contain the web/app connection information for connecting.
    When using 2 tier connections will be made from the local computer, this requires middle ware to be set up on the workstation(s). Performance will be faster in 2-tier as a benefit. When using 2-tier only a CMS or clustername will be entered in the system.
    Regards,
    Tim

  • Communication between middle tier and infrastructure

    Hi!
    We have seven OAS machines with two infrastructure-instances and seven middle tier - instances which use these infrastructure.
    My short and simple question is: how does the communication between the middle tier and the infrastructure work? is there any file on the middle tier where you can see which middle tier is assigned to which infrastructure? there is no entry in the tnsnames.ora and i can't see any hint in the opmn.xml ...
    Regards

    If you just want to see which midtier is bound to which infrastructure you can check $ORACLE_HOME/config/ias.properties . This doesn't explain how communication works though.
    The process is roughly sad like this:
    Every midtier has a dcm-daemon. This daemon contancts the infrastructure upon start, stop & restart automagically. Next to this the daemon also contacts the infrastructure if you make changes using the enterprise manager website. If you make changes manually, you have to for the daemon to contact the infrastructure by issuing dcmctl configupdate (of updateconfig, this I mess up all the time ;) )
    The infrastructure stores certain parts of the configuration in the metadata repository, other parts are replicated to other components in the farm (e.g. if you created clusters).
    Communication is made by issueing secure ldap statements on port 636.
    This is just the basics. For more insights you either have to start reading manuals / metalink or contact an expert ;)

  • Tier and Container

    I am wondering if there's any difference between Container and Tiers? The Web Tier for example consists of Servlets and JSP Pages, which are managed by the Web Container. That's a little bit confusing to me.

    You can think of a container as a SW module that provides services and an environment for you to plug your application code into. As you mentioned the web container manages JSP and servlets that you write and deploy. The container provides a certain set of APIs and life cycle management to your application code.
    A tier is just an arbitrary grouping of similar things or functions. For instance many people look at enterprise applications as three tiered applications, the pesentation tier, the business logic tier and the integration tier. When I hear web tier I just think of all the parts of the application that make up the web based technology pieces of an application, such as JSPs, servlets, static HTML and the associated pieces including HW pieces such as load balancers and such. The web container is something that lives in the web tier but it is not the only component that may live in that tier.

  • Problem with application modules and switching from 2 tier to 3 tier mode

    Hello,
    I've got an application in 2 tier mode. Now I wanted to switch to 3 tier mode but get a class cast exception. It has turned out, that panelBinding.getApplication().getApplicationModule().findApplicationModule returns in 2 tier mode <ModuleName>Impl and in 3 tier mode oracle.jbo.client.remote.ApplicationModuleImpl. But searching for modul name with panelBinding.getApplication().getApplicationModule().getApplicationModuleNames() returns the right in names in 2 tier and in 3 tier mode. Does anybody know a way to access <ModulName>Impl in 3 tier mode?

    This is the reason that the BC4J project will create an <appmodulename>AM interface and a <appmodulename>AMClient Implementation that you include on the client side if you expose any methods in your app module. You should access them by casting it to the interface, NOT the appModuleImpl class. If you stick to using the interface, then you should be fine.
    So to keep your implementation flexible, you should do this on the client to access your custom methods on your app module:
    The BC4J project should generate the following classes:
    AppModule Name = MyCustomAM.xml
    AppModule Implementation = MyCustomAMImpl.java
    Custom AppModule Interface = /common/MyCustomAM.java
    Custom clientside AppModule Implementation = /client/MyCustomAMClient.java
    On the client, do the following:
    import my.bc4j.model.package.common.MyCustomAM;
    // Call custom method on App module
      MyCustomAM am = (MyCustomAM) panelBinding.getDataControl().getApplicationModule();
      am.myCustomMethod(someParams);Hope this helps.
    Erik

  • HT201318 I upgraded my iCloud storage capacity for a higher tier and the device does not actually reflects said upgrade. How can this be resolved since my credit card was charged

    I upgraded my Icloud storage capacity to a higher tier and my Iphone does not reflect the change although my credit card was charged and the device is nor properly backup. How can this be resolved?

    It seems to take up to a couple of days for the upgrade to take hold, at least that's the experience of some users.  Give it 24 hours before contacting apple.
    For customer service issues, go here...
    https://expresslane.apple.com/Issues.action

Maybe you are looking for

  • Best Practice for SAP PI installation to share Data Base server with other

    Hi All, We are going for PI three tire installation but now I need some best practice document for PI installation should share Data base with other Non-SAP Application or not. I never see SAP PI install on Data base server which has other Applicatio

  • Samsung ML-1710 and 10.4.8

    I installed the driver from Samsung Australia, but when the printer doesn't show up in Printer Setup. In fact, the alleged USB menu (according to Samsung Australia's website) doesn't show up. My Epson printer connects fine to the USB port. Any clues?

  • Is VPN session possible with OS 10.1.5?

    I am wondering if I can get VPN connection with this old iMac and OS X 10.1.5? I connect with my ISP without problems on a G4 PowerBook but with OS 10.1.5 I cannot even find where to enter settings for my session. I mean, the Network Setup Assistant

  • Help with volume and screen rotation.

    Having trouble with volume and rotation. I have gone through the setting and made changes to lock screen and mute, but now it seems I have to choose between the two.  The switch on the side also is not working.  Any suggestions?

  • 60 Fps video repeating Frames?

    I have a clip in After Effects CS5, its 59.94 Fps, in a 59.94 fps Comp. the video playes back very strange, every 2 frames or so, it repeates a previous frame. Here is an example, it goes, 1-2-1-2-3-2-3-4-3 ect... Can anyone help me solve this proble