Sharing object among multiple jvms

I have an application running on 3 seperate machines. I want all 3 machines to share common object, how, if we exclude databse?

meetsiby wrote:
To avoid overload on jdbcRealizing of course that sharing means that some sort of communication and storage must take place regardless right?
So if you don't "overload" jdbc then you are still going to be using something else which involves the same general concepts of jdbc.
At any rate you could look at RMI(part of java) or memcached (open source distributed hash).

Similar Messages

  • One shared object among multiple applications

    How would I enable a shared object to be used by more than one game? I have tried doing SharedObject.getLocal("ID","/"), but they still seem to have seperate shared objects, both of these applications have seperate domains (com.domain.app).

    try it.  but i suspect those will look like different domains.
    you could use:
    com.mydomain.games/game117 for your game117's main swf
    and
    com.mydomain.games/game2245 for your game2245's main swf

  • Local Shared Objects and multiple SWFs: mutexes necessary?

    I will have multiple SWFs on a single web page, each reading
    and writing the same SharedObject, which may be up to 100K in size.
    Will I need to create some sort of mutex scheme to ensure that one
    SWF isn't writing while another is reading, or do all SWFs on a
    page essentially run as a single-threaded application?

    >1) I don't think a SharedObject.flush is synchronous.
    I believe it is, as long as you're not attempting to write
    more data than the user has set for the Local Storage limit.
    http://livedocs.adobe.com/flex/3/langref/flash/net/SharedObject.html#flush()
    You'll note that flush is described this way: "Immediately
    writes a locally persistent shared object to a local file", and if
    it returns "SharedObjectFlushStatus.FLUSHED" that means that "The
    shared object has been successfully written to a file on the local
    disk". So I'd say that the normal operation of flush() is
    synchronous. However, the SharedObjectFlushStatus.PENDING state
    means that we've exceeded the limit set by the user, and are
    waiting for them to allow or disallow it. I believe (strongly) that
    that's the only case in which a netStatus event is sent.
    Do you read this differently?
    As far as multiple SWFs running as cooperative or preemptive
    multitasking processes, I'd really like to know the answer, but it
    probably doesn't matter. The more I read and think about this, the
    more it seems to me that Adobe has to prevent simultaneous reads
    and writes to a single Shared Object from taking place, as one use
    of it that I've read about is to share data between SWFs. For
    example:
    http://www.devarticles.com/c/a/Flash/Communication-and-Security-with-the-Flash-Communicati on-Server/1/

  • JAXB: Shared objects across multiple xsds

    Hi all,
    Have three xsd files which all contain a few shared classes, I use xjc to put each one into a different package, and then of course they're incompatible with each other. I've tried placing all generated code in one package but the object managers aren't created properly. Also tried creating a base class and extending each shared class from there but that didn't work either.
    Does anyone know the best way to do this without manually modifiying the xml?
    Grateful for any help,
    Many thanks,
    Chris.

    That's too bad. Can't you record the update all function, create a batch, and run through all the psd files?
    Btw, the Photoline betas now also include a placeholder layer that instantly updates when the user changes the externally linked file(s). If the file with the externally linked content is open while changing the file(s), Photoline automatically senses the change, and will update accordingly. No need for an update function.
    I wonder if the Photoshop devs could include a similar function for their linked smart objects. It would simplify life.

  • Sharing IPhoto among multiple users on ONE computer. Question about article

    http://docs.info.apple.com/article.html?artnum=304890
    Does anyone have an idea why the article doesn't mention using users/shared instead of creating a separate partition. It seems much easier, though from some of the other posts it looks like Permissions on users/shared may not work properly.
    This seems awfully complicated for the machine that advertises itself as easy to use. It was much easier to share files on Windows.

    I have followed the famous Apple article and have created a disk image with permissions ignored and the iphoto library in it. But in order to have the other user access the disk image, I have put it in the users/shared folder. As a result, when trying to access the library from the other user account, it says that I do not have enough rights to access the library. Any thoughts ?
    Thank you.
    Cesco

  • Sharing photos among multiple users on same MacBook

    My wife and I both have user accounts on our MacBook Pro. She has all of our pictures on her iPhoto. How can I access those photos? Thanks in advance.

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • IDCS3 sharing project among multiple designers

    What is the best way, or at least things to look out for, when setting up a project which will be worked on by multiple designers on multiple machines? Thus far we have just been packaging up the project and sending it back and forth,but this has proven pretty messy. Any suggestions?

    Jason,
    The new layout-zones add on is incredible. But before you get into that, you should master some of the basics.
    The most important part of working in a multi-design workflow is to create a template. This is your document with master pages, styles, etc.
    Then, divide the magazine into sections. Front matter would be one section. Each article could be its own section. Classified or other repeating content would be their own sections.
    Use the new layout-zone add-on to spin out areas for ads within each section.
    Finally, have one person be the control to assemble the finished sections together. This will most likely mean a single magazine as the book feature won't work well in a magazine environment. (Hard to divide articles that continue on back pages into the proper sections of a book.)

  • IPhoto: Sharing libraries among multiple users

    I'm thinking to buy the first Mac of my life...
    Sorry for writing here but I'm an engineer and I don't like to much answer from commercial people...
    Studying how to set up the new iMac, one possible problem is that my wife and me are working on Win 7 on the same photo library with two different account (while our little daughter cannot access it).
    I've found this article in the apple support:
    http://support.apple.com/kb/HT1198?viewlocale=en_US
    But I’m not fully persuaded of the two possible solution.
    - usb external drive with “ignore permission on that volume” (I suppose that also an internal partition can be good)
    - image disk on shared folder
    If I choose the partition with ignore permission I’m worried that my daughter can delete everything and I’m not sure that it is possible to backup everything with time machines…
    If I choose the image disk “sparse” I’m worried about the performance (20gb of photo increasing…) and I’m not sure if I can exclude the image file from time machines and I can backup the mounted disk instead….
    Is there any other solution, considering that could be even enough a read only access for my wife account (just to see the photo library and synchronize with her iPhone)
    Many thanks
    Riccardo

    Thanks for your answer,
    You don't have to use an external disk or partition. You can simply put the Library in the Users/Shared folder and work from there.
    Are you sure? The apple article HT1198 says: If two or more users attempt to use the same iPhoto library and the library is not on a volume where permissions are ignored, unexpected results may occur. This includes the inability to see or edit certain photos, or the inability to open the iPhoto library. Follow the steps below to avoid sharing iPhoto libraries in this manner.
    If you're concerned about your daughter accessing the Library and trashing it: here's a way:
    Create an extra Account on your Mac, call it Media. Create an iPhoto Library there. (BTW: This will work for iTunes too.)
    Enable Sharing on the Library:(Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other accounts. In those accounts, enable 'Look For Shared Libraries'. The Library will appear in the other source pane.
    This means that both all users will be able to see the pics. If you want to use a pic then simply drag it from the shared Library to your own in the iPhoto Window. This means that each user can have their own edits.
    If you want to add or delete photos to the Library: Log into the Media account for that purpose. Obviously, don't give the kids the password for the Media account.
    To make it all seamless: Set your Mac to log into the Media Account automatically. Set iPhoto to launch on log-in. Then switch to your own account using Fast User Switching.
    Net result: a Library that's permanently available to all users but also protected. Each user can have their own versions of the pics if they want.
    No partitioning, no permissions issues. Uses no extra disk space. What's not to like?
    This could be perfect!!! I will see all feature of iPhoto on the shared library (events, places, faces, albums)? And is it also possible from my account to see the albums in iTunes to synchronize it with my iPhone?
    Many thanks again for your help
    Riccardo

  • Cloud Computing / Sharing files among multiple Macs

    Greetings,
    I'll start by saying that I briefly searched for my answer on the board with no luck. So sorry if it's out there but I couldn't find it.
    To get to the point, I have two main macs (desktop & laptop) that I use interchangeably. I would like to be able to access the same files with both computers and more importantly, stay in sync with those files. Example, I work on my FileMaker Pro database on my Mac Pro, then when it's time to leave for the office, I have to copy the file over to my MacBook (if I remember to do that). Which means that I always have two files out there at the same time. This has been ok to deal for one file but I'm finding more and more apps that I'd like to share the files with (Things, Quicken, Filemaker, iBank, OmniFocus...etc).
    I do have a MobileMe account (prev .mac) but not sure if I can do it with that or iDisk. I would love it to work as seamlessly as my Mail, Address Book, and iCal syncs with MobileMe. What Mac or 3rd party options do I have for this feature/service? And can someone explain how it would work? Meaning, when I launch an app like iBank, would my app be working on the file in the "cloud"? or would the service/app push the file down to my computer for me to work on it locally and then push it back up when I close the app?
    Hope my question was clear but here it is again;
    What service or application will allow me to share files between my Macs?
    Thanks!

    Jorge:
    You can't do that with the alias system. That'st because each user will have a totally independent library from the other users. Any edits made will be saved in that particularly users iPhoto Library folder and not be available to others.
    Tutorial #4, however, does discuss how to setup such a system.
    There is a couple of caveats to this system. Each new set of photos should be added to the source group in it's own folder, preferable dated, so that each user can check to see what's are the new files and import them into their own library. Also any user who deletes a photos from their library does not delete it from the source group. That has to be done manually. That can be good or bad depending your your point of view. That is, one user cann't delete a source file that another users wants and needs for a slideshow, etc.
    Do you Twango?

  • Sharing image among multiple reports

    Hi,
    Currently, we have the company logo, which is a jpg file, hard coded inserted into each of our report headings. The logo is changing.  Is there a way to have all the reports access the 1 logo file from a particular file location?  I know this can be done with BO Repositories, however we are not using BO.  The Crystal reports are being called by a 3rd party application and displayed within that application.
    Thanks
    Fishchi

    Yes Fishchi, You can do that with the help of Picture box in CR,
    Do this steps,
    1, Insert one picture,
    Insert Menu>Picture>select any picture>Open>fix i in Page header.
    2,Set Picture location,
    Right clickon picture->Format Graphics>Picture Tab>Thare you can see "Graphic Location"
    -->Click on Formula editor button (X-2)
    -->in the formua editor,writeyour file path, "D:\Picture.jpg".
    -->Save and Close
    On the run mode you will get picture wich you have on that particular location.
    If you use any formula field for setting location, you can access that through programmatically, Or else you can use DataSet Field as location.
    Regards,
    Salah.

  • Session sharing among multiple WAR files inside an EAR file

    Hi all,
    Is there a way where I can share my session object among multiple WAR files which are inside an EAR file?
    Please suggest.

    r035198x wrote:
    Some application servers (like Weblogic) allow to configure session sharing when you deploy the application.Sidenote: which is completely against the servlet spec.

  • Sharing IPhoto library among multiple users

    I'd like to make sure that each of the user accounts on my Mac can easily access the same complete IPhoto library -- to add, edit and remove photos, and to be able to use the photos in the IWeb, GarageBand and other projects associated with those accounts. What the best way to get this to happen (and while I'm at it, I guess I'd like to do the same things with ITunes.)

    webalias rex:
    There are several ways that can be done. The one that has the best success rate is to put the library on an external FW HD which the ownership set to be ignored. Here's Apple's document on that method: iPhoto: Sharing libraries among multiple users.
    Here are some other methods that have been discussed.
    http://ad.hominem.org/log/2005/07/acl.php
    http://discussions.apple.com/thread.jspa?messageID=2151309&#2151309
    http://discussions.apple.com/thread.jspa?threadID=579542&tstart=0
    http://www.captnswing.net/2004/03/20/shareiphotolibrary.html
    http://www.macosxhints.com/article.php?story=20050904072808460
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Sharing JVM applet cache among multiple users (crosspost)

    Does anyone have experience sharing a single JVM applet cache among multiple users?
    (This is a crosspost of http://forum.java.sun.com/thread.jspa?threadID=5157018. I know crossposting is frowned on, but it went a week without replies in the plug-in forum.)
    Our browser plugin clients run in a Citrix environment where Windows Terminal Services servers host the client sessions for multiple users and the users only have a thin client hardware device at their desks. We've discovered that as a consequence of optimizing certain aspects of the Citrix environment a user's JVM cache is remote to the server hosting his/her browser session, and that the remote caching is a performance bottleneck.
    Turning applet caching off improves performance considerably, but we'd like to get the cache directed locally to the server hosting the browser session and turn caching back on. But since hundreds of users times tens of servers in the "Citrix farm" adds up to a lot of cache disk space, we're wondering about users sharing a JVM cache. This already happens when one runs multiple browser/plugin sessions locally on a regular workstation. But what about fifty users' separate plugins sharing a single applet cache? It appears from file timestamps that jars'/classes' idx files in a cache are updated when a file is loaded from the cache. What if multiple browser plugins were trying to do this concurrently? Is there a risk of locking, or a data integrity exposure? Or are those idx updates insignificant since they don't affect the last modified date or the sticky cache version number? (Most apps use a 1_5_0_2 JRE, but some apps require a 1.4 plugin.)
    Thanks,
    Brian

    This sounds very similar to a problem that's occuring for us at the moment. Did you ever find some solution to this problem?
    Regards,
    Jon.

  • Sharing in-memory database among multiple processes

    From the bdb document, due to disk-less operation, it is not possible to share in-memory among multiple processes.
    I am wondering, if it is possible to use DB_ENV but without DB->sync or any other sync() function call, such that the database, cache, etc in the shared region not flushed to the disk, to achieve disk-less operation. Please share your thought.

    See "Using the Resource Capping Daemon on a System With Zones Installed" in SystemAdministration Guide: Solaris Containers-Resource
    Management and Solaris Zones. You can get the manual from docs.sun.com.
    Chapter 10 discuss physical memory control.
    Regards

  • Shared Objects: How to store and read multiple instances

    Hi,
    Can we store multiple instances of Shared Objects in memory and read the desired instance.
    e.g
    If i execute the below program twice then also it will create only a single instance in the memory.
    Can we create a memory object with a key and then read the instance with the object with key
    data: handle type ref to ZCL_SHM_AREA_XX,
          root   type ref to ZCL_SHM_AREA_ROOT_XX.
    handle = ZCL_SHM_AREA_XX=>attach_for_write( ).
    create object root AREA HANDLE handle.
    root->FORM = 'Termination'.
    handle->set_root( root ).
    handle->detach_commit( ).

    Hi Sameer,
    check my reply to Recursive methods..
    Cheers
    Graham Robbo

Maybe you are looking for

  • HT4061 hi team,

    Hi team, Kindly assist to chcek if my SN : C3*******RC9 is qualifies for iPhone 5 Sleep/Wake Button Replacement Program as unable to check in your website ; eror : We're sorry, there was a problem processing your request. Please try again in a few mi

  • Item/Supply demand Concurrent manager

    when am trying to view the item supply/demand It is giving me error CONC-TM-NO MANAGER DEFINED (APPLICATION=INV) (PROGRAM=INXDSD)(RESP_ID=21623) (RESP_APPL_ID=660) should i involve my apps dba to look into this error?? or can i activate it myself?? P

  • Enoder issues on 6023E - urgent!

    Hi, I have a NI 6023E and I'm trying to get labview to read velocity (or frequency) from an encoder on a motor. When I hook the encoder to the DAQ card and program using Labview, I'm getting very strange results. If I use a function generator to send

  • Storing username and passwd in the code

    Hi folks, I am developing an applet based tool that allows users to access and modify database views. My concern is about storing the username and passwd in the code. The clients don't want to store the name and password in the code and want it flexi

  • External Cardbus Firewire Hard drive Wallstreet

    I have a Wallstreet G3 upgraded to a G4. I have a cardbus IE1394 Firewire I want to add an external firewire hard drive. I have to have one with it's own power supply, correct? How large a drive can I get? What rpm? Has anyone had any success with su