Hi ! when to use @Local and when to use @Remote?

Hello,
Say suppose i want to develop a multi tiered web application with presentation on 1 server, business logic on 1 server and database on 1 server, thus 3 servers altogether. But my all beans reside on single server ie 2nd server, so should i mark my beans as @Remote? or @Local? because my presentation is on 1st server and it will call bean on 2nd server. So, different JVM altogether.
Thanks in advance!

Why do you have to give any advise that is not related to the question?Why to get side track? If you know the answer and if you have time then answer it else wait and watch, you will learn something from other people's experience. Let others come and answer. But kindly don't teach me philosophy like read books and you will find answer there and this and that. If it was clear to me why do you think i would ask question and waste your as well as my time? I come from .Net and things in JEE are very different.
This is a place to share knowledge and let others grow. I was just trying to self teach me reading tutorials here and there and asked question because it was not clear from the tutorial. Now, i know due to you nobody will come in this thread and answer this question.
Thanks
Edited by: Salman4u on Jan 27, 2010 12:57 AM

Similar Messages

  • When you expand to show local and remote sites, in DW CS6 how do I get the local to be on the left?

    When you expand to show local and remote sites, in the previous verions of DW, the files type (local or remote) selected when not seeing both, automatically came up on the left.  I liked local when I am editing and when I am ready to upload I expand to see both local in remote.  Before, the one you had selected, in my case local, was always displayed on the left.  Now in CS6 when I have local selected before I expand, the local is on the right and remote on the left. For me that is not correct.  I find that having local on the left works best for me like reading, left to right, I want the local on the LEFT so I can put the updated from left to the remote on the right. 
    -->In DW CS6 how do I get the local to be on the left?

    Thank you so much!  That did it! 

  • Apple TV3 turns off and on when using remote, already reset and restarted.

    Apple TV just started acting up yesterday.  When using remote, light on Apple TV would turn off and on so it would somewhat work when the light was on and would not when light when off.  When light is off and in a menu selection, cursor would just move to the end of the list and stop.  Already restored back to factory and reset it.  Difficult to program after reset when remote only works part of the time when the light goes on so stuck in out of the box condition.  Any help on this?  Thanks!

    Hello stiktani,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning Apple TV remote issues:
    Apple TV (2nd and 3rd generation): Resolve issues with Apple Remote
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • "How are local and state taxes setup/updated when employee's address change

    Hi All
    I wanted to know "How are local and state taxes setup/updated when employee's address changes . - How is it done in SAP? -
    Thanks in Advance

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • I formated my i phone 3 g and when it loaded back up and asked me to choose language local and wi fi connection everything went fine but when i hit next it said my i pod can not be activated  why  and how can i fix this i bought it for my daughter for x m

    i formated my i phone 3 g and when it loaded back up and asked me to choose language local and wi fi connection everything went fine but when i hit next it said my i pod can not be activated  why  and how can i fix this i bought it for my daughter for x mas and that is tomorrow

    AdaS_VZW,
    I'm not sure if the area has been surveyed; it's a large group of apartment buildings about a within a couple miles of Dulles International Airport in Northern Virginia, so I would imagine that it probably has, but I'm not sure. How would I find out?
    I understand that the Network Extender does not support LTE connections (I know there are two models, the 1x-only and 3g, both made by Samsung - I have the 3g model, SCS-2U01). I know that it can support a 3G data connection, but that should be irrelevant - I'm always connected to my wifi network in my apartment.
    What's particularly vexing, however, is that both a Galaxy S4 and Galaxy Nexus in my apartment (the other lines on my account) do not seem to have this issue. While I haven't done so with the S4, the Nexus exhibits this problem when my SIM is in it - and again, this is a fresh SIM from just a few weeks ago.
    I'm currently trying to disable Mobile Data when in the apartment to see if that will make it more stable. I'll post in a day or two with results from that.
    Shawn

  • I tried to update iTunes yesterday.  The update failed.  Now when I try to open iTunes it says that the version isn't localized and needs to be run in English.  It has never been in another language.

    I attempted to update iTunes yesterday.  The update failed.  iTunes now won't open and displays an error message that the program isn't localized and needs to be run in the English version.  I'm in the US and the computer and program has never been used in another language.  I tried reinstalling the full download for the new version and that failed as well.  I logged out; shut down; restarted; retried the update; etc.  Still no luck and the same message.  Thoughts?

    Solving MSVCR80 issue and Windows iTunes install issues.
    Thanks to user turingtest2 for this solution.
    Solving MSVCR80 issue and Windows iTunes install issues.
    If the above doesn’t do the trick entirely, then use the instructions in the following as it applies to the version of Windows you are using:
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    You may be required to boot into safe mode to complete the folder deletion process.

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • Kinect for windows sensor does not start when using remote WMI

    Scenario:
    I have written a software (lets call it kinectRecorder.exe) that uses "kinect for windows sensor" to record images. The machine that connects to the kinect sensor has windows 8.1 and kinect v2 installed. The software is able to successfully records
    images from kinect sensor when running locally. (meaning if I hit f5 from vs2013, frames are recorded to local disk)
    Due to resource constraint and other requirement, I have to remotely kickoff kinectRecorder.exe on the windows 8.1 machine from a windows 7 machine. on the windows 7 machine, I remotely kick off the kinectRecorder.exe using windows WMI infrastructure. 
    The credential used for windows 8.1 machine and windows 7 machine are the same under same windows domain. the credential used to authenticate in wmi is also the same, I can see the user name running kinectRecorder.exe after kinectrecorder.exe is started
    remotely. 
    Problem:
    The result is that kinectRecorder.exe starts ok, but after the kinectsensor.open call, isavailable property changed to false, meaning sensor not detected. 
    Question:
    What's stopping kinect sensor to be detected/opened (i'm not sure what the correct jargon is here)?
    I have been search the web, In msdn documentation (known issues),  I cannot find the problem being mentioned. I wonder if I'm the only person who has encountered this issue before. 
    Any pointer is hugely appreciated. 

    Kinect is not supported within the context of a service because of the underlying need for a user session, see
    https://social.msdn.microsoft.com/Forums/en-US/72cecf8b-ac64-47e2-b54b-ddbd1dc237c9/calling-kinect-sdk-apis-from-a-windows-service-is-not-possiblesupported?forum=kinectv2sdk
    Can determine that the system has at least one logged in user and can you launch the application within that users session? KinectMontior/KinectService must be running for the runtime to get any data from the sensor. If you use Remote
    Desktop to log into that user session, you can confirm this works by running any of the samples and they should work without issue(remember to ensure that your audio remoting is left on the server, see troubleshooting guide
    https://social.msdn.microsoft.com/Forums/en-US/20dbadae-dcee-406a-b66f-a182d76cea3b/troubleshooting-and-common-issues-guide?forum=kinectv2sdk).
    Carmine Sirignano - MSFT

  • Agent install hang When Install by using remote desktop

    Hi All
    My Customer has some workstation,that were placed on branch office,occur some problem and he want to re-install.
    When he using remote desktop to login/install, ZCM Agent install service will hang on "novell-rm-md-core". he test some times and get the same result.
    But he call another admin install agent locally. agent install successfully.
    Who have the same experience about remote install by using remote desktop(mstsc) ??
    thanks
    wyldkao

    Originally Posted by wyldkao
    Hi All
    My Customer has some workstation,that were placed on branch office,occur some problem and he want to re-install.
    When he using remote desktop to login/install, ZCM Agent install service will hang on "novell-rm-md-core". he test some times and get the same result.
    But he call another admin install agent locally. agent install successfully.
    Who have the same experience about remote install by using remote desktop(mstsc) ??
    thanks
    wyldkao
    Windows XP right?
    Then you need to install this patch before installing ZCM agent: An application that installs a mirror driver over a Terminal Services session may stop responding on a Windows XP-based computer
    Thomas

  • Using old version CS3. Can't "see" both Local and Remote files. Only Local.

    Used to see both Local and Remote files. Worked in Local and then "Put" to the Remote when ready. Only see Local now. Work in Local is saved automatically to the server. Need to go back to the work in Local and Put to Remote. What happened? How do we fix it? Thanks!

    Could you post a screen shot of what you're seeing when you go to...
    Site > Manage Sites > Click the site  you're working on > Edit
    There should be two tabs in the upper left corner of the dialogue box that comes up, Basic and Advanced. Basic walks you through set-up with a bunch of questions and Advanced allows you to just enter the info into the correct fields. If the Advanced tab is open, it should be under the Remote heading where you set your FTP info.

  • Report hangs when using Remote Desktop

    I am having trouble with Crystal Reports 11. I was wondering if there is a known issue when using it in conjuction with Remote Desktop.
    Here is the scenario.
    I am using Remote Desktop to connect to a server.
    I am running a report using Crystal Reports 11.
    The records have already been retrieved (approx. 800,000 records) and is printing - slowly.
    It takes around 75 minutes for the report to print 12 pages.
    If the Remote Desktop connection is closed, then re-established, the Crystal Reports pops up a message box stating "Not Supported". The pages of data the were previously printed are now blank. (For example: if it was on page 1 of 9+ it will go back to 1 of 1+ and the page will be blank.)
    If I use a VPN to connect to the network, then use the Remote Desktop Connection to connect to the server, the connection will periodically disconnect and the re-establish. This does not occur when not using Crystal Reports.
    Is there a problem with using Crystal Reports with Remote Desktop? Is there a better way to run my reports remotely?
    Thanks for any input.
    Ryan

    You may be better off posting this in the Crystal Reports Design forum as that team supports issues regarding working with the CR designer:
    SAP Crystal Reports
    Ludek

  • Printing to a Printer Connected to TIme Machine when using Remote Desktop

    Hi,
    I am having trouble printing to a printer connected to our wireless network via Time Capsule when I am on my remote desktop connection. Printing from all other programs work. I downloaded Bonjour on our Windows based server, and it did not detect any printers. When I am connected directly to the printer, I can print when using remote desktop. Any suggestions are much appreciated.
    Thanks!
    Mac OS X (10.5.4)

    Airport Extreme/Express do emulate Jetdirect/port 9100 printing, but that isn't what they use for printing from OS X. OS X and the Bonjour/airport software use USB port redirection, a unique and separate method.
    If the HP driver supports any protocol over ethernet, it would be appletalk. Does that router server use appletalk?

  • When creating a remote address in a pot or other objects you cannot use a / for a address??? my ladders addresses contain such ////// symbols for some addresses?​??

    when creating a remote address in a pot or other objects you cannot use a  /  for a address??? my ladders addresses contain such ////// symbols for some addresses???

    On the AB object, "f" is a float and cannot address individual bits.
    Otherwise, you would replace the "/" with an "_".
    Forshock - Consult.Develop.Solve.

  • Everytime I want to remote my itunes from my iphone, itunes search for radio-stream updates. I often use remote when I'm not connected to Internet so itunes tell me that I should connect to Internet. This is new since 10.5. Can I turn this off?

    Everytime I want to remote my itunes from my iphone, itunes search for radio-stream updates. I often use remote when I'm not connected to Internet so itunes tell me that I should connect because the radio-stream update can't be made. This is new since 10.5. Can I turn off the search for Radio-Stream or does someone else has an Idea how to fix the problem?

    weird very weird. today i did this again today after already being unsuccessful earlier. exactly the same thing as i have done before, exactly. didn't try to import. didn't say damaged library, copied everything in including date. have tried it about 10 times no luck. today it just worked.
    how weird is that?
    oh well JG - maybe you mixed a magic potion for me?
    anyway, thank you for all the help.
    to anyone else reading this all i can say is keep trying, you never know. follow the above advice. you may feel exasperated and think you have done it already, but keep trying.
    cheers
    P

  • Mix Local and Global Transaction using XA Driver for Oracle

    Hi all,
    We are trying to use a XA Driver which can support both local as well as global
    transaction. We tried using the Weblogic jDriver (XA Driver) type 2 that comes
    along with Weblogic installation but unfortunaltely it cannot mix local as well
    as global transaction.
    Please let me know in case we have any XA JDBC driver for Oracle Database which
    supports both local and global transaction together.
    Thnx,
    Kumar
    Environment:
    Weblogic 8.1 server
    Database used : Oracle8i

    Most database drivers can support local and global transactions, with some
    restrictions.
    The JDBC spec has been changed to require compliant drivers to let the
    application
    know if they try to start a global transaction while a local transaction has
    not been
    completed (or vice verse). So most of the database drivers have been
    changed to enforce
    this restriction (breaking a lot of code that is out there).
    "Kumar Raman" <[email protected]> wrote in message
    news:4033457c$[email protected]..
    >
    Hi all,
    We are trying to use a XA Driver which can support both local as well asglobal
    transaction. We tried using the Weblogic jDriver (XA Driver) type 2 thatcomes
    along with Weblogic installation but unfortunaltely it cannot mix local aswell
    as global transaction.
    Please let me know in case we have any XA JDBC driver for Oracle Databasewhich
    supports both local and global transaction together.
    Thnx,
    Kumar
    Environment:
    Weblogic 8.1 server
    Database used : Oracle8i

  • RMBP reaches 104C when using remote desktop.  Is this normal?

    I have a new rMBP that is reaching temps of 104C when using remote desktop or other moderately intensive applications.  Is this normal?

    No, that's way too hot. It's only a few degrees below automatic thermal shutdown.

Maybe you are looking for