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.

Similar Messages

  • HT204268; I have purchases on an aol login pre 2008 and all recent stuff under an apple id. I currently see and use everything when i login with the apple id. After March 31st will my apple id account still show and contain all?

    HT204268; I have purchases on an aol login pre 2008 and all recent stuff under an apple id. I currently see and use everything when i login with the apple id. After March 31st will my apple id account still show and contain all?
    I understand the instructions to create a new account id (apple id) from the old aol account. However, does this mean my purchases will be split into 2 accounts; or does the fact that I currently see everything under my apple id (regardless of the purchased by username) mean this will all still appear in my current account as it does now?

    You see them where when you login your non-AOL account ?
    If you currently have two accounts (the AOL username account and an email address account) then you will continue to have two accounts, and nothing should change when you update the AOL account to be an email address (apart from how you access that account).
    You will just be renaming the account to have an email address for accessing it, not creating a new account.

  • 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

  • ResultList and Container objects

    The Java ResultList and Container objects are used in SAP Mapping UDF's ...does anyone know which specific jar files contain these object definitions ?
    Thanks,
    Rod.

    For PI 7.0(3.0) you need the libraries: aii_mt_rt.jar, aii_map_api.jar, aii_utilxi_misc.jar
    For PI 7.1 you need the libraries: com.sap.xi.mapping.tool.lib_api.jar, com.sap.xpi.ib.mapping.lib.jar, com.sap.aii.utilxi.server.jar
    /people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio

  • Trying to understand context indexes and contains-help

    Hi
    i am using
    Achieving functionality of many preferences using one context index
    to understand context indexes and contains
    and i get the following
    Error starting at line 1 in command:
    begin
    ctx_ddl.create_preference ('nd_mcds', 'multi_column_datastore');
    ctx_ddl.set_attribute ('nd_mcds', 'columns', 'text nd, text text');
    ctx_ddl.create_section_group ('nd_sg', 'basic_section_group');
    ctx_ddl.add_ndata_section ('nd_sg', 'nd', 'nd');
    ctx_ddl.create_preference ('test_lex', 'basic_lexer');
    ctx_ddl.set_attribute ('test_lex', 'whitespace', '/\|-_+');
    end;
    Error report:
    ORA-06550: line 5, column 15:
    PLS-00302: component 'ADD_NDATA_SECTION' must be declared
    ORA-06550: line 5, column 7:
    PL/SQL: Statement ignored
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    so i am using the following to check for the error
    http://docs.oracle.com/cd/E18283_01/text.112/e16593/cddlpkg.htm#BABCBFCB
    plus
    oracle text application developer's guide
    plus
    oracle text reference
    but these have not listed that error (i have even googled this in vain)
    background::we were actually using catsearch but because of its downsides i want to implement this
    Is Achieving functionality of many preferences using one context index a good place to start when one does not know about
    context and contains??
    please post any other useful link for contains and context index that even explains
    1) fuzzy
    2) stem
    3) synonym
    4) near
    5) soundex
    6)ndata
    7)lexer
    thanks in advance

    Ndata is new to Oracle 11g. Your other posts indicate that you are using Oracle 10g, so you don't have ndata, so you get an error when you try to use it. If you want to use the 11g features that enable context indexes with contains to do all of the things that ctxcat indexes with catsearch do, then you need to upgrade to 11g.
    The online documentation is searchable. Most things regarding Oracle Text are contained in either the Oracle Text Reference or the Oracle Text Application Developer's guide.
    I suggest that you start with something very simple, then build from there.
    The following is similar to your other post that used catsearch:
    SCOTT@orcl_11gR2> CREATE TABLE mv_cat_seg_reg_prod
      2    (cat_ids       VARCHAR2 ( 7),
      3       act_status    VARCHAR2 (10),
      4       name           VARCHAR2 ( 1),
      5       email           VARCHAR2 ( 1),
      6       address1      VARCHAR2 ( 1),
      7       address2      VARCHAR2 ( 1),
      8       contact_name  VARCHAR2 ( 1),
      9       mobile           VARCHAR2 ( 1),
    10       telephone     VARCHAR2 ( 1))
    11  /
    Table created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO mv_cat_seg_reg_prod VALUES
      3    ('1', 'Y', 'A', 'B', 'C', 'D', 'E', 'F', 'G')
      4  INTO mv_cat_seg_reg_prod VALUES
      5    ('2', 'N', 'H', 'I', 'J', 'K', 'L', 'M', 'N')
      6  SELECT * FROM DUAL
      7  /
    2 rows created.
    SCOTT@orcl_11gR2> CREATE INDEX mv_cat_seg_reg_prod_idx
      2  ON mv_cat_seg_reg_prod (cat_ids)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  /
    Index created.
    SCOTT@orcl_11gR2> SELECT token_text FROM dr$mv_cat_seg_reg_prod_idx$i
      2  /
    TOKEN_TEXT
    1
    2
    2 rows selected.
    SCOTT@orcl_11gR2> SELECT *
      2  FROM   (SELECT SCORE (1), name, email, address1, address2, contact_name, mobile, telephone
      3            FROM   mv_cat_seg_reg_prod
      4            WHERE  CONTAINS (cat_ids, '1', 1) > 0
      5            AND    act_status = 'Y'
      6            ORDER  BY DBMS_RANDOM.VALUE)
      7  WHERE  ROWNUM < 8
      8  /
      SCORE(1) N E A A C M T
             4 A B C D E F G
    1 row selected.

  • HashSet get() and contains() methods, by value or reference?

    All the tutorials I've seen on HashSets use Strings as the object type. With Strings, it seems the get() and contains() methods work by value, not by reference.
    <CODE>
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    HashSet<String> set = new HashSet<String>();
    set.add(s1);
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    </CODE>
    But when I use a custom object, it works by reference:
    <CODE>
    MyClass c1 = new MyClass("dog", 1);
    MyClass c2 = new MyClass("cat", 1);
    MyClass c3 = new MyClass("dog", 2);
    MyClass c4 = new MyClass("dog", 1);
    HashSet<MyClass> myClassSet = new HashSet<MyClass>();
    myClassSet.add(c1);
    System.out.println(myClassSet.contains(c1)); //true
    System.out.println(myClassSet.contains(c2)); //false
    System.out.println(myClassSet.contains(c3)); //false
    System.out.println(myClassSet.contains(c4)); //false
    </CODE>
    ("MyClass" is a simple class that holds a String and an int).
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?

    803559 wrote:
    With Strings, it seems the get() and contains() methods work by value, not by reference.
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?Warning: Never use the term "by reference" around Java geeks. It makes 'em go all green at the gills and they start muttering about 'bloody C++ crossovers'.
    However, as DrClap pointed out, you've mis-diagnosed the problem:
    System.out.println(s1 == s1);
    System.out.println(s1 == s2);
    System.out.println(s1 == s3));would print out the exact same results.
    For an explanation why, Google "Java String pool" or try [url http://stackoverflow.com/questions/3297867/difference-between-string-object-and-string-literal]here.
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?Absolutely. But, as others have said, you'd need to override equals() and hashCode().
    Winston

  • 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

  • 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

  • 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.

  • Using databases and container events?

    I'm having trouble finding documents show how one should use databases and listen for container events? I'm using Berkley Java DB. I'll need all my remote object to have access to the database. How do I pass that in? Custom adapters? Also, when Tomcat shuts down I need to close the database, how would this be down? Custom adapters? So I may be answering my own question, but I'm asking cause I really don't see anything in the documentation that points this out. It really looks like I'd be using singletons and factories for this. I could register a Servlet or Servlet Context to listen for Tomcat events, but I figured it couldn't hurt to ask others using Blaze, as I'm very new to it. Thanks.

    So how would you tell Blaze to use this? Is there something you put into the config file? My thoughts on all this is to use PicoContainer to manage all services then create an adapter to inject all resources when creating remote objects. But this seems a little heavy if Blaze can do all this for me. The adapter seems like the injection point to me. Is that not what it's used for? Or is using it like that bad practice under Blaze? I've read all I can find on Blaze, so either it's missing docs, or I'm not finding them all. If I'm missing them, by all means let me know where to go. I don't want to ask questions that are already answered in documents else where.
    On Tue, May 20, 2008 at 10:51 AM, Mete Atamel <
    [email protected]> wrote:
    A new message was posted by Mete Atamel in
    General Discussion --
      Using databases and container events?
    I think it's mainly in JavaDocs but here's a sample I have where I check to make sure the HSQLDB is running as the BlazeDS starts up:
    import java.sql.Connection;
    import java.sql.SQLException;
    import flex.messaging.config.ConfigMap;
    import flex.messaging.services.AbstractBootstrapService;
    public class DatabaseCheckService extends AbstractBootstrapService
        // This is called right before server starts up.
        public void initialize(String id, ConfigMap properties)
            Connection c = null;
            try
                // Check that the database is running...
                c = ConnectionHelper.getConnection();
                // ... if yes return
                return;
            catch (SQLException e)
                System.out.println("DB is not running!");
            finally
                ConnectionHelper.close(c);
    // This is called as server is starting.
        public void start()
            // No-op
    // This is called as server is stopping.
        public void stop()
            // No-op
    View/reply at
    Using databases and container events?
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.
    "All that is necessary for the triumph of evil is that good men do nothing." - Edmund Burke

  • My iCloud on my phone is undJer another persons account I however am no longer with them and want to cut all ties and is there any way for me to change my iCloud account or will it affect my phone? And it's photos, apps, music?

    My iCloud on my phone is under another persons account I however am no longer with them and want to cut all ties and is there any way for me to change my iCloud account or will it affect my phone? And it's photos, apps, music?

    You have to delete the iCloud account but you can keep all your data such as Contacts, Calendars etc. when you delete the account you will prompted to "Keep on my iPhone".
    All your purchased content (like apps and music from iTunes Store) belongs to the original ID and you have to re-Purchase them under your Apple ID.
    Photos in Camera Roll remains in Camera Roll.
    Photos in photo stream that are not in Camera Roll must be saved in Camera Roll.
    Photo that previously synced from iTunes remains in photo library until you synced with another iTunes library (another computer).
    Also sign out from iMessages, FaceTime and Home sharing (Settings>Music)

  • Import and contain?

    Hi,
    My wife wants me to import a group of contacts she's compiled of invitees to a party we're throwing. The problem is twofold:
    1) When I import her list, which contains some contacts I already have in my list, her duplicate contacts overwrite my existing ones, which is not good in cases where I have more detailed contact information for the person than she does. Is there a way to import her group without overwriting the duplicates using her info?
    2) There are many contacts in this group that I'll want to delete from my contact list afterward, as my car takes all of my contacts via bluetooth, and I'd rather purge most of this group after the invites are sent. Is there a way to import these individuals and contain them for later deletion without having them added to my main contact list?
    Whew! Thanks for reading all of that, and thanks so much in advance for any help you might be able to give!
    Cheers,
    Rob

    Oops... figured this out, with the update options, and then I can just save my address book and restore it to that saved version whenever I want.

  • Tuning SQL query with SDO and Contains?

    I'trying to optimize a query
    with a sdo_filter and an intermedia_contains
    on a 3.000.000 records table,
    the query look like this
    SELECT COUNT(*) FROM professionnel WHERE mdsys.sdo_filter(professionnel.coor_cart,mdsys.sdo_geometry(2003, null, null,mdsys.sdo_elem_info_array(1,1003,4),mdsys.sdo_ordinate_array(809990,2087279,778784,2087279,794387,2102882)),'querytype=window') = 'TRUE' AND professionnel.code_rubr ='12 3 30' AND CONTAINS(professionnel.Ctx,'PLOMBERIE within Nom and ( RUE within Adresse1 )',1)>0
    and it takes 15s on a bi 750 pentium III with
    1.5Go of memory running under 8.1.6 linux.
    What can i do to improve this query time?
    null

    Hi Vincent,
    We have patches for Oracle 8.1.6 Spatial
    on NT and Solaris.
    These patches include bug fixes and
    performance enhancements.
    We are in the process of making these patches
    avaialble in a permanent place, but until then, I will temporarily put the patches on:
    ftp://oracle-ftp.oracle.com/
    Log in as anonymous and use your email for
    password.
    The patches are in /tmp/outgoing in:
    NT816-000706.zip - NT patch
    libordsdo.tar - Solaris patch
    I recommend doing some analysis on
    individual pieces of the query.
    i.e. time the following:
    1)
    SELECT COUNT(*)
    FROM professionnel
    WHERE mdsys.sdo_filter(
    professionnel.coor_cart,
    mdsys.sdo_geometry(
    2003, null, null,
    mdsys.sdo_elem_info_array(1,1003,4),
    mdsys.sdo_ordinate_array(
    809990,2087279,
    778784,2087279,
    794387,2102882)),
    'querytype=window') = 'TRUE';
    2)
    SELECT COUNT(*)
    FROM professionnel
    WHERE CONTAINS(professionnel.Ctx,
    'PLOMBERIE within Nom and ( RUE within Adresse1)',1) >0;
    You might want to try reorganizing the entire
    query as follows (no promises).
    If you contact me directly, I can try to
    help to further tune the SQL.
    Hope this helps. Thanks.
    Dan
    select count(*)
    FROM
    (SELECT /*+ no_merge */ rowid
    FROM professionnel
    WHERE mdsys.sdo_filter(
    professionnel.coor_cart,
    mdsys.sdo_geometry(
    2003, null, null,
    mdsys.sdo_elem_info_array(1,1003,4),
    mdsys.sdo_ordinate_array(809990,2087279,
    778784,2087279,
    794387,2102882)),
    'querytype=window') = 'TRUE'
    ) a,
    (SELECT /*+ no_merge */ rowid
    FROM professionnel
    WHERE CONTAINS(professionnel.Ctx,
    'PLOMBERIE within Nom and
    ( RUE within Adresse1)',1) >0
    ) b
    where a.rowid = b.rowid
    and professionnel.code_rubr ='12 3 30';
    **NOTE** Try this with no index on code_rubr
    null

  • Powershell and -contains

    Hi, 
    I have a little problem with powershell and "contains"
    In this situation works well and return "true"
    $test = "where is the word"
    ($test).Contains("word")
    but in this other return always "false" 
    $test = Get-Process
    ($test).Contains("winlogon")
    Why? 
    Thanks
    Andrea Gallazzi
    windowserver.it - blog:
    andreagx.blogspot.com
    This posting is provided AS IS with no warranties, and confers no rights.

    Hi,
    Try looking at the ProcessName property:
    PS C:\Scripts\PowerShell Scripts\Misc Testing\1-10-2014> $test = Get-Process
    PS C:\Scripts\PowerShell Scripts\Misc Testing\1-10-2014> $test.ProcessName.Contains('winlogon')
    True
    EDIT: If I remember correctly, I believe this requires PS3+ though.
    EDIT2: This will work if you only have v2 (I'm sure there's a better way to do this, but this'll work in a pinch):
    PS C:\> $found = $false
    PS C:\> $test = Get-Process
    PS C:\> $test | ForEach { If ($_.ProcessName.Contains('winlogon')) { $found = $true } }
    PS C:\> $found
    True
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Patching mid tier and infrastructure tiers.

    Greetings!!!
    I am having some questions on patches and hope someone can help me here.
    We have two Oracle Application Server machines both on Windows 2003 servers 32-bit and both are on 10.1.2.0.2 release.
    The first machine is hosting HTTP Server, Forms (OC4J_BI_Forms), Reports, Webcache (Application/Mid tier). Release is 10.1.2.0.2
    The second machine is hosting OID+Metadata repository, Single Sign-On, HTTP Server, and OC4J_Security (Infrastructure Tier). Release is 10.1.2.0.2.
    I am now applying patches to both the servers.
    Here are the steps I have:
    1. Apply the Patch 4505133 on the Infrastructure (10.1.0.5 Patch Set)
    2. Apply the Patch 5983622 on the Mid-tier. (10.1.3 patch set)
    I have already completed step (1). I patched the infrastructure database from 10.1.0.4 to 10.1.0.5.
    Am I missing the other step to patch Infrastructure tier components? Should I also patch the HTTP Server and the Oracle Home on infrastructure tier? I am not talking about the infrastructure database here. I am already done with that step.
    If I only patch the Mid Tier with #5983622, then won't the mid tier will be on 10.1.3 release and infrastructure components (HTTP Server, SSO) will be on the same old 10.1.2.0.2.
    The primary requirement is that I need to upgrade HTTP servers on both the tiers to the same level. Can you suggest me the equivalent of patch 5983622 for infrastructure tier and the way forward? Will appreciate any answers!!! TY.

    Hello,
    I think u are mixing some things here.
    In order to apply 5983622, u have to update database version is 10.1.0.4 to 10.1.0.5. (patch 4505133) That must be done before patching the two homes of Application Server.
    Patch 5983622 is for Application Server. U have to apply it on Infrastructure Tier and on Application/Mid tier Home, in order to update Application Server from 10.1.2.2 to 10.1.2.3.
    regards,
    Pedro

Maybe you are looking for

  • Ctrl and shift alt shortcuts not working in Illustrator CS4

    Hi Can´t seem to get these keys to work properly. For instance while drawing with the rectangle tool then pressing shift to get a square does not give me a square, all I get is a tooltip balloon saying "shift" same goes with ctrl and alt and spacebar

  • How do i reset my Iphone 4 password without restoring to default?

    Recently I've been having problems with my roommates watching me enter my password which forced me to change it periodically. Only now I can't remember what I changed it to most recently and restoring it to factory settings isn't really an option con

  • I cannot transfer music from my external hard drive to my new machine. Help!

    I backed up all of my iTunes from my old computer to my external hard drive. When I went to transfer them to my new computer, they did not show up. They can only be accessed if the hard drive is connected.  I downloaded the iTunes version for Windows

  • Unable to price match Shadow of Morder including GCU discount

    Well I think was Sunday I called in try to get Shadow of Mordor price matched at currently weekly ad price of $49.99.  As the purchase was made with the GCU, the phone rep had no clue what GCU was and did not know that the GCU discount stacks with pr

  • Layouts looking 'right' in Dreamweaver

    Hi all, I seem to have this reoccurring problem, when I design layouts, I get them the way I want they look great in IE/Firefox but when working on them in Dreamweaver the layout looks messy and sometimes quite hard to work with.... I attach my CSS a