What is the main advantage in EJB Transactions.

My question is i can have a stateless bean to accept the client requests and will set the Autocommit of database to false and which will invoke the java bean component based up on transaction code and passes the database connection object . the java bean component may perform its business logic and return a success or failure to the stateless bean. then the stateless bean can commit or rollback the transaction.
In the above case i am able to achieve atomicity . In that case what is the need for Transactions.
Thanks
Bala.J

you're forgetting that EJBs are components.
I may decide that my component should call your component.
I may need to have all this work happen as a unit of work.
I may be on a different app-server (connections are not serializable)
Possibly your component is integrated into a larger work-flow process.
In these cases, a commit of rollback by your EJB would be incorrect.

Similar Messages

  • What is the main purpose of MEREP_EX_REPLIC  transaction code

    hi,
    i want know the main use of MEREP_EX_REPLIC, MEREP_MIG and
    MEREP_MON transaction codes.
    Regards,
    Anu

    Hi anusha,
    MEREP_EX_REPLIC-  (Execute Replicator) is used for  replicating SyncBO IDs.
    MEREP_MIG -    (Used for Migration) When u go for migration of a SyncBO using the SAP transport technology we use the Export and Import options.
    MEREP_MON-   (Mobile Monitor )The transaction MEREP_MON is a tool used to display inbound and outbound worklists of SyncBOs. Simply, transaction MEREP_MON allows you to see what is sent from the client to the MW and what happend when trying to send it to the Backend. May check there if you can see anything coming into the MW from the client. As well check what is the outcome (processing status) of these worklists.
    Do check the below link...Its worth.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/909d75c3-0801-0010-5f92-920a78c53daa">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/909d75c3-0801-0010-5f92-920a78c53daa</a>
    Similarly there are many other transactions...Check some of the below:
    MCD - MI:Process Mobile Component
    ME_WIZARD -ME:Registration and eneration
    MEREP_EX_REPLIC-Execute Replicator
    MEREP_LOG -Activity Log
    MEREP_MIG -Migration
    MEREP_MON- Mobile Monitor
    MEREP_PD - Profile Dialog
    MEREP_PURGE - Purge Tool
    MEREP_SBUILDER - SyncBO Builder
    MI_ALBACK - Back Up CCMS Alerts for MI
    MI_ALMON - Alert Monitor for MI Alerts
    MI_MCD -MI:Process Mobile Component
    MI_MSD -MI:Process Mobile Component
    S_ABA_72000157-Alert Customizing
    SMOMO - Mobile Engine
    Cheers,
    kumarR
    Message was edited by:
    KumarR
            kumarR

  • What are the main advantages of having multiple WLS_FORMS instance servers?

    Hi,
    I know it's possible to deploy multiple instance weblogic forms servers (WLS_FORMS). What are the advantages of having multiple instance of forms server?
    When we deploy forms&reports 11g the configuration process creates WLS_FORMS and WLS_REPORTS. Is there any advantage of having under the same physical server more than one WLS_FORMS server?
    Regards
    Ricardo

    The exact advantages and disadvantages will depend on exactly how you configure your environment. Remember that everything good comes with a price. So for example, you can add additional managed servers to improve scalability, but doing this means consuming more system resources. So although you may now be able to service twice as many users, it may have cost you 1gig of RAM or more (just an example).
    I would recommend taking a look at the documentation as it offers a pretty good high level view of the possible configurations and their advantages. Here is a good starting place:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13716/understand_domains.htm
    The complete documentation set for FMw 11.1.1.3 and WLS 10.3.3 can be found here:
    http://download.oracle.com/docs/cd/E14571_01/index.htm

  • What are the main advantages of using the IP Spoofing options in OLT?

    We are currently re-thinking our deployment of OATS (currently only 2 agent machines) and I was wondering about the benefits of using IP spoofing. Has anyone got any experience of using this feature (examples of when it's required)?
    What sort of scenarios does tests coming from multiple IP addresses assist with (I can think of issues with load-balancing depending on how this is configured)?
    I'm aware of the issue with ephemeral port exhaustion (mentioned in the OATS release notes) but would IP spoofing help?

    The "Known Problems, Limitations and Workarounds" section of the OATS Release notes usually mentions the following (which I've seen referred to as ephemeral ports before):
    Problem: Load tests on agent machines running Windows XP or Windows 2003
    may experience TCP port exhaustion during load testing. When too many TCP
    ports are opened on the agent machine, virtual users may fail with errors such as:
    java.net.SocketException: No buffer space available (maximum connections
    reached?)
    and
    The attempt to connect to the server XXXXX on port NNNN failed. Comparable
    WinInet error code: error 12029: ERROR_INTERNET_CANNOT_CONNECT. Caused by:
    java.net.BindException occurred. Error Message: Address already in use: connect
    Resolution: By default, Windows XP and Windows 2003 only allow 5000 TCP
    ports. This number should be increased according to the steps here:
    http://msdn.microsoft.com/en-us/library/aa560610(v=bts.20).as
    px
    In Windows Vista and Windows Server 2008, the default port range is increased
    from 5,000 to about 65,000 ports:
    http://support.microsoft.com/kb/929851/

  • What are the main transaction codes in XI?

    What are the main transaction codes in XI?

    SAP XI TRANSACTION CODES
    ALRTCATDEF- Alerts Configuration.
    ALRTDISP - Display of Alerts Created
    SXMB_IFR -> Start Integration Builder
    SXMB_MONI -> Integration Engine - Monitoring
    SXI_MONITOR -> XI: Message Monitoring
    SXI_CACHE -> To Access IS runtime cache
    SXI_SUPPORT -> Test all the Repository and Directory Objects
    SXI_CACHE -> XI data directory cacheidx1 -> idoc adapter
    IDX2 -> idoc metadata
    IDX5 -> monitor idoc adapter
    SM21 -> log di sistema
    ST22 -> dump abap (analisi di eccezioni)
    SMQ1 -> messages inbound e outbound queue
    SMQ2 -> messages inbound e outbound queue
    SMICM -> J2EE administration
    ST06 -> stato della macchina cpu memory filesystem machine status - cpu, memory and file system.
    ST03 -> workload.
    SCC4 -> visualizza mandanti del sistema
    WE20 -> partner profiles
    sale - ale settings
    RZ10 - edit system profile
    SM59 ->mantain rfc destinations
    BD64 -> mantain distribution model (trasformazioni)
    SU01 -> users
    AL08 -> list all logged users(user login logon)
    SE10 -> Change Request
    SE09 -> Change Request
    WE05 -> All idocs
    WE19 -> IDoc Test Tool
    WE21 -> port definition
    SE11 -> Data dictionary
    SM21 -> log sistema xi
    se37 -> mantain funcion modules
    SICF -> http server configuration
    SMGW -> trace, alzare livello di trace.
    BD13 ->
    BD64 -> modelli di distribuzione
    PFCG -> Roles
    tabella TSTC -> sap transactions codes
    tabella TSTCT -> transaction descriptions
    STMS -> transports management
    SPAM -> apply ABAP support packages
    SPAU -> manage objects after apply support packages
    SE01 -> manage change requests
    SLDCHECK -> Test SLD Connection
    SLDAPICUST-> SLD API Customizing
    SXMB_ADM -> Integration Engine - Administration
    SXMB_MONI_BPE -> Process Engine - Monitoring
    SE38 -> ABAP Editor
    SE11 -> ABAP Dictionary
    ST22 -> ABAP dump analysis
    SPROXY-> ABAP Proxy Generation
    SE80 -> Object Navigator
    ABAPDOCU -> ABAP Documentation and Examples
    SE24-> Class Builder
    SM21-> Online System Log Analysis
    SMQ1-> qRFC Monitor (Outbound Queue)
    SMQ2-> qRFC Monitor (Inbound Queue)
    RZ70-> SLD Administration
    SM58-> Asynchronous RFC Error Log
    SM59-> RFC Destinations (Display/Maintain)
    SMICM-> ICM Monitor
    WE60-> Documentation for IDoc types
    BD87-> Status Monitor for ALE Messages
    IDX1-> Port Maintenance in IDoc Adapter
    IDX2-> Meta Data Overview in IDoc Adapter
    WE05-> IDoc Lists
    WE02-> Display IDoc
    WE19-> Test tool
    WE09-> Search for IDocs by Content
    WE20-> Partner Profiles
    WE21-> Port definition in XI
    SE16-> Data Browser
    SE93-> Maintain Transaction Codes
    SM30-> Call View Maintenance
    SU01-> User Maintenance
    SM02-> System Messages
    BD54 -Logical System Creation.
    SWXF_PBUILDER -> for Detail BPM Process
    SMQS - > to register the destination in QOUT scheduler
    WEOUTQUEUE - > to start the queue processing
    SMQR - > to register the queue
    IDXPW - > to activate the IDOC message package
    IDXP - > to monitor the message packages.
    SWF_XI_CUSTOMIZING -> transaction to check prerequisites for integration processes.
    http://www.erpgenie.com/abaptips/content/view/452/62/

  • What is the main difference between view and materialize view and advantage of Mview   ??

    What is the main difference between view and materialize view and advantage of Mview   ??

    1.A view uses a query to pull data from its associated tables.
    2.Views do not have data's physically stored in the Database.
    3.Views Get the Data from 2 or more tables and displays as a single block.
    4.But a materialized view is a table on disk is a result set of a query done.
    5.A Materialized view can have data's in the database.
    6.Materialized view are used for Boosting the Performance.
    7.And the important one is Materialized views are updated based on the parameters defined when they are created.
    8.By using triggers we can update the data in a materialized view.
    9.When you call a materialized view it will show the data when it was last updated.
    Hope it helps.

  • What is the main use of SM13

    Hello All,
    What is the main use of SM13. I know the SAP definition tha tit is used to check"whether update is active".
    So if the transactions are struck here,can we manually process them?
    I see a couple of records with Status V2. When I try to manually update them, the system gives me a message"Update request does not have status init". What does this mean.
    What would be the document change flow to delta queue. Is it as below?
    In case of V3 updates,
    1)The user make changes to a document.
    The changes are made to application tables in V1 step-VBAK,VBAP etc
    2)The delta(after and before image is captured in the log tables---How is this done?
    3)The changes(before and after images) from the log table are moved to extarction queue in V2 step using function modules
    4)In SM13, if you see the transactions in V2 status ,does it mean that the FM are not yet executed
    5)once v2 is complete(FM' run) the delta is moved from log table to extraction queue, v3 init is run
    6)all the accumulated changes are moved from extraction queue to delta
    Thanks
    Simmi

    Hi,
    Check if the following threads help :
    sm13 and lbwq
    Re: SM13 Best Practices?
    Cheers,
    Kedar

  • What is the main benefit of  buying an ipad ? what can you actually do in 16, 32 0r 64 gb when you have 510 gb laptop with you ?

    What is the main benefit of  buying an ipad ? what can you actually do in 16, 32 0r 64 gb when you have 510 gb laptop with you ?

    For me? the advantage of an ipad over a laptop....instant on, instant off, thin and portable. Check your e-mail and put it down, not wait 5 minutes to boot, check your mail, shut it down.
    Is it as fully functional as a laptop? no. Not meant to be. What it lacks in functionality it makes up for in portability.
    Is a necessity? no. But quite handy.

  • What is the main use of mseg table

    what is the main use of mseg table. when we should actually use this. please explain me in detail. then what is the difference betweeln mseg and mara table.

    MM Process flow:
    The typical procurement cycle for a service or material consists of the following phases:
    1. Determination of Requirements
    Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
    2. Source Determination
    The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
    3. Vendor Selection and Comparison of Quotations
    The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
    4. Purchase Order Processing
    The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
    5. Purchase Order Follow-Up
    The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6. Goods Receiving and Inventory Management
    Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
    7. Invoice Verification
    The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
    Common Tables used by SAP MM:
    Below are few important Common Tables used in Materials Management Modules:
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    Transaction codes:
    RFQ to Vendor - ME41
    Raising Quotation - ME47
    Comparison of Price - ME49
    Creation of PO - ME21N
    Goods Receipt - MIGO
    Invoice (Bill PAssing) - MIRO
    Goods Issue - MB1A
    Physical Inventory - MI01( Create doc)
    MI04 (Enter Count)
    MI07 (Post)
    Also please check this links.
    http://www.sapgenie.com/sapfunc/mm.htm
    http://www.sap-basis-abap.com/sapmm.htm
    Go thro this link, u will get a clear picture abt the MM flow.
    MM flow
    MM flow
    MM flow
    <b>Reward Points if it is helpful</b>
    Thanks
    Abhay Singh.

  • What are the main tables using in vendor performance report.

    what are the main tables using in vendor performance report.
    how many select statements are in ABAP reports.

    Refer the links -
    vendor performance report !!!
    vendor performance report
    vendor performance report
    I need standard vendor performance report
    Regards,
    Amit
    Reward all helpful replies.

  • What are the main steps to be taken care while doing recording for LSMW

    Hi,
    I am facing problem in LSMW.
    Can anybody suggest me that What are the main steps to be taken care while doing recording for LSMW for recording mm01 ?
    thanks'
    naresh

    Hi,
    Recording in LSMW is similar as SHDB.
    in LSMW after you give Project-Subproject and Object.
    1)Go to-> Maintain Object Attributes -> double click
    2)Press Display/Change Button at top left to make editable mode.
    3)Select radiobuton -> Batch Input -> Give Recording name say Z_mm01
    4) Click the Recording Overview boton on right -> Give TCode which u want to record....
    Rest refer the Document link attached.
    Please find the links to various threads on the same.
    Re: LSMW - Using a BAPI
    BAPI, IDOC in LSMW
    Upload the data in LSMW using BAPI
    This one is the most complete document for the same
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://service.sap.com/lsmw.
    Regards
    Kiran

  • What are the main things to do when optimizing the performance of Java App

    what are the main things to do when optimizing the performance of Java App

    what are the main things to do when optimizing the performance of Java App

  • What are the main tables to refer in ASAP(asap 7.2)?

    what are the main tables to refer in ASAP(asap 7.2)?

    what are the main tables to refer in ASAP(asap 7.2)?

  • What are the main uses for a Macbook Pro, and also for a Macbook Air?

    I'm curious of whether I should buy a Macbook Pro, or Macbook Air. Before I make my decision I would like to know what are the main purpaces for each Macbook.

    Here's an article that compares the two.
    http://news.cnet.com/8301-13579_3-57458148-37/13-inch-macbook-air-vs-13-inch-mac book-pro-which-should-you-buy/?tag=postrtcol;posts

  • What is the main difference between ws_upload and gui_upload?

    Hi All,
    What is the main difference between ws_upload and gui_upload?
    In what contexts should we use these two function modules??
    Thanks,
    Creasy

    search the forum before posting.
    You can find lot of posts related.

Maybe you are looking for