Advantages and disadvantages of statefull stateless applications

Hello, can you tell e some advantages and disadvantages of statefull or stateless applications? When should i use a statefull and when a stateless application ?
Thank you

Hi,
Pls check things like
/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication
http://help.sap.com/saphelp_nw04/helpdata/en/88/9dc53a87728677e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e0/1bc1a3ccf511d4990800508b6b8b11/frameset.htm
Stateful and Stateless BSP Application
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/16f69790-0201-0010-6ba1-b73bb3f7b0e8
Eddy

Similar Messages

  • Singl/Multiple Server Oracle 10g DB and AS- Advantages and DisAdvantages

    Hi Friends,
    I am using Application1 using Oracle 10g Application Server and Oracle 10g database.
    Now i planned to use Application2 using Oracle 10g AS and Oracle 10g DB
    I need to know what will be the Advantages and Disadvantages if i have the schema for Application2 in the existing Oracle 10g DB / having it in another Oracle 10g DB Server
    sameway what will be the advantages and disadvantages if i have the Application2 regsiterd in existing Oracle 10g AS(Multiple OC4J Instance) / having it in another Oracle 10g AS Server.
    Regards

    To start the list, for me some of the advantages are:
    Same DB:
    - less overhead and wasted CPU Cycles (therefore potentially lower license fees)
    - easier maintenance (backup, recovery)
    - easier tuning (fewer conflicting external environments asking for same resources)
    - Oracle is designed for this, allows use of Resource Manager
    - technically RAC is a clustered 'same DB'
    Same AS:
    - less overhead and wasted CPU Cycles (therefore potentially lower license fees)
    - easier maintenance (backup, recovery)
    - easier tuning (fewer conflicting external environments asking for same resources)
    - Oracle is designed for this, use AS clustering
    Different DB:
    - separate maintenance (patch, upgrade) cycles for different SLA
    - easier tuning (isolate tuning to one app)
    - easier security (most developers have no idea about Oracle security and make merge impossible)
    Different AS:
    - separate maintenance (patch, upgrade) cycles for different SLA
    - easier tuning (isolate tuning to one app)
    - easier security (most developers have no idea about security)

  • Advantages and Disadvantages of  Applet over JSP/servlet

    Can some one please let me know what are the major advantages and disadvantages of using Applets over JSP/Servlet technology?

    Well, a servlet / jsp is generated on the server, an applet on the client side. That's the most important difference.
    Appelt's usually are for little applications like games and stuff, you can run in a browser.
    Servlets are for dynamic pages, for example database-viewing and stuf...

  • Advantages and disadvantages of SOAP over Http

    Hi!
    Can any one explain about advantages and disadvantages of SOAP over HTTP.
    Thanks
    Sreenath

    Hi,
    Yes you can use RMI to communicate to your soa suite server allthough i could not get it to work from weblogic 10.3, there is a conflict with certain other libraries. From any other 10.1.3 oracle application server there should not be any problem. The biggest advantage of RMI over SOAP is performance. The soap client also generates lots of logging which can not be disabled, ... i already logged a bug on that. The advantage of SOAP over RMI is its underlying HTTP protocol which is, in some cases, the only protocol allowed by network engineers to pass through firewalls.
    Kind Regards,
    Andre

  • Advantages and disadvantages among Timer, ScheduledExecutorService, Thread

    Hi, what are the exact advantages and disadvantages among using Timer, using ScheduledExecutorService and just using Thread (Thread.sleep(...))?
    For the simple task which needs to poll some values by some interval (the interval is not supposed very accurate, maybe about 5 seconds just ok), is it ok for just using Thread, like:
    run() {
      while(isRunning) {
         Thread.sleep(5000);
         //do something
    }?

    jiangyc wrote:
    Why using Timer and TimerTask is simpler and better than using Thread directly? Because it handles the rote stuff that's not directly part of your application. Ideally, your code should just be the marginal stuff that's specific to your app; anything else should be in the library you use. The less code the better.
    I feel just using Thread doesn't make my code hard to maintain and by far I don't find any performance issue raised by using Thread (in our swing application, there are maybe less than 10 Thread objects which take care of the different polling tasks). It's not a performance issue; it's a code management issue. (Although the chances are good that Timer will have been well-tuned.) The less code you have, the less code you have to wade through to fix bugs, make changes, etc. This might not seem like much when it's a small program, but it adds up. In a business environment where you have huge codebases worked on by dozens of people (many of whom don't work there anymore) it becomes really important to only write what you have to and no more. Maybe if you're doing a small project it's not important, but keeping your code clean a good habit to get into.
    And I wonder the base implementation of Timer and TimerTask is not using Thread?Of course it is. That's not the point. The point is that it keeps your code cleaner.
    When you use Thread directly, probably the only part that's directly relevant to your program (as opposed to any other program that uses Thread) is the value you're sticking in Thread.sleep() -- the delay. You specify that in the schedule() call to the Timer.
    If you keep your use of Thread minimal, then it might not be much bigger than using Timer/TimerTask, but the latter does more, including stuff you'll probably need to add (like ways to cancel the task).
    Also, when you do this using Thread, you're exposing the implementation, but when you use Timer.schedule, you're exposing the intent. The latter makes for clearer code.

  • Advantages and disadvantages of using views ???

    Hi
    What are the advantages and disadvantages of using views in ABAP porgramming ? 
    Thank You

    hi,
    Data about an application object is often distributed on several tables. By defining a view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP programs for data selection.
    More complicated views can comprise several base tables, the individual tables being linked with a relational join operation. If we dont specify the key fields, it takes time to fetch teh results.
    Regards,
    Sailaja.

  • Advantages and disadvantages of SOAP adapter

    Hi all,
    Currently we need to provide a solution connecting to the .NET environment from SAP system, one of the option is proxy <-> PI <-> soap (web service), can anybody tell me the advantages and disadvantages of web service communication via PI? Because we may also be able to connect directly via the .NET connector.
    It will be very appreciated if you could provide some proposals, thanks.
    Bean

    Hi bean qian ,
    These are the advantages of SOAP:
    SOAP(Web Services) IS A Technical Adapter.
    Openness and Interoperability are features of SAP XI.
    1)Openness
    Use open, XML-based standards
    Leverage Industry Standards in B2B scenarios
    2)Interoperability
    Connect to applications using specialized adapters
    Connect to existing integration solutions using JMS (e.g. MQSeries) or SOAP
    Web Service: SOAP on the Ropes
    u2022 The Good
    u2022 By default the SAP builds the XML per the selected protocol
    u2022 All container elements with values are added to XML document
    u2022 SOAP protocol is a synchronous process, therefore SAP waits on a
    response
    u2022 SAP automatically matches data elements in the returned XML document to
    container elements and transfers the data (in theory)
    u2022 The Bad
    u2022 Current problems with return binding for SOAP processes require special
    handling
    u2022 The Web step allows manipulation of the outgoing and incoming XML
    document via rules
    u2022 the following may ease some learning pains
    These r disadvantages of SOAP :
    The SAP XI SOAP Adapter supports Exactly-Once end-to-end processing using unique message IDs.
    This is an excellent blog which neatly explains u in detail of SOAP with WEB:
    An Overview of SOAP

  • Advantages and disadvantages of using Caringorm Framework.

    Hi,
    I am new to Caringorm framework.. In our project we need to make discussion whether to use Caringorm framework or a simpler architecture(flex à servicesàServer side) to use
    Please let me know the advantages and disadvantages of using Caringorm framework from your experiences.
    Thanks in advance.

    hi,
    Data about an application object is often distributed on several tables. By defining a view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP programs for data selection.
    More complicated views can comprise several base tables, the individual tables being linked with a relational join operation. If we dont specify the key fields, it takes time to fetch teh results.
    Regards,
    Sailaja.

  • Advantages and disadvantages of OA Framework

    Hi All
    Can any one please share your experiences of advantages and disadvantages of OA Framework over JSP...
    I am preparing a document which is to be submitted to Client..
    Please share your experiences, it is urgent for me..

    There is no hardcore adv/disadv of using OAF over jsp, but in Oracle Applications, you either need to use JTF/JTT fwk or OA fwk to code pages that can be used within Oracle Applications, and in those terms OAF is a better framework than JTF.
    Normal jsp/java or other frameworks have enormous capabilities, but doesnt fill the Oracle Applications requirement as good as what OAF does.
    Thanks
    Tapash

  • Advantages and disadvantages of software updating

    Hello all
    i just need to ask about software update
    i already have IMAC at my office
    the software version was 10.6.3 original which come with the machine
    then i update the software to Mac os 10.7.3 by press on "About this mac"
    now my friends tell me it may get block from apple company
    and my software now is not original because i update the software to Lion 10.7.3
    other friend tell me the software will not be compatible i don't know exactly how come because i know all mac version is the same *.dmg extension
    is the machine will be slow ??
    all i need now is your opinion as professionals about advantages and disadvantages to Update software to 10.7.3
    please answer me as soon as possible because it's urgent for me

    The only way you can upgrade from 10.6 (Snow Leopard) to 10.7 (Lion) is by Purchasing the Lion OS in the Mac App Store - is this what you did ?
    If so then it's fine and you have the latest OS installed, the current update to that is 10.7.3
    One key difference betwen those is that Rosetta and PowerPC applications are no longer supported and you might need to download/purchase software upgrades for the newer OS, Apple isn't going to 'block' you for doing any of this ...

  • Advantage and Disadvantags of ActionScript 3

    Hi professionals of ActionScript 3!
    I just started flash animation and learning ActionScript. But
    I found one thing that there existing ActionScript 1, 2, 3 versions
    and ActionScript 2 components is using only ActionScript 2 code.
    Please tell me advantages and disadvantages of both ActionScript.
    Please advise which is powerful and has more info and sources. What
    kind of links between then existing.
    Thanks in advance!
    Said Babanli

    Said,
    > Please tell me advantages and disadvantages of both
    > [versions of] ActionScript. Please advise which is
    > powerful and has more info and sources.
    ActionScript 1.0 and 2.0 both run on the same virtual
    machine (AVM1)
    inside Flash Player. As of Flash Player 9, the player runtime
    features two
    virtual machines (AVM1 and AVM2), the second of which runs
    ActionScript 3.0.
    Right off the bat, this tells you that Flash Player 9 or
    higher is required
    if you want to program with ActionScript 3.0. In one sense,
    that's a
    potential "disadvantage" of AS3: if your users have Flash
    Player 8 or lower
    installed, you simply can't use that version of the language.
    Instead,
    you'll have to use AS2 (as far back as Flash Player 6) or AS1
    (as far back
    as Flash Player 5), or slash-notation proto-ActionScript if
    you need to go
    even further back than that. Ultimately, then, the version of
    ActionScript
    you use depends on the version of Flash Player you expect
    your users to have
    installed.
    AS2 is the first version of ActionScript to officially
    support custom
    classes (external text files structured in a particular way,
    using folders
    for classpaths and the "class" keyword). For more information
    on
    classpaths -- written for AS2, but basically applies to AS3
    -- see this URL:
    http://www.quip.net/blog/2006/flash/understanding-classpaths
    For many people (myself included), custom classes provide a
    powerful way
    to organize code into reusable objects -- just like the given
    objects in
    ActionScript's native API. Be aware, however, that custom
    classes are *not
    a required workflow* in AS2 or AS3. If you prefer, you may
    place your AS2
    or AS3 code into timeline keyframes, just like with AS1.
    Contrarily, even
    though true classes are not officially supported by AS1, you
    can mimic many
    of the benefits of classes by following the instructions here
    (an incomplete
    resource, but very useful):
    http://www.debreuil.com/docs/
    It would take pages and pages of notes to give you a
    thorough list of
    the benefits (and disadvantages!) of every version of
    ActionScript. Even
    then, it would be difficult to demonstrate that such a list
    was complete, so
    to keep things simple: as a general rule, each new version of
    ActionScript
    is presumed to be better than its predecessor. AS1 was more
    powerful than
    Flash 4-era ActionScript because it provided a considerably
    larger API. AS1
    also made it easier to target objects with dot notation than
    with slash
    notation and cumbersome getProperty() and setProperty()
    functions. AS2 was
    more powerful than AS1 because it provided native support for
    classes. It
    introduced variable typing, which helped with code completion
    and
    compile-time error checking. (AS2 also coincided with an even
    larger API,
    but that's a parallel benefit due to increased functionality
    in subsequent
    versions of Flash Player.) AS3 is more powerful than AS2
    because the syntax
    of custom classes has become more strict. I personally find
    that stricter
    syntax helps a programmer avoid "lazy" or "sloppy" practices,
    encouraging
    the programmer to code with purpose.
    For more thoughts along these lines, here's a free excerpt
    from a book I
    recently co-authored for O'Reilly (bear in mind, these are
    largely
    subjective opinions, but they work for me):
    http://www.communitymx.com/abstract.cfm?cid=16D76
    I'll probably start repeating myself soon, but to sum up:
    AS2 has
    advantages over previous versions because it provides
    numerous options and
    improvement in ease of use. AS3 improves even further by
    "cleaning up" the
    language by making it more strict and by providing a stronger
    internal
    consistency.
    Here are a few quick examples.
    In AS2, to create an instance of the Sound class (that is,
    an object you
    can use for programming audio), you simply use the "new"
    keyword:
    // AS2
    var mySound:Sound = new Sound();
    Most classes can be instantiated in this way, but in AS2,
    there are
    notable exceptions, including movie clips and text fields.
    // AS2 -- this does NOT work!
    var myMC:MovieClip = new MovieClip();
    var myTF:TextField = new TextField();
    This can be confusing to a newcomer, because it seems so
    arbitrary.
    (Someone new might well think, "Why can't instances be made
    the same way
    across the board?") In AS3, instantiation is more consistent:
    // AS3
    var mySound:Sound = new Sound();
    var myMC:MovieClip = new MovieClip();
    var myTF:TextField = new TextField();
    This is also true for event handling. In AS2, there are four
    or five
    ways to do it: the on() and onClipEvent() functions, their
    dot notation
    equivalents, addListener(), and addEventListener(). They're
    all valid in
    AS2, but not all interchangeable. Some work for components,
    some for other
    sorts of objects. It takes effort to memorize which objects
    work with which
    approach. In AS3, outside of a very small number of
    exceptions, most event
    handling is done with a single, consistent approach:
    addEventListener().
    For a newcomer, this is easier to learn because once the
    technique is
    understood, it works in nearly every scenario.
    As far as performance is concerned, AS3 trumps AS2
    significantly. AS3
    performs better and faster than all previous versions of
    ActionScript -- but
    you'll only notice this with complex applications, especially
    those
    involving a high volume of number crunching.
    Here are a few more links that may prove helpful to you:
    ActionScript 3.0 Overview
    http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html
    Tips for Learning ActionScript 3.0
    http://www.adobe.com/devnet/actionscript/articles/actionscript_tips.html
    ActionScript 3.0: Is it Hard or Not?
    http://www.insideria.com/2008/01/actionscript-30-is-it-hard-or.html
    You also asked which version of the language has more "info
    and
    resources." By that, I assume you mean online resources, such
    as blogs,
    tutorials, and so on. That question is hard to answer, but my
    *guess* is
    that there are still more resources online about AS2 than AS3
    ... but AS3
    will probably catch up soon.
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/5j55cv
    "Luck is the residue of good design."

  • Web Services : What Advantages and Disadvantages ?

    I would like to exchange experiences of projects using webservices, for example: I have a situation where accurate modeling in SAP/BW for possible connection with an application of Manufacturing Execution System
    Where the SAP/BW will receive and store information challenge application, the principle using webservices.
    - I want to see what the advantages and disadvantages of this type of connection, as well as its limitations.
    No need for acquisition of information (real time), the requirement is to store information on the previous day.
    Thank you, regards
    Bruno

    Hi Bruno,
    Kindly find the follwoing links
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
    Warm Regards
    Suma Humberi

  • Advantages and Disadvantages of calling java from PL/SQL

    Hi,
    I have one doubt. What are all the advantages and disadvantages of the calling java from PL/SQL?
    In actual scenario the java program will be in the Application server side. It will do the operation and it will store the result in Data base. But in this case (calling java from PL/SQL), we are loading the java program in the Data base and it is doing the operations.
    I have seen many posts are coming regarding loading jar files into the database. Actually the jar will deploy in to Application server. Is there any difference instead of keeping in the Application server side?
    Then I have read,
    advantages:
    -> java having lot API's. so PL/SQL can use that API's.
    -> if we can not do anything in PL/SQL. we can do it using this mtd(calling java from PL/SQL).
    My questions:
    -> could you explain what are all the things we can not do but we can do using "calling java from PL/SQL" method?
    -> is there any other advantages?
    Disadvantages:
    -> the performance is very slow in calling java from PL/SQL.
    My questions:
    -> Then why others are loading java files and jar files into database?
    -> is there any other disadvantages?
    Could you explain about this one? It will be more helpful to others also…
    Regards,
    kk

    Hi,
    You can read the free first chapter of my book @ http://www.amazon.com/gp/product/1555583296/ (see details then Excerpt)
    Kuassi http://db360.blogspot.com

  • Advantage and Disadvantage of Upgrade

    Can anyone tell what are the advantages and disadvantage of upgrading weblogic server from one version to another. Also can I have a comparison of weblogic 10.3 and weblogic 10.3.3.

    Hi,
    To see all the new features in Weblogic Server 10.3.3 and 10.3 can be found in the below link which would help you to compair between them
    Topic: What’s New in Oracle WebLogic Server - WLS 10.3.3
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13852/toc.htm
    Topic: What’s New in Oracle WebLogic Server - WLS 10.3
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/notes/new.html
    Advantages for upgrade is that you most of the bug would be fixed in the higher verison and can also get more features in it too. However few things which everyone has to keep in mind during upgrading the sever are like
    - Make sure you have a backup of a domain, any other external applications also application database resources etc before upgrading. However normally upgrading process has an option if you need a backup but that would only backup the domain directory only.
    - Upgrading process would recreates the scripts like start-up and shut-down scripts, hence any customization made in them would not be taken, thus keep a backup of the scripts also.
    - Usually when you run the process then the old domain is been updated by the new scripts, domain structure etc however everything is done at the same old place where your domain is kept.
    - This process does not upgrade a JMS JDBC or file store.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • Advantage and disadvantage of xml publisher, report builder and discoverer

    Hi,
    anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
    thanks in advance!

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

Maybe you are looking for

  • Autoconfig fail EBS R12 Apps-Node with EBS 11gR2 RAC

    Platform: HPUX IA 64-11.31 DB: 11.2.0.3 Nodes: 2 We were following metalink note 823587.1 and have successfully converted single-instance database of EBS R12 to 20node RAC. When we are trying to do steps of Section-3.8 of the note the autoconfig is r

  • Remote_user not passed in reverse proxy

    Hi Team, Our webserver is ARR enables.Trying to setup the reverse proxy but  using urlrewrite.Request reaches the backend server but the Request header Remote_user is empty.Any workaround to pass the value to the Backend server. Do i need to build a

  • Gather_Plan_Statistics + DBMS_XPLAN A-rows for parallel queries

    Looks like gather_plan_statistics + dbms_xplan displays incorrect A-rows for parallel queries. Is there any way to get the correct A-rows for a parallel query? Version details: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi on HPUX

  • Output as pdf file

    hai all,           in message determination process for P.O, my output should be in pdf  format.what are all the settings to be done.

  • As a computer science graduate interested in programming (not in graphics) which macbook pro should i go for?

    13 inch retina 3.0 GHz dual core or 15 inch retina 2.4 GHz quadcore Price is not that much of a concern as I'm getting both of them at almost the same price. One of the guys on quora suggested that a top end  mac air can also be considered