Over technologies rather than RMI to pass remote objects

Hi,
Just a general question about remote objects. Currently I am familiar with RMI, IIOP and JMS to pass remote objects. What other technologies are available? in particular, technologies for passing remote objects between different software systems?
Just a simple response detailing the names would be great, gives me something to research then.
thanks

ofcourse passing over socket is always an option. Sure in that case you will have to serialize the object yourself or make a mini-protocol of some kind.
In our project we also use XML to pass object between C++ and Java world, instead of using CORBA.

Similar Messages

  • Error when pass remote object in RMI

    I am using RMI, I have implemented a server, this server provide a method to return back a Database object, client use this Database to manipulate database, the Database extends UnicastRemoteObject. in client code, I use a variable to hold the returned reference, the code is like: database = server.register(), but here I got an error like this:
    java.lang.ClassCastException: njproducts.server.DatabaseProxy_Stub
    at njproducts.server.ServerImpl_Stub.register(Unknown Source)
    at njproducts.client.DatabaseAdapter.<init>(DatabaseAdapter.java:54)
    at njproducts.client.MainFrame.main(FBNFrame.java:162)
    is there somebody can help me on this?

    Not without you psoting some code.
    Possible problem: Difference between object type being returned, vs the type of the reference (i.e., the method that returns an object should have a return type of the interface name).

  • How to pass remote objects from server to server?

    hi,
    if you
    1) have two servers, A and B
    2) one client, C
    3) and B obtains a reference to an object in A
    is it possible to pass that reference to C, in such a way that once C has the reference it no longer needs to know B even exists, and can communicate directly with A?
    thanks
    asjf

    It sounds like you are having A server as some kind of a cross-server registry for B.
    Your problem can be broken into two steps:
    1. Either A looks up B (via RMI), and keeps a reference (to later be handed to C), or B looks up A and makes some kind of a "register" call, again A then holding a reference to B which will be passed to C.
    2. C asks A for the reference and A returns it.
    The mechanics OUGHT TO BE pretty simple; B is declared as a UnicastRemoteObject, so any attempt to pass or return a B passes or returns a remote reference.
    I say OUGHT TO because I haven't tried this scheme.

  • Iterate columns rather than rows?

    Hi All
    Apologies for what is probably a painfully stupid question, as an almost complete newbie I'm not familar with the intricaies of the SDK but ...
    I am building a plugin (primarily for Premiere users) which I think would lend itself better to iteration over columns rather than rows. Is there any built in iterate function that handles this situation, or would this be a situation where coding my own iteration loop could be better?
    I ask because I have succesfully built my plugin in AE (using the Shifter example as a basis) and it works but the performance is not great. I've built the same plugin using the Premiere SDK (coding my own iteration loop) and the performance is much better.
    Appreciate any idiot friendly tips.
    Cheers
    Andy

    hi Andy! welcome to the forum!
    your question is not at all stupid!
    there is no API function that would directly iterate over columns instead
    of rows.
    you'll have to write you own function for that, which is in many ways
    better that using a suite, because of the minimal overhead in custom
    functions.
    you can use "iterate_generic()" to make you code multi-threaded on a column
    by column basis.

  • HTTP requests by sockets rather than Bridge/Bridgetalk?

    Has anyone brought this up before? I came across this article that's an implementation of HTTP requests using sockets rather than Bridge's HttpConnection class/object, so this should execute w/o dependency on Bridge/Bridgetalk I believe. I haven't tried it out myself. Thought I'd share. Also not sure if this article was already previously mentioned somewhere within the Adobe forums.
    Script for Adobe Creative Suite/Indesign – Http Request’s GET POST with Javascript | Ivo Nascimento

    Has anyone brought this up before? I came across this article that's an implementation of HTTP requests using sockets rather than Bridge's HttpConnection class/object, so this should execute w/o dependency on Bridge/Bridgetalk I believe. I haven't tried it out myself. Thought I'd share. Also not sure if this article was already previously mentioned somewhere within the Adobe forums.
    Script for Adobe Creative Suite/Indesign – Http Request’s GET POST with Javascript | Ivo Nascimento

  • Is the Remote Object always a singleton?

    Hi,
    Using .Net Remoting we can export a Remote Objects in three different ways:
    1. Singleton: Same instance of a Server-side object is used by all the clients for all the requests.
    2. SingleCall: Whenever a new call is received, a new instance of the Server-side object is created and reference is passed to the client. Therefore, for each call to the server, the client gets a new instance of the object.
    3. Client Activation: In this, the Client requests to the server for creating a new instance which can be used for multiple calls. The instance activated by a client is not used by other clients. Client-Activated objects can store state information between method calls for its specific client.
    Do we have this options in RMI or the Remote Object must always be a Singleton?
    What I'm looking for is a way to create one instance of the Remote Object (in the server side) to each client that connects to a server.
    thx

    Do we have this options in RMI1 and 3 are available. 2 is not.
    or the Remote Object must always be a Singleton?No.
    What I'm looking for is a way to create one instance of the Remote Object (in the server side) to each client that connects to a server.It's as simple as 'return new MyRemoteObject(...);'.
    For example:
    public interface Login extends Remote
      public Session login(String username, ...) throws RemoteException;
    public interface Session extends Remote
      // your client API here
    public class LoginImpl extends UnicastRemoteObject implements Login
      public Session login(String username, ...) throws RemoteException
        // validate username etc. If OK return a session.
        return new SessionImpl();
    public class SessionImpl extends UnicastRemoteObject implements Session
      // your client API implementation here, also all the server-side state belonging to that client session
    }Note that this is as secure as the login() method. By type safety, nobody can execute Session methods until they have logged in.
    I'm deleting your two other threads.

  • Error passing a remote object in a rmi function call

    Hi,
    I've a problem passing an UnicastRemoteObject extended object in a rmi function call. I get the following error
    java.lang.IllegalArgumentException: argument type mismatch
    I've 2 Remote Objects: GalaxyRegistration and Station. I want to pass a Station Object as argument in a function from GalaxyRegistration. Does anyone know what the problem is?
    Here is the code:
    public class GalaxyRegistration
    extends UnicastRemoteObject
    implements GalaxyRegistrationInterface, Galaxy {
         public GalaxyRegistration() throws RemoteException {
         public void add(Station station) throws RemoteException {
              stations.addElement(station);
              System.out.println("Add Station " + station.getName());
    public class Station
    extends UnicastRemoteObject
    implements StationInterface {
         SystemInfo system;
         public Station(String name, String description, Coordinate position, Profile profile)
    throws RemoteException {
              system = new SystemInfo(name, description, position, profile);
    public class StationServer {
         Station station;
         public void run() {
              // create new Station
              System.out.println("Create new Station:");
              // register and bind new station
              try     {
                   station = new Station(name, descr, location, profile);
                   System.out.println("Station created ...");
                   GalaxyRegistrationInterface registry =
                             (GalaxyRegistrationInterface)
                             Naming.lookup
    ("//localhost/GalaxyRegistration");
                   System.out.println("Registry looked up ...");               
                   // >>>>>>>> NEXT LINE IS THE ERROR LINE <<<<<<<<<<<<<<     
                   registry.add(station);
              } catch(Exception e) {
                   System.out.println(e);
    }

    regardless of any other problems in your code, neither of the objects which you are subclassing from UnicastRemoteObject call the superclass constructor, which is a pretty basic flaw - in this case, it will lead to neither of these objects being exported properly.

  • HT201269 I used Article: HT2109 to transfer everything from my iPod touch 3g, iOS 5.1.1, to my iPod touch 5g, iOS 6.1.3. Why did data from apps did NOT move to the new device? Games are starting over rather than picking up where they were on the old devic

    I used Article: HT2109 to transfer everything from my iPod touch 3g, iOS 5.1.1, to my iPod touch 5g, iOS 6.1.3. Why did data from apps NOT move to the new device? Games are starting over rather than picking up where they were on the old device?

    - If you restored the 5G frmm the iTunes backup of the 3G were th app in the iTunes library of the computer you used? They have to be.
    - If yes then try again. When I first restored my iPad 4 from the iTunes backup of my iPad 1 app data did not transfer. I tried again and it did.

  • JCO passing  "$MYSAPSSO2$ " rather than actual user

    Hi,
    I have some bespoke code migrated from EP5 to EP6.
    EP6 is using MS ADS and user mapping.
    When I log on to EP6 using ADM I get a JCO error. JCO is passing the UID "$MYSAPSSO2$"   rather than the mapped user.  Another bespoke app works fine for my ADS backed user so I'm confused how one app is SSOing OK while the other does not. 
    Any idea where the problem may lie?
    TIA,
    J

    I was mistaken.  The code was getting the user from the request and using it.  Needed to update the code to get the mapped user...doh.

  • I'm getting the rainbow wheel when I try tp pen in internet page (Safari). The page half loads then appears to freeze with the rianbow wheel.  I get the same result when I try to stream a movie from NETFLIX.  Freezes up rather than plays (after loading).

    I get the rainbow wheel when I try to open an internet page. It loads halfway, then freezes, with the rainbow wheel whirring around. Smae thing happens when I try to stream a movie on Netflix.  The movie loads, then the wheel shows up and the screen freezes.  Same thing when I try a DVD, it takes the disc, but won't play when I hit on PLAY.
    I am repair permissions, and all that I can do, but I am a novice.  Any help would be greatly appreciated because I spend big bucks and drive 40 miles to get Apple help.
    Sharon in the woods of Idaho

    Welcome to Apple Support Communities.
    If your profile info is up to date, you probably have a 2006 or 2007 MacBook with a CoreDuo or Core2Duo.
    It probably came with 512MB or 1GB RAM memory and a 60, 80, or 120GB hard drive.
    You're still running OS X Tiger, 10.4.
    Your DVD drive may be dirty or wearing out.
    For specifics about your computer, click on the  Apple Logo in the menu bar, then About This Mac, and More Info... to find details.)
    You may be running short of hard disk space. You should have at least 10% free, or 10 to 15GB free for best performance. Less than that, and your hard disk is spending lots of time searching for places to store data.
    Complex web pages and sites like Facebook and Twitter, and pages using Adobe Flash, and high-bandwidth applications like video streaming from NetFlix can all cause your computer to run slowly, and the fan to run at high speed, because the processor is working hard. Conversely, email is not terribly resource-intensive, and probably still works pretty well.
    Several things can each provide a small performance increase (listed in no particular order):
    Adding more RAM memory. Upgrade to 2Gb to give your programs a bit of 'breathing room', especially if you are running more than one program at a time.
    Erasing the hard drive and reinstalling the current operating system and programs from scratch. This erases all your existing programs and data. Unless you have backups and program discs, you lose everything currently stored on it.
    Installing a higher capacity, faster hard disk, say 250GB or 320GB will give your programs and data more space, and perhaps faster access if you replace the factory 5400rpm drive with a 7200 rpm drive. If your current hard disk is nearly full (less than 10% free space), the drive has to 'thrash' to free space to store information. 
    Upgrading the operating system to OS X 10.5 Leopard or OS X 10.6 Snow Leopard. Both are discontinued OS X versions, still available to order directly from Apple, but not likely found on a store shelf any longer. An upgrade to OS X 10.7 Lion might not be possible for your MacBook (details here: http://www.apple.com/macosx/how-to-buy/), and Lion would likely cause a further slowdown, because honestly, Lion is optimized for newer, faster dual-core or quad-core computers with fast video chipsets and 4GB or more of RAM.
    A faster internet connection, for example: I switched internet providers to get a 3.0Mb DSL connection (up from a 512Mb connection) for an extra $10 per month, and saw downloads and internet browsing speeds increase dramatically.  With the slower connection, it was not possible to watch video.
    Will all of these upgrades together get you close to the performance of the latest MacBook Air or MacBook Pros? NO!
    Ultimately, you have a 4- or 5-year-old computer, and spending up to several hundred dollars for upgrades might not be a worthwhile investment for you, versus applying that much money toward the cost of a new(er) Mac, and perhaps passing your MacBook on to a friend, child, or grandchild who needs mainly email capability.
    If a brand new Apple is not in the budget, consider a refurbished Mac from the Apple Store online. These are reliable computers from 'last year's models' and have the same 1-year Applecare warranty as a brand new model, and often sell at a discount of 10 to 30 percent of the price when the model was introduced.
    I'm using a mid-2007 MacBook, purchased as a refurb from Apple in late 2007. It came with 1GB RAM, a 120GB 5400 rpm hard drive, and OS X 10.4 Tiger. Over the years, I've upgraded it twice. Firs to 2GB, then to 4GB RAM, to a 320GB drive, then to a 500GB 7200 rpm hard drive, and to OS X 10.5 Leopard, and then to OS X 10.6 Snow Leopard. Rather than one more round of upgrades to OS X 10.7 Lion, I'm saving for a newer MacBook Pro or MacBook Air at some time in the future.

  • Is there any way to force iPhoto to present faces by folder for identification rather than randomly?  Would provide better context for identification especially if a huge number of images is involved.

    Before I commit the time and energy required to load and tag faces in 25,000 images within iPhoto, I need some questions answered;
    Is there any way to force iPhoto to present faces by folder for tagging rather than randomly?  When so many images need tagging, over many years, the context of a folder helps with the identification. The work around is to load the images into iPhoto one folder at a time and do the tagging then.
    How do I get iPhoto to present the tagged faces by last name rather than first name? When so many faces will be identified, it is much easier to find people by surname, particularly when I share the library within the family. The work around is to enter names as last name and first name.  Being able to toggle the sort is much more desireable.
    Is there a way to export a portion of the library including faces?  I want to pass on portions of this huge 125 GB library to my family members.
    Since my family members will need an Apple computer to view the images and faces, they will likely have their own photo library.  So is there any way to combine two libraries and merge the faces?
    About 2/3 of my images have been scanned, so the date of creation is the scanned date rather than the date the photo was taken.  Will this mess up any sequencing or the retrieval of faces?

    If I want to carve off part of a library, I presume the way to do this is to make a copy of the library using PLM then go into iPhoto and delete what I don't want.  The result is the carved off portion.
    You don't need Library Manager to delete the portion you don't want.
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    If I want to merge two libraries, PLM implies that it will do this but will the Faces be merged too?
    I believe so.

  • I heard some promote use of "Terminal Services(RDS)", rather than App-V application with SCCM 2012 even if you have SCCM licens.

    Hi,
    I heard some promote use of "Terminal Services(RDS)", rather than App-V application with SCCM 2012 even if you have SCCM licens. The reason you dont need to repackage\test the application on an client OS...
    I don't agree and I have not Heard this Before, just that you use TS for some scenario.
    Or is it more likely that "Terminal Services(RDS)", take over the applikation administration?
    /SaiTech

    Surely this all depends on your environment. There's nothing wrong with creating RemoteApps to push to client devices. Maybe you have an environment where RDS is widely used. 
    Why not leverage both solutions and target App-V's at RDS servers and then create App-V based RemoteApps that users can run at home as part of a home working solution via RDWeb.
    Creating apps via RDS will be an admin overhead yes but then so is creating App-V packages in SCCM.
    I don't agree with the arguement re: 'you dont need to repackage\test the application on an client OS...' as
    App-V allows you to run on multple O/S types. 
    To be honest both technologies have their pros and cons. 
    Cheers
    Paul | sccmentor.wordpress.com

  • Inserting line in video rather than hanging in air in adobe premier pro

    I want to draw a line in a video on the last layer of the video.Like if i hv taken a video of a part of roads with vehicles runningOn it and i need to draw a line on the surface of the road.I am trying and the line which i put in the video.it used to hang inThe air with vehicles going down from under the line which i hv drawn.but i need that the line should be look like as if it attached To the roads and vehicle passing over it..which actuallyShould look as real video with line attached to the surfaceOf the road rather than hanging in the airI am very new to adobe.and trying for it and i am in urgent needOf it's solution.thanks in advance.
    what i am doing is open the video from premierPro cs5 and drag that video in video 1 pane.and then press Ctrl t and put the line in the imageand save and after that drag that Sequence to video2 pane and then save..after that i click on theExport button..but the desired output of line on the last layer surface ofThe video..i know there r much steps after that like aftereffectWhich i do not know.please help me i am very newbie.please explain itTo do step by step to achieve the desired result.

    Thank you for responding.
    I took your advice and in the Capture window there’s an option near the bottom right that states “Capture” and below that is a button “In/Out”. I guess this is what you are talking about. So I click on the button, “In/Out” and I get a pop up the states, “Invalid time code range”. How is the average use supposed to know what this cryptic message is saying? (user unfriendly).
    I see two icons that look something like brackets that is to the left of the play button. I clicked on these but nothing seems to happen. I don’t know what is going on. (user unfriendly).
    Perhaps since I need just a typical You Tube video, I should purchase video capture software that is more users friendly and less intuitive. That being said, MS Movie Maker does not show the option “Capture from video device” I may try video capture software on CNET.com that is recommended and has a money back guarantee. I paid a lot of money for my Adobe Premier, but being that I am in Windows 7, perhaps it is time to retire Adobe.

  • I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I have a backup from about 4-5 months ago avaiable.  Can I add/update contacts from the back up rather than restore which i assume will literally delete any new contacts added...?

    I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I recently sold my macbook air and also my mac book pro, so have no recent backups avaiable.  I have a backup from about 4-5 months ago available on an external hdd as a time machine backup.  Can I add/update contacts from the back up rather than restore?  The reason i wish to do this is because in the update i didnt lose any messages, so all of the people i have met and networked with since that last update those many months ago, i have in my messages listings.  They are all unidentified numbers at present but over time i will be able to work through the messages and based on the conversation recall who each was with.  Also, yesterday, some two weeks after the update had left my contacts list entirely empty... a vast majority just reappeard, though all of them are without any phone numbers, all just emails or facebook contacts.  This is the work of facebook not mac/ios6 isnt it...?  Any help here would be greatly apprecaited.  I am about 2 days from flying to canada and having those contacts would make life a lot easier.

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • How can I to return to the same position on a web page where I left it, rather than automatically getting returned to the top of the page?

    It's annoying to keep returning automatically to the top of a web page that I often navigate away from--eg, Google News--rather than to the position I was at when I left it. I've looking over the Firefox settings and can't find where the default can be changed.

    Try holding down the ALT key while you hit the left arrow key.
    But in some cases, the webmaster may have configured the page to load from the beginning again. There's not much you can do about that unfortunately.

Maybe you are looking for