Socket Or RMI for the best solution

Do me a favor guys...help me to figure this out, which the best solution of this, i create some networks, what i plan is like this..
if client send their request to appServer which using web browser, the request will arrive to the appServer,right? and then i create some network application to forward the request to another computer to be process, and response the client... the problem are :
1. which is more efficient, faster,reliabe and secure ,create socket and i put the socket on My RMI or only using socket?
2. if i combine both RMI and Socket, is that good or not? why?
Thank u so much for answer....

Is that much more easier to implement using RMI? why? if i only use Socket,how about the connection,is that slower than RMI or not? and how about the security problem?
will have problem with RMI if u client behind Firewall or proxy.is that true? how to handle this? how can this could be happen?

Similar Messages

  • Looking for the best solution for downgrading a database from 11.2 to 11.1

    we have an install of 11.2 grid and have made several attempts at adding 11.1 binaries and using the 11.2 infrastructure. we patched, etc... but all of our attempts failed in getting 11.1 to work across the cluster.
    we have decided to make all of the installs version 11.1.
    I am looking for the most straight forward approach to migrate our 11.2 down to 11.1 with the least amount of downtime.
    thanks, tom

    Hi Tom;
    Please check below note
    Master Note For Oracle Database Downgrade [ID 1151427.1]
    How To Downgrade From Database 11.2 To Previous Release [ID 883335.1]
    I belive it will answer all your question.
    Please also check below links:
    http://blogs.oracle.com/db/2010/09/master_note_for_oracle_database_downgrade_doc_id_11514271.html
    Regard
    Helios

  • I have an application on PXI 8146RT who save several data files in the comppact flash mémory. I am looking for the best solution to transfert thoses files to a host PC without stop my application. Can you help me?

    My application is not an RT application

    Your PXI-8146RT runs an FTP server, which could be leveraged to transfer files to a host PC while your application continues to run.
    There is an FTP client in MAX and several available for free on the internet. Alternately you can open a web browser such as Internet Explorer and type ftp://www.xxx.yyy.zzz to access the PXI's file system. Then just copy/paste the files you want.

  • What is the best solution to this problem?

    I have so many solutions in mind right now but i am looking for the best solution if possible. i have the following query
    SELECT one_query.date_required as Month_id,
               nvl(one_query.amount_used, 0) as overalluserhours_A,
                  nvl(second_query.amount_used_b, 0) as overalluserhours_B,
                  nvl((trunc(((second_query.amount_used_b/one_query.amount_used) * 100), 2)), 0) as p_change
    from
                 (select to_char(b1.needed_date,'YYYY-MM') as date_required,
                    SUM(b1.amount_used) as amount_used,
                      b1.type_id as type_id
                        from table_one b1
                         where b1.zone_type like 'NEWYORK%'
                         and b1.type_id = 'CARS'
                        and trunc(b1.needed_date) between to_date('2009-01-01', 'YYYY-MM-DD') and to_date('2009-12-31', 'YYYY-MM-DD')
                              group by to_char(b1.needed_date,'YYYY-MM'), b1.type_id) one_query,
                (select to_char(b2.needed_date, 'YYYY-MM') as date_required,
                                SUM(b2.amount_used) as amount_used_b,
                                       b2.type_id as type_id
                                    from table_one b2
                                       where b2.zone_type like
                                       'CHICAGO%'
                                  and b2.type_id = 'BIKES'
                                   and trunc(b2.needed_date) between to_date('2009-01-01', 'YYYY-MM-DD') and to_date('2009-12-31', 'YYYY-MM-DD')
                                 group by to_char(b2.needed_date, 'YYYY-MM'), b2.type_id)second_query
    where one_query.date_required = second_query.date_required(+);the above query is being used on table_one. The current problem I am having is based on the fact that table_one might sometimes contain data for only chicago and not for newyork. in this case, table_one would look like this
    identification_id         needed_date                   zone_type             type_id                  
    2                             3/22/2006 12:00:00          CHICAGO                BIKES
    3                              2/12/2006 12:00:00         CHICAGO                BIKEShowever though, in other case, it could be the other way around. in this case, table_one will look like this
    identification_id         needed_date                   zone_type             type_id                  
    4                            4/21/2007 12:00:00          NEWYORK                CARS
    5                             1/12/2007 12:00:00         NEWYORK                CARS
    and finally table_one could contain information for both cases. hence, we could have the following situation
    identification_id         needed_date                   zone_type             type_id                  
    6                            6/21/2008 12:00:00          NEWYORK             BIKES
    7                            8/12/2008 12:00:00         CHICAGO               CARSKindly note, my above query is currently being used inside a function. I know I can write so many if statement to handle but the main issue is regarding the fact, i am also using that query in another query which performs so many union all.

    I'm not sure how you're going to parameterize it, how those filters change from call to call, but an idea would be something like this:
    select date_required month_id,
           max(amt_used_chicago_bikes) overalluserhours_A,
           max(amt_used_newyork_cars) overalluserhours_B,
           (max(amt_used_chicago_bikes) / max(amt_used_newyork_cars)) * 100 p_change
      from (select zone_type,
                   to_char(b1.needed_date, 'YYYY-MM') as date_required,
                   b1.type_id as type_id,
                   SUM(case when zone_type like 'CHICAGO%' and type_id = 'BIKES'
                                 then b1.amount_used end) as amt_used_chicago_bikes,
                   SUM(case when zone_type like 'NEWYORK%' and type_id = 'CARS'
                                 then b1.amount_used end) as amt_used_newyork_cars
              from table_one b1
             where trunc(b1.needed_date) between
                   to_date('2009-01-01', 'YYYY-MM-DD') and
                   to_date('2009-12-31', 'YYYY-MM-DD')
             group by b1.zone_type,
                      to_char(b1.needed_date, 'YYYY-MM'),
                      b1.type_id)
    where amt_used_chicago_bikes is not null or amt_used_newyork_cars is not null
    group by date_required;Again, this is not the biggest concern regarding performance and certainly not the best way of doing it. Cracking those 250 lines of SQL and making it optimized would probably be the best way to approach the issue here.

  • I have three iPhone 4 models purchased in late 2010 that all share the same iTunes account (apps, music, etc), but I can only update the software on one of the three iPhones. What is the best solution to manage these devices for software updates, apps?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

    I have three iPhone 4 models purchased in late 2010 (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct. What is the best solution to manage these devices for software updates, apps? This is probably a common problem with families wanting to share apps and music without realizing the issues created by this approach. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates. The problem would be how to keep all the apps, etc from being deleted off the second and third phones that were originally loaded from the one iTunes acct. Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, someone out there can help me??  Please?

  • TA24002 My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know which erase option would be the best solution for this problem.

    My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?

    You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
    Re 1) you need to answer Kappy's questions.
    Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
    Do you not have a backup of the photo files?

  • I have problems in the initiation of the Encore process when opening presents the following error message : "Encore CS6 Cannot Run in Non-Royalty Serialized".... What is the best solution for this problem ?

    Help Me.
    What is the best solution for this problem ?

    Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    -and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
    -plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html

  • Pls help putting together the BEST SOLUTION for PP and AE CS4

    Hi guys
    I was tasked to put together the best machine (machines) for video editing / rendering .. money is not an issue.
    My client is a TV broadcasting network and they do lots of videos everyday .. They want to render their work as FAST as possible because sometimes they have tight deadlines and rendering and re rendering (if there are mistakes) has cost them .. so now they're serious about getting the best technology to achieve best rendering time possible, but in a bit of practical sense of course.. i mean there's no sense spending 1000USD or more for a piece of technology that offers under 10 second faster rendering only ..
    What they do and want
    - edit/put together/ sequence lots of videos constantly, under premiere cs3 (will upgrade to cs4 on the new machine)
    - use affter effects for some effects and 3D stuffs.. but not that much.. but increasingly as time goes by and their video editors get more affter effects training..
    - needs really really fast rendering!! Right now it takes them typically 1-2 hours to render stuffs, and what to cut this time by half or more..
    Existing Setups on work stations:
    Intel QuadCore (Q6600, i7, Q9550, Xeon x3220, and the likes)
    4GB RAM DDR2 1066mhz
    Highend motherboards
    GeForce 9500GT , 9800GT, and GTX 260 216sp
    GSKILL Falcon 64GB SSD Drive as primary
    1TB Western Digital BLACK edition drives for storage
    Software:
    Windows XP 32 bit
    Adobe Premiere Pro CS3 (80% of all their work done here)
    AE CS3
    etc..
    Running NOD32 Antivirus
    I am an somewhat of an expert in Hardware and stuff, i build custom PC's machines most of my life but i have limiited knowledge on optimizing hardware for VIDEO EDITING stuffs.. so i turn to you all.
    I do understand that w/ video editing CPU is the most important, followed by RAM, and ofcourse by HDD for disc caches and stuff.. and where videocard may come to an advantage as well. and normally i'd suggest the fastest components available . i7 , extreme processors, skulltrail dual quad setups perhaps? RAID 0 SSD Drive? etc.. but I do not know w/c gives the most advantage, and w/c is a waste of money..
    I also read about quadro cards offering really big performance improvements using CUDA tech etc..
    again im not the expert at this type of requirment.. so i need your advises..
    with unlimitted PRACTICAL budget given to me to come up w/ a solution I initially thought a rendering farm would be the solution, but upon reading around it seems there's no rendering farm solution for PP CS4.. just the adobe after effects part.. so i had to go back to the drawing board and suggest really powerful work stations instead..and perhaps have them migrate to 64bit OS for that "extra" performance.. i myself am on win7 64bit and it's looking mighty good.
    1) is this the right move?
    2) is it still worth it to put together rendering farm for AE renders only? or might as well concentrate funds on the machines/workstations?
    Also along the PRACTICALITY LINE, would it be practical to maintain all the existing machines, and instead build a manned RENDERING MACHINE w/ PP and AE (basically desktop or Server if they are faster at rendering w/ the best specs for the purpose etc) where they can just throw the workload to some guy there for rendering? Atleast the editors can continue using the workstations while the rendering machine guy is at work? and even perhaps setup a gigabit lan network where the RENDERING MACHINES can dynamically pull the work load via the network , not needing to transfer the files to the rendering machine first ? etc
    as you can see im not only looking for the best machine, but the best STRATEGY for my client.
    Good suggestions would be much appreciated.
    regards to all

    in a nut shell no. if you do not have to "Share" then Avid is pointless Adobe is a far better answer.
    Avid solutions still need a computer. The Mojo.Nitris are a joke and Avid no longer provides computers even the Symphany comes with your choice of Apple Mac Pro or HP 800. (Dual Xeon)
    there are better "hardware" answers that what Avid sells for Adobe. Decklink, Aja to name a few.
    if you have to share then you have no choice. this is the one area Abode does not lead.
    renders have to do primarily with 2 things CPU power (Xeon will render faster than single i7)
    and Drives. the faster your drive set up the faster the render. Memory does play a part and so does the video card depending on what codec and to what
    it also depends on WHAT you are rendering and from what for the HDDs.
    without knowing your work flow format and codec its impossible to suggest something.
    in terms of rendering
    Core i7
    Dual Xeon (faster unless still doing DV/HDV thru firewire)
    Sonnet raid array
    Scott
    ADK

  • SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database

    Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
    Current Setup
    SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
    Configured to use AlwaysOn Availability groups for HA and DR.
    Installed on Windows 2012 Servers.
    This is all working and failover works fine and no issues. So…
    Requirement
    A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
    C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
    Solution - What I believe are available to me
    I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
    Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
    Any help on the best solution for this would be greatly appreciated.
    Thanks, Steve

    for always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
    Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above).  you can only do read only.
    IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
    also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
    Hope it Helps!!

  • What is the best solution for me to run Microsoft Access on my brand new iMAC?  Assume I'm a casual user.

    What is the best solution for me to run Microsoft Access on my brand new iMAC?  Assume I'm a casual user.
    I am lead to believe by some real smart guys on the Apple site that If I have the Apple Store partition my iMAC and add the full suite of Office products on that partition, I can run the few Access programs I have and need to run.
    Comments encouraged.  Thank you in advance for your consideration and help.

    You would have to install Windows, then install Microsoft Office Professional for Windows on it  To install Windows you will have to choose between Boot Camp (faster, free) and a Virtual Machine (simpler, slower, easier to backup)
    You should try LibreOffice (free), it can open Access files, it may not have all Access's feature set though, worth a try.
    www.libreoffice.org

  • What is the best solution for migrating from Maverick to Yosemite?

    What is the best solution for migrating from Maverick to Yosemite? Anyone have suggestions?

    Back up all data. Update all third-party software to the latest version and remove any you don't need. Download the Yosemite installer from the App Store. Run it.

  • Migrated Aperture 3 upgrade from old Mac Book Pro to new Mac Book Pro.  Can't open Aperture on new machine because I don't have the original serial number for Aperture 2 program originally installed on the old machine.  What is the best solution to this s

    Migrated Aperture 3 upgrade from old Mac Book Pro to new Mac Book Pro.  Can't open Aperture on new machine because I don't have the original serial number for Aperture 2 program originally installed on the old machine.  What is the best solution to this situation

    Call Apple and make a appointment.
    You have 3 months of care and up to 3 years with paid AppleCare, let them handle it and bring everything in.
    Good Luck

  • The BEST solution for gmail on the iPhone

    OK, so after much poking around, I finally figured out the best solution for using gmail on the iPhone: IMAP support.
    While I think Google is still rolling this out to all users, once you get it, USE IT! It basically keeps your mail app synced with gmail, and even supports the use of folders/labels.
    To see if your gmail account is ready for IMAP, go to the settings option in gmail and see if one of the tabs says "Forwarding and POP/IMAP." If you don't have IMAP available on your account yet, it won't say IMAP.
    Here's some links to get you started:
    setting up IMAP for gmail on your iPhone:
    https://mail.google.com/support/bin/answer.py?answer=77702
    how actions in your mail app sync to gmail:
    https://mail.google.com/support/bin/answer.py?answer=77657
    I hope this helps out everyone as much as it's helped me. I was a little frustrated before using POP, but gotta love IMAP! I'm not too sure the impact that this has on your battery life, but so far it's working well for me. Enjoy!

    Gmail and IMAP have totally change my tune about the iPhone's email abilities. I was getting frustrated with the inability to reliably get mail (Message has not been downloaded...), sync (have to delete mail from both iPhone and desktop Mac), etc., but now I have all my POP email accounts automatically forward to my Gmail account, and I only check Gmail with the iPhone and MacPro. So far, it's a whole new iPhone experience! No more errors - ALL mail comes through perfectly - and no need to manually sync!
    Note that, when setting up the Gmail/IMAP accounts, do NOT simply update your old POP Gmail settings on your Mac or iPhone! Start with a FRESH new account. I couldn't get either the iPhone or Mac to work until I started with a fresh account.
    Also, I was unable to send mail from the iPhone using the smtp.gmail address, so I had changed the outgoing mail setting to use my regular ISP's smtp address. But, at some point (a few minutes later or a few hours, I don't know) when I checked the Gmail settings on the iPhone, it had magically changed itself to smtp.gmail, with the port number, and it has been working perfectly ever since! Maybe IMAP can atomatically correct this info? Not sure.
    One more thing. Once you have Gmail IMAP working, then you MUST go here:
    http://5thirtyone.com/archives/862
    Follow these directions exactly. This is a necessary set of steps in order to make your iPhone and Mac sync correctly, so that trashed mail on the iPhone will go in the trash on your desktop Mac, etc. It's pretty freaky to check email on the iPhone, and then go to your Mac Mail a few minutes later, and see all the newly trashed (or saved/read) emails perfectly synched up!
    A final note. Once this is all working and synching, remember that if you delete an email on your iPhone, it gets deleted on the desktop Mac Mail as well (and vice-versa)... which is exactly what you want to happen, but I find that I have to remember to keep the mail that I want to save on the iPhone's inbox until I get back to my desktop Mac. Otherwise, I have to manually remove it from the trash to save it!

  • What is the best solution for running windows based programs

    I have one program that I need windows for.  What is the best solution for doing this without painfully slowing down my mac.

    Depends on your needs.
    BootCamp requires reboot and uses all physical resources of the system.  Only OSX *or* Windows can run.  Better for gaming or memory intensive tasks.  BootCampAssistant must set up the boot sector to make it work.  Also BCA required to remove it.
    VM (virtual machine) like Parallels which "hosts" Windows while still running OSX.  You split RAM between the two environments.  VM is just another program so no special boot sector changes needed, but not good for graphics or RAM intensive programs.
    Other recommended alternates to Parallels (paid) are VM Fusion (paid) and VirtualBox (free download from Oracle.com).

  • What is the best solution for my need

    I have a failry simple need, but with so many products on acrobat.com, I'm not sure the best way to tackle it.
    I want to be able to email my new employees a link to paperwork I need filled out for their employment with my company, and have the results go to my HR dept. 
    I setup a form on formscentral, but im not sure if thats the best solution, it gives the results in Excel, and I would rather be able to print the form they filled out for filing.
    Whats the best way to accomplish this?
    Thanks for your help
    -B.Fabiano

    Hi B.Fabiano
    You can export responses as PDF. It will extract each response as a seperate PDF.
    See if that works for you.

Maybe you are looking for