How EJB can be replaced for RMI When...

Hi All
How EJB can be a replacement for RMI , when all the EJB functionalities can be done with RMI.
For example middle-ware services available in both EJB and RMI. In EJB it's been taken care by the container. in RMI we have to write it explicitly.
What's the difference then....?
Aravind

I believe there must be something more than that ...in EJBOfcourse there are so many.
Actually when RMI came into existance then Java used to use that JRMP (Java remote method protocol) meaning is that there was not support for non-java clients. Then after that IIOP came into picture (Internet Inter ORB protocol) means CORBA compliant, thereby allowed non-java clients to get connected to ur java severs.
What I think is ....main feature that EJB have is that they are transactions aware. I don't know How to do it in RMI so robustly. One thing more, CMP Entity beans provide you an easy way to store ur data, I don't think, u can do so in RMI without writing complex queries.
I myself not very sure about RMI, but EJBs are makets. I have never done any realworld work with RMI but for EJBs I have gone through 3-4 live realworld projects.
Hope this helps !!!
Cheers.
Sanjeev

Similar Messages

  • How i can find flag for edit/display in CO01?

    hi,
    how i can find flag for create/add in CO01 ?
    please note that we don't want to use the sy-tcode for checking.
    please revert back if you have any clue.
    thanks,
    sanjay

    Thanks for that reply.
    To get TRTYP we need to pass the TCODE which we don't want.We wanted to avoid using TCODE since our code gets executed from several TCODEs and during the process for few TCODEs it actually looses the actual TCODE..
    So the alternate solution is a check on the if AUFK-AENAM is INITIAL....this field will be empty only at the first instance(when the prod order gets created) and later you can't find this empty in the whole life cycle of this prod order as this will be filled by the value "Last Changed by"..
    Hence this covers our requirement.

  • Question -  how i can prevent assembly order rescheduling when in VA02 ?

    Hi                                             ( ECC 6.0)
    I am working with assembly orders.  In sales order create - the system creates an assembly order - requirements type = dynamic order.
    If i amend the sales order a few days later - the system reschedules the assembly order - even when the assembly order is started and has status REL = released.  I get error CO061 - start date in past.. as the system first backwards reschedules and then reschedules forwards.
    Question -  any ideas how i can prevent assembly order rescheduling when in sales order change VA02 ? I need the system  to check the production order status and if = REL then prevent the rescheduling.  Putting a change block on the production order does not work as it ultimately breaks the link between sales:assembly order.
    I am thinking i need to use an SD user exit to read the assembly order and prevent order changes if the assembly order is = REL.
    thanks in advance
    Graham.

    Hi Ram
    We are using dynamic link.  My original solution was to set the 'nochange' on release- however if the sales order qty changed - or the dates changed - or indeed any ATP check was performed - the link was sometimes lost - dependant on user keystrokes.  VA02 still calls assembly order change in this scenario - and the user gets the mesage that no change is present - and ATP returns 0 qty.
    What I think i can use is user exit  EXIT_SAPLCOEXT_001 in conjunction with a user status.  I plant to set the status 'block' on release - although configure it to have no action.  In the user exit - called in the interface between sales / assembly order - I plan to check the assembly order for this status and set the error condition if the status is set.  In debug mode - setting the eror manually - this appears to work as the system never calls assembly order change and accepts the assembly order date/qty as 'supply' in the atp check.
    thanks for you assistance.
    regards
    Graham

  • The demand of my application is that i can not replace for loop with a while loop.because i need fixed number of iterations and as far as i know fixed iterations could be only with possible with the for loop.

    the demand of my application is that i can not replace for loop with a while loop.because i need fixed number of iterations and as far as i know fixed iterations could be only with possible with the for loop.
    your recommended second option that i could add true/false case.
    this true/false case must be inside the for loop or outside the for loop?if this case is inside the for
    loop, how can i send stop command from outer while
    loop?
    more over do you have any example for this please?
    thanks"

    You can execute a fixed number of iterations using a while loop by comparing the iteration count to the number of iterations you want and wiring the output of that comparison (e.g. Less Than or Equal To) to the continue (or stop) terminal of your while loop. Which comparison you use depends on personal preference, where you wire the desired count and the interation count, and whether you're using the while loop as Continue if True or Stop if True.
    Ben gave you step-by-step instructions in response to your previous question. Look here for Ben's response.
    Ben's response looks pretty good and detailed to me. It certa
    inly deserved better than a 1-star rating.

  • Cannot boot! Cannot charge! How long can we support for RIM?

    First of all, I am very disappointed to RIM
    From the beginning to now I have used many BlackBerry mobile phone, RIM has been rigorous work and good service. But since I used 9520, now playbook, lets me lose confidence to the RIM, this is real
    The escalation of the 668 systems, playbook can not boot, countless toss, numerous times to restart, no solution . After friends advice, finally able to boot.
    I don't know such a famous company, before the update products, why there will be such a mistake.
    Boot problem is solved, but then again, playbook does not charge, still numerous toss, numerous times to restart, power is reduced from 20% to the present 0%. until now still can not solve.
    I don't know, so rigorous style of a company, why not on major issues, the first time to give solutions for every user. Why???
    How long can we support for rim? Maybe every user heart will understand.
    Add content:
    Not charging performance:
    In addition to power has no change and in reducing, other phenomenon are exactly the same than a normal machines
    No matter how I restart the device, how to charge, all have no effect
    Try method:
    every 4 minutes hold "power+v-+v+“(three key)to restart; replacement charger plug; the mode of standby charging; continuous plug-in charger; after connecting DBS to connect the charger; continuous charging hours;
    The above methods are fellow Netizens suggestions, but no one can save my playbook.
    RIM, can you tell me how to do?

    why did not have anybody, do something?

  • Hi guru's i want to dovelope or modify  bapi how we can give name for bapi

    hi guru's i want to dovelope or modify  bapi how we can give name for bapi plz help me...

    Hi,
    If u want to assign the form to Standard sales order, The, this form in the NACE.
    and the, Run from va02/03.
    Reward Points,
    Vamsi.

  • TS4268 how i can download facetime for my iphone4s.i couldn't find out it in apple store also.please help me....

    how i can download facetime for my iphone4s.i couldn't find out it in apple store also.please help me...

    You don't download it.  it is built in to your iphone, unless it was originally purchased from one of the Middle eastern countries where it is not allowed.
    You should not leave your e-mail on a public forum.
    iPhone User Guide (For iOS 6 Software)

  • How I can make actions for write the file name in front image

    Hello All
    How I can make actions for write image(file)  name in front the image automatically in photoshop cs3.
    Thanks

    This script tutorial might be helpful:
    http://av.adobe.com/russellbrown/CaptionMaker_SM.mov

  • How much does a replacement for a broken ipod touch 32gb 4g cost

    how much does a replacement for a broken ipod touch 32gb 4g cost

    Apple will exchange it for a refurbished one for $149 if the iPod is not in pieces/severly phyically damaged.
    Apple - Support - iPod - Repair pricing

  • I got the old iphone, can i replace for a new one??

    i have a old iphone which was the first iphone. it,s worn out.....can apple replace for a new one of the same model

    Apple has an out of warranty replacement program, the cost in the US is $199. I don't know if any original iPhones are still available under this program(remember, that phone was discontinued sometime ago), but even if they were, why would you spend $200 on a discontinued phone?

  • TS3212 How i can download iTunes for Windows 64Bit if I have downloading this through Linux Ubuntu?

    How i can download iTunes for Windows 64Bit if I have downloading this through Linux Ubuntu?

    Thank you for you answer, but it isn't heart of the problem. The problem is that I don't have choose iTunes version manually, it's happens automatically, and start downloading iTunes for Windows 32-bit.

  • How i can open my i phone when it looked ?

    how i can open my i phone when it looked

    What you ask is not quite clear. how is it locked? 4-digit passcode?

  • How we can get report for system shutdown for perticular year.

    Dear Friend,
    How we can get report for system shutdown for perticular year.
    i.e. i want to know at what time and what date system has been shutdown for ther of 2006.
    Thanks,
    Sachin

    Dear Sir,
    Thanks,
    But from system log file SM21 i have got only the time not date on which it has been shutdown and restart.
    And another thing is that 15 dats before Log file data is atomatically deleted, so cant get it back.
    Can you provide me is any another solution? i.e by heating perticular T code report come>
    Sachin

  • I bought Photoshop CC for one year for 599 rub/month and today bought CC and Ligtroom for 299 rub/month. How I can stop agreement for 599 rub/month?

    I bought Photoshop CC for one year for 599 rub/month and today bought CC and Ligtroom for 299 rub/month. How I can stop agreement for 599 rub/month?

    Please see Return, cancel, or exchange an Adobe order -
    http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • How pinnacle can be used for streaming video for mac app?

    How pinnacle can be used for streaming video for mac app?

    Hi naturalfemale,
    As mentioned in the referring article, closed captioning content has to be specifically added/enabled to a video for closed captioning to function:
    Additional Information
    Not all videos include caption or subtitle tracks. Check the documentation for the video you are using to see if it includes these features.
    OS X: Using captioning features in Mavericks
    http://support.apple.com/kb/HT5910
    At the moment, I do not believe there is an option for universal captioning.
    Regards,
    - Brenden

Maybe you are looking for

  • Error in saving Infotype

    Dear Experts, while creating infotype in my name space it is not allowing me to save the structures(PS...,) which is automatically created by SAP. it is showing an error : Customer object TABL PS9250 cannot be assigned to package /ABC/ZTEST Regards,

  • I backed up my iphone 4 and when i restored it my music and itunes is no longer on phone, how do i get them back onto phone. Thanks for you advice.

    Can i back up my partners phone using my Itunes account?

  • Quicktime slow after installing Mavericks

    Im using osx 10.9, just added mavericks. Firstly the shrinkage of screens is really offputting and im going to have to reconsider my entire office setup to accomodate. Secondly, Im having issues playing back Quicktime movies. I use this for work rela

  • Email addresses

    When I start to type someone's name in the TO: field, it brings up a list of email addresses. Of course, the more I type, the narrower the list. All as expected. I have several friends who have changed their email addresses recently. But when I start

  • Apple TV 3 doesn't connect to WIFI

    I have an Apple TV 3 with the serial eligible to replacement.  Exists the replacement program? or How can I fix the problem? I updated my ATV to the latest firmware. My problem is that I can't connect my ATV to any wifi network. I tried everything bu