Is there a best way to create a uuid.

Hi all,
I'm a little bit confused about the right way to create unique objects ids, a way not depend on a database.
There seems to be several approaches to do this:
1.The class java.rmi.dcg.VMID states: 'A VMID is a identifier that is unique across all Java virtual machines.
It generate a uuid which can be convertet to a String.
2.The class net.jini.id.Uuid states: 'A 128-bit value to serve as a universally unique identifier. Two Uuids are equal if they have the same 128-bit value. Uuid instances can be created using the static methods of the UuidFactory class.
3.The W3C org seems to have a guid generation.
4.If you search the internet you will find several other implementations, like www.doomdark.org/doomdark/proj/jug/
Why exist so many implementations of this feature?
What is wrong with VMID?
Klaus

There was a question similar to this a little while
back:
http://forum.java.sun.com/thread.jsp?forum=4&thread=458
77Mmm, but they werent able to produce any satisfying answere there either...
Generating a true UUID is by nature plaform dependent, and should IMHO be implemented by the JRE/language libraries. Native code that is not a part of the JRE is always a problem, especially in J2EE environment. In addition, true uuids are useful in very many programming situations. Also, the random based versions are pretty dangerous, and can cause pretty nasty problems.

Similar Messages

  • Best way to create pop-up menu's

    Hi All,
    I have been having a heck of a time doing something that i
    would have assumed to be relatively simple - specifically creating
    a pup-up menu.
    My first set of approach was to dynamically create a movie
    clip on a button rollover, and within that movieclip create several
    other movie clips that i then assigned actions too. The problem was
    that since i applied a action on "rollout" on the initial movie
    clip, it became a button, and as such all of the sub
    movieclips/buttons became in active (any click was only detected on
    the parent).
    My second set of attempts have been around the MenuComponent
    (see other posts), but here too i have hit problems, initially with
    animation and depth. I solved the animation issue, but the depth
    problem remains.
    Now, i see pop-up menu's everywhere, so i assume that this is
    a relatively simple problem - so what am i missing. A google search
    showed up lots of examples of how to do using menu that are created
    in the UI (rather than purely in AS), using purchased components.
    The first case is not an option since i need to create it fully
    dynamically, the second would be an option - however i typically
    need a far greater level of visual control than off the shelf
    components provide (hence i have needed to build up my own class
    library for many common tasks).
    So after all that, i have a simple question.
    "What is the best way to create a dynamic popup menu in
    AS2?"
    Regards
    Neil

    I guess you want to make your own popup menu, if I understand
    correctly. Nothing simpler, your first attempt was in the right
    direction, you just don't assign button actions to the parent clip,
    because you won't get the child clips to work, but add another
    child at the lowest level inside the parent, that acts as a
    "background" clip/button.
    And for the rollout for the entire popup, you can add a
    transparent clip just under the popup (which is at the currently
    topmost depth) covering the entire stage, give it rollover that
    acts as your rollout, and make it not use the hand currsor, so you
    can't tell it's there.
    That's how I do it, anyways..

  • WHAT IS THE BEST WAY TO CREATE AN XSD FILE (TO BE USED BY SOAP ADAPTER)

    Dear friends
    I have a simple scenario.
    OUTBOUND DATA  -->  SOAP ADAPTER  --> ( XI )  -->  RFC ADAPTER  --> INBOUND DATA
    The XML file that I got from mapping area of IR (Design) is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_NAME_SOURCE xmlns:ns0="http://test3.com">
       <FIRSTNAME>DAVE</FIRSTNAME>
       <LASTNAME>SMITH</LASTNAME>
    </ns0:MT_NAME_SOURCE>
    If you notice, there are only 2 fields.
    I need to create an XSD file and import it as an external object, which I can use for SOAP Adapter.
    Which is the best way to create it.
    Also, I need to know if there is any step by step of sending a message from XML SPY. I have downloaded this software, but am not able to undertand how to use this.
    Hope to hear from any experts on this forum.
    Thanks in advance
    Ram

    Hi Ram,
    See the below blog..
    It shows how to send SOAP message using XML Spy.
    It also shows how to generate wsdl.
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Regards,
    Sumit

  • What is the best way to create business documents in CRM

    Hi All,
    What is the best way to create business documents like contract, sales order, debit memo etc in CRM ? Unlike R3 we can't use our good old BDC with recording. Moreover for most of them although there are Business Object but no BAPI to creation so what is the way ? I found in SDN there are two MAGIC Function module CRMXIF_ORDER_SAVE. Do I need to that alawys ?
    Is it nees to via IDoc and cannot be done just by calling from ABAP program ? The input parameter of the FM is a complex deep structure.
    Please help.

    Ashim,
    Try looking at the program:
    CRM_TEST_ORDER_MAINTAIN
    I think that should help you figure out the parameters.
    Good luck,
    Stephen

  • What is the best way to create a database schema from XML

    What is the best way to create a database schema from XML?
    i have  a complex XML file that I want to create a database from and consistently import new XML files of the same schema type. Currently I have started off by mapping the XSD into Excel and using Mysql for Excel to push into MySQL.
    There must be a more .net microsoft solution for this but I cannot locate the topic and tools by searching. What are the best tools and way to manage this?
    Taking my C# further

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Is there an easy way to create an portfoliopage on my site?

    I like to know how i can do this the best? Im not so good in Dreamweaver.
    this is my page where i like to put the portfolio in.
    Ive got a almost 10 documents wich i want to put on my page.
    i can make thumbnails from the documents for on the page.
    Looking forward to your answer..
    Regards

    Thank you very much. The last one youve send me looks the most what i have in mind. With some thumbnails and when you click on it you see a larger document.
    But it doesnt fit quite in the style of the site. You have an other example for me?
    Regards Brian
    Date: Sat, 7 Apr 2012 16:56:54 -0600
    From: [email protected]
    To: [email protected]
    Subject: Is there an easy way to create an portfoliopage on my site?
        Re: Is there an easy way to create an portfoliopage on my site?
        created by Nancy O. in Dreamweaver - View the full discussion
    You could arrange your thumbnail images in a grid and link each one to other HTML pages (view source to see the code)http://alt-web.com/TEMPLATES/Dark-Grid-II.shtmlhttp://alt-web.com/TEMPLATES/CSS-Semi-liq-p hoto-sheet.shtml Or you could arrange thumbnails in a grid and link to full size images with jQuery FancyBox (click on images)http://alt-web.com/TEMPLATES/Dark-Grid.shtml   ()__() (='.'=)(")_(") Nancy O.Alt-Web Design & PublishingWeb | Graphics | Print | Media  Specialists  http://alt-web.com/
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4320059#4320059
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4320059#4320059. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • What is the best way to create Aperture book from Pages '09 document?

    What is the best way to create Aperture book from Pages '09 document?

    There is no way to import pages documents to Aperture and convert them to an Aperture book. Aperture books can only be created by manually adding images and text to the pages of a book, and using the layout of the predefined templates.
    The best you could do, would be to print your pages document to pdf and import the resulting pdf file into Aperture as a new project. This will create one image for each page. Then select the page images all at once and  create a new book. Select a theme with fullsize page images, like "picture Book", and then add the images of the pages to the empty pages of the book.
    But probably would you get a much better quality and layout, when you recreate your pages document in Aperture, by starting with an empty book and copying and pasting the text from your Pages document. But don't paste the photos from the document - try to use the originals of those photos.

  • Dw, css, and a template, what is the best way to create a 20 page website with a different header in each page?

    dw, css, and a template, what is the best way to create a 20
    page website with different header content on each page? i am
    trying to insert a specific image and background color for each
    header on every page. what is the easiest or best way to do this?
    thanks, bryan

    "mediastream13" <[email protected]> wrote in
    message
    news:f47bes$9om$[email protected]..
    > ok, murray, here is the site.
    http://www.helphotline.org
    > in I.E. 6 i can't see the background color behind the
    header images,
    I'm seeing a hot pink background (which is my browser default
    - so that I do
    remember to declare a background color). You need to add:
    body { background-color: white;} to your stylesheet, or into
    the imbedded
    styles on your page.
    In Firefox, the very top black section, #headertop is hidden
    behind the
    header image.
    > background of the date/time isn't stretching the full
    length of the
    > screen, and
    > the margins aren't working in the main content area. how
    can i put a
    > background
    > color behind the header images?
    I can see the header image stretching right across the page..
    so not sure
    what color is missing there.
    > is there anyway to download i.e. six on my computer if i
    already have
    > i.e.7? i
    > just want to be able to preview the site before i upload
    the changes. it
    > seems
    > everything works in i.e. 7.
    Yes, I used this and it works really well.
    http://tredosoft.com/Multiple_IE
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au

  • What is the best way to create a website on a imac g5  (2005)

    After reading a variety of reviews of Life 08 I want to know
    what the best way to create a website. Should I buy ilife 08
    or do something else? There is no iweb on my g5.

    If you are a novice then iweb is a good place to start. It will allow you to create a site quickly with the minimum amount of work. You can then learn more as you go along if you want to. To publish you will need web space somewhere. Thats how I started and now I am studying web design with the Open University and am learning xhtml and CSS, then progressing to Java etc. Good luck and have fun - it is quite addictive once you start.

  • What is the best way to create a Flash site

    Hello Everyone,
    I am realtively new to flash. I created the splash page of
    our site in flash but 1st off it takes to long to load as it is.
    But I would like to create the entire site in Flash. What is the
    best way to create a Flash site, and are there tutorials out there
    or any really good books, resources, or online classes to learn
    Flash well. I understand the basic of flash and have created
    banners, and other flash materials.
    Can anyone help?

    For me, as a noob, It's all about creative problem solving.
    For lots of stuff, there's no right or wrong solution, but you have
    to figure things out on your own. I, too, have built sites from the
    ground up, and then rebuilt them even better. It's the only way to
    really learn it well. Books, online forums, help docs all sort of
    help, but it all comes down to how innovative you can be with
    integrating them all into a site that is completely yours.
    This might save you loads of headaches: avoid using scenes,
    unless you are doing only animation. Keep each of your 'pages' on
    their own keyframe, and use 'gotoAndStop' to navigate through them.
    This is perhaps the easiest way to create a website quickly.
    P

  • Best way to create DVD

    I've exported a movie that I created in FCP 3 to a Quicktime file. I would like to burn the movie to a DVD that I can play on a DVD player. I've been trying to use iDVD 4, but its not recognizing the audio in my quicktime file. Is there another way to do this?

    With all due respect, I fail to see how my comments are off the mark. iDVD has two settings... that to me is for consumers. How can any professional slice the art of compression into 2 settings? Compressor provides many more choices that a pro would probably use. And even Compressor isn't great as higher-lvl compression software, but at least its a start. The topic of this questions is BEST way to create a DVD, not the worst way, and clearly the BEST solution does NOT have iDVD in it. It's the same reason you don't edit in iMovie over FCP, it's the reason Windows users don't use MovieMaker. iDVD is a decent entry-lvl program, but frankly not cut out for anything above home video.
    null

  • Best way to create an html from application

    I need connect to an Oracle database and generate a static report from the result Query.
    Do you know what can be the best way to create this html file ?
    There is exists some html library to use?
    Thanks in advance

    you don't need a library. html is verry easy to use. you only have to write text to a file with html-tags.
    hope it helps

  • Best way to create template

    Can anyone suggest from experience, the best way to create VM templates (Golden Images for the organization) from existing VMs. I tried using the "clone" feature in VM Manager but looks like I will have to manually configure networking (IPs etc.) on the VMs created using these clones. I can write a script to do so but just wondering if there is better way out there. Something similar to the templates provided from Oracle that allow configuring IPs etc. on the first boot. I noticed there is a "Template Builder" product out there but not sure if it's a better option.
    Edited by: user10016990 on Jan 29, 2013 9:10 AM

    sebastian:
    first thing you could look for is the canned motion "replace me" graphics. they're grey with numbers in circles (1, 2, 3, etc) kinda like you'd see in an old movie countdown. they shoudl be buried somewhere in the Motion graphics content libraries. i'd use these as your placeholder graphics, name them "replace me #1" in the layer view.
    second, if the sizing is important, you might have to place a pre-sized rectangular mask on each of the replacement objects. otherwise, when you drag an object onto layer object to replace it, the object will be resized to match the incoming object's aspect ratio and ruin your alignments.
    PowerMac G5 2.5GHz   Mac OS X (10.4.5)  

  • Best way to create a Contact Us form

    What is the best way to create a contact us form?
    I created mine using a table and the form sleection of DW CS6.
    Thanks!
    Janelle

    Creating the form itself is really only half the job.
    You can have a marvelous form created using html and DW's built in form items. Those items can be in a table, or not, that part is up to you. The next step is making the form "do something".
    The simplest way to make a form work, is a mailto: link in the form action attribute, but it's the absolute worst way to go. Mailto: links require the viewer to have an email client installed and set up on the computer they're using to submit your form. If they don't (as in the case of Gmail, htomail, yahoo, etc mail users) when they click Submit, absolutely nothing will happen.
    Another drawback of using a mailto: link for your form submission is that email address is now open to every spam email harvester on the internet. If you like certain "blue pill emails" then there wouldn't be an issue, but if you are like the majority of society, you won't be sending funds to any Nigerian doctors either and won't want to be spammed constantly.
    Personally, I use the Formmail script, available for free at http://www.tectite.com for pretty much all of my html forms. As long as your server has PHP installed (most do) the Formmail script will work very well for you. They have a ton of "How To" info on their site and the script itself is very robust with loads of features you can use, or not, at your discretion. They also have a very well documented troubleshooting section and a searchable forum that take care of the most common issues you run into.
    Your next step is "find out what server scripting language you have available on your server". From there, you'll need to find/write a compatible script, then attach your form to it.

  • Best way to create slide shows in PE4 and PSE 6

    What's the best way to create a fancy slide show in PE 4 and PSE 6? I need to create a slide show of about 600 pictures. I'm on Windows XP with 3gb RAM. I've done this a few years ago in earlier versions of PE and PSE. Before i plunge into this again i wanted to get some overall guidance for what to do or not do.
    My ultimate goal is to create a slide show that:
    1. uses pan and zoom on every photo
    2. transitions between every photo
    3. has an audio track
    4. has some nice special effects -- words and graphics that appear on slide at precisely the right moment to match the song, and stay on the screen as one slide transitions to another. i want the text to be able to move and fade in and out.
    My view is that it's easy to accomplish #1-3 in PSE 6; it's quite simple to create a slide show, add pan and zoom, and transitions. However, #4 is not doable because adding text and graphics can only be done on a slide at a time and only when the slide start/stops (i.e., you can't have text appear 2 secs after the slide has started displaying and stay on screen while the next slide appears). Need PE 4 to do that.
    What i'm wondering is:
    -- is it best to create the basic slide show in PSE6 and then export to PE 4 to do the final fancy stuff, or is it best to just create the show in PE4? Seems that doing the pans, zooms, and transitions are easiest in PSE 6.

    eric,
    I am going to offer some reasons NOT to start this slide show in Photoshop Elements. This is despite the fact that I have used the workflow of starting in Photoshop Elements and used the Send Slideshow to Premiere Elements in PSE5 - PE 3 and PSE7 - PE7.
    1- Timing differences between the PSE and PE slide show construction and processing
    There are many differences in timing between the two products. Transitions can start/end slightly offset from their timing in PSE once they arrive and are processed in PE. Same for pan and zoom. Does this matter? Well the more precise your timing, the more potential for a show stopper.
    Example: one person who wanted continual motion using pan and zoom needed to go modify the transition positioning and the keyframing of the pan/zooms on every single slide after sending a slideshow from PSE to PRE.
    2- your requirement to
    "words and graphics that appear on slide at precisely the right moment to match the song, and stay on the screen as one slide transitions to another. i want the text to be able to move and fade in and out."
    You can't really sync the audio to a slide in PSE. The text can't move or fade in/out. I think that it will be more grief to retrofit these functions to a slide show that was created in PSE than it will be to do the all the work in Premiere Elements.
    3- "Add the sound track for the ENTIRE slide show (this will be longer than i currently have slides for because i don't have all the photos"
    I am suspicious that adding the ENTIRE sound track in one PSE slide show will not work.
    I have done multiple sends from PSE slide show editor to Premiere Elements. However, I decided on the approach of using no audio in the PSE slideshow editor and adding Audio in Premiere Elements AFTER sending all the slide shows.
    Again, your objective of syncing specific photos to music points is good artistically - but I am concerned that it will make your PSE to PRE workflow problematic.
    4- "as new photos arrive, do the arrangement/pans/zooms in PSE and move them to PE"
    As Steve mentioned when you do subsequent sends of the slideshow, it appends to the end - does not seem to fit your objective of replacing part of the middle.
    Also if you get new photos in for the second section of the slideshow - but over in Premiere Elements you had already made other changes in the second section. There is no function to combine new changes doen in PSE and changes done in PE for that same "section" of the slideshow.
    5- you did not say whether you will be outputting this slide show in Full Screen or Widescreen format. Will you be burning a DVD? If you will be doing widescreen output, additional problems with specifying pan/zoom in PSE have been identified on various forums because the PSE pan/zoom boxes are not widescreen aspect ratio.
    Conclusion:
    Some of my comments here are definitely subjective - however, it is my overall conclusion that your objectives and work plan are not a good fit for the Photoshop Elements slide show editor to Premiere Elements workflow.
    My perspective on the Photoshop Elements slide show editor is that it is designed to simple, quick and easy. Therefore it has limitations.

Maybe you are looking for