What is better way for creating a thread? Why?

A thread can be create in two way, extending Thread class or implimenting Runnable.
What is better way for creating a thread? Why?

Implementing Runnable
See FAQ #1 here [http://forum.java.sun.com/ann.jspa?annID=9]

Similar Messages

  • Whats the best way to create USER variable in BI Apps?

    I have just installled BI Apps and am trying to integrate EBS R12 with OBIEE 11g
    We have USER variable already defined in the BI Apps rpd.
    In EBS Security context init block i need to define USER variable, but when i define it... it says *'USER' has already been defined in the variable "Authentication"."USER"*
    Whats the best way to create USER variable for EBS Security Context init block?
    1) Delete the existing USER variable and then define a new one ( in this case all the places where USER variable is getting used in the rpd would become <missing>)
    And i was told that it should not be done.
    Let me know how can it be done.
    Thanks
    Ashish

    Disable existing Init block and then double click on USER variable and hit on NEW... button to create new Init block
    Thanks
    Edited by: Srini VEERAVALLI on May 1, 2013 4:18 PM

  • More simple way for creating dummy variables

    I am finding for more simple way for creating dummy variables.
    For analyzing by linear regression, logistic regression ... creating dummy variables from categorical data is necessary.
    Most simplest way for creating dummy variables is may be pivot function.
    But I need more simple method.
    Anyone's idea. I welcome.
    Naoya Ikeda

    Hi Naoya. Can you give an example of a sample input and output, with a description of what you'd like to do?
    Thanks,
    Ehren

  • What is the use for CREATING VIEW WITH CHECK OPTION?

    Dear Legends,
    I have a doubt
    What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.
    A: Enforcing constraints at DB level.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
    Please clear my doubt's Legends
    Lots of Thanks....
    Regards,
    Karthik

    Hi, Karthick,
    karthiksingh_dba wrote:
    ... What is the use for creating view?
    A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
    Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
    Views are necessary for INSTEAD OF triggers.
    What is the use for creating a view with check option?
    A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
    A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
    A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
    A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables.

  • What is the prerequisite for creating two hierarchies from one fact table i

    Hi,
    what is the prerequisite for creating two hierarchies from one a single fact table.
    Rgds,
    Amit

    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;You CANNOT use this syntax.
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/glob_tab.gif
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/cre_tabl.gif

  • What is the tcode for creating material receipt

    Hi,
    what is the tcode for creating material receipt & payment to the vendor

    Hi,
    You recieve your material from the vendor and do a Goods Reciept in MIGO with mvt 101. You can even enter via T-Code - MB1C.
    Once you get your Invoice for this reciept from your vendor, you then do invoice verification in MIRO.
    After verification, if there is no blocking of the invoices and is posted and released, a accounting document is released during the posting of MIRO. These documents are then referred by FI pals, who are responsible for the payment.
    Hope this gives you a clear picture.
    Anand
    Message was edited by:
            Anand.B.K.

  • HT2534 I don't have none in payment method. What can I do for creating an apple ID without credit card?

    I don't have none in payment method. What can I do for creating an apple ID without a credit card?

    You need to follow, exactly, the instructions on the HT2534 page that you posted from when creating an account - I've just tried it on my iPhone and those instructions still work.
    Creating an account with 'none' :
    computer's iTunes : https://discussions.apple.com/message/24321860
    iPhone : https://discussions.apple.com/message/24700173

  • What is the BAPI for creating BP account / contact ?

    Hello experts,
    what is the BAPI for creating BP account / contact ?
    Please replay me as erarly as possible. Urgent requirment.
    Thanks,
    HP

    Hi,
    I think it is for bua1.
    Below are other bapi's which migt be useful:-
    BAPI_BPCONTACT_ADD_TO_ASGN BAPI Partner Sales Activity AddToAssigned
    BAPI_BPCONTACT_CHANGE BAPI Change Partner Sales Activity
    BAPI_BPCONTACT_CREATEFROMDATA BAPI Partner Sales Activity Create from Data
    BAPI_BPCONTACT_CREATEWITHDIA BAPI Partner Sales Activity - Create from Data Dialog
    regards
    Sandipan

  • What is the tcode for creating a variant ??

    Dear Guru,
    I want to know What is the tcode for creating a variant  which is being used for SM30 's variant option .
    Because we have created a maintenance view and we want to run this trhough tcode..
    but dont know how to do it.
    pls guide through out the procedure.
    thanks & regards
    Saifur rahaman

    Hi,
    If you want to create the TCODE for the TMG you created you must go for Parameter Transaction
    Go to SE93
    Give your Tcode
    Click Create , select parameter transaction Radio Button
    In the Transaction Field Give SM30
    Check the Check box SKIP INITIAL SCREEN
    select your GUI support and SAVE
    in the space provided give F4
    Select        VIEWNAME and give your table name
    Select                  UPDATE  give it as X
    then SAVE
    Edited by: Prasanth Kasturi on Nov 25, 2008 6:54 AM

  • What is the BAPI for creating an inbound delivery without reference.

    Hi Experts,
    What is the BAPI for creating an inbound delivery without reference.
    Points will be rewarded

    BAPI_DELIVERYPROCESSING_EXEC
    cheers
    Aveek

  • What is the Procedure for Creating BC sets In PI

    hi
    what is the Procedure for Creating BC sets In PI
    Thanks

    Hi Venkata,
          Read this SAP official document on creating BC Sets:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f91fbef11d2958c00a0c930dcc1/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f91fbef11d2958c00a0c930dcc1/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6f/3c3f88fbef11d2958c00a0c930dcc1/frameset.htm">Create Business Configuration Sets</a>
    Regards,
    Subhasha Ranjan

  • I now have 4 itouchs, 1 ipad mini, and three iphones for my own family members.  What's the bet way for me to setup itunes so that we can all share the same music, apps, movies, shows, etc?

    I now have 4 itouches, 1 ipad mini and 3 iphones in use by my direct family.  What's the best way for me to set things up so that we can all share the same music, apps, movies, shows etc?
    I would prefer to have one account to input dollars which allows all the users (my direct family) to share and buy things.
    Can we all have different user ID's however share the same account?

    I'll try to help a bit.
    ITunes match space is different to icloud space. With iTunes match you get storage for 25,000 non iTunes purchased tracks and other than a limit for individual file size, there is no memory limit.
    You can turn match on individuallyon each device (I have it turned off on my iPod but turned on on my iPad and iPhone). When you turn it on then you get access to all the tracks, and in my experience any playlists I create have transferred over very well. I understand that some people have had trouble with playlists though.
    I'm not quite clear with exactly what you mean regarding cleaning up your library, but be careful about using Match for this. There is no guarantee that matched songs will be exactly the same version as your own copy, due to some mismatches, so you could find some problems there. Personall, I am cleaning up my library before matching, but I am rather particular about keeping my library the way I want it. If you aren't as fussed then match could be the answer.
    Hope that helped.

  • InDesgin CS6:  What is best practice for creating a jpg for web use?

    My graphic design experience is heavy toward print, but I’ve been charged to solve this web-graphics problem for my team. I’ve done searches online and can’t find resources specific to this issue. Thank you in advance for any assistance you can provide.
    Here’s the issue:
    My team uses both InDesign and Photoshop CS6, to make landing pages and other stuff for our website. After saving to jpg files, the InDesign files always have jaggy text compared to Photoshop’s jpg. What are we doing wrong?  Can’t InDesign be used for web?  I’ve also tried saving it out as PNG with no better results.
    Note: The background in the InDesign files are created in Photoshop (these look fine in both programs)—but the text created in InDesign looks jaggy while Photoshop’s text looks clean.
    Here’s how we save it in Photoshop
    File > Save for Web with these settings: JPG, High, Optimized, Quality 70, Blur 0, Matte None, Quality Bicubic.
    Here’s how I solved the problem (which seems too labor intensive to actually be correct) Is there a better way?
    I convert text to outlines.
    I change the “intent” to web intent
    Manually reset the page size.   Whenever I change the intent in anyway, InDesign automatically changes the page size to 8.5”x11” or 800x600 pix regardless of the original page-size. I expect it to change proportionately from inches to pixels, or vise-versa, but it just won’t do it. Is there a preference for this somewhere?
    Export as JPG with these setting:  Quality Maximum, Format method progressive, Resolution 72 ppi, Color Space RGB, Options: Embed Color Profile: sRGB IEC6196-2.1, anti-alias.
    Our web people tell us that if we use a higher resolution the image comes in proportionately too large, and they can’t use it at that size.
    This seems like a lot of work. There must be a better way?

    Ok. Thank you.     Hmm....I don't have PDF/X-4.  I have Adobe Preset PDF/X1a and PDF/X3.
    I assume PDF/X-4 is a from a newer version of InDesign.  Will PDF/X-3  work as well?
    So there is not a way to achieve a crisp jpg or png directly from InDesign without all the steps I'm using now?
    BTW, do you happen know why changing the "intent" changes the page size? or where I can change a preference on this.  unless I've overlooked it, I don't see anything relating to this under edit > preferences. 
    Thanks again for your reply, I value your input!

  • Is there any better way for updating table other than this?

    Hi all, I need to update a row in the table that require me to search for it first (the table will have more than hundred thousands of row). Now, I am using a LOV that will return the primary key of the row and put that primary key to DEFAULT_WHERE property in the block and execute query command to fetch the row that need updating. This works fine except that it require 2-query-trip per update (the lov and the execute_query). Is there any better way to doing this? This update is the main objective for my application and I need to use the most effective way to do it since we need to update many records per hour.

    Thanks Rama, I will try your method. Others, how to query row instead of primary key? I thought that querying primary key is faster due to the index?
    BTW, what people do if you need to update a table using Form? I have been using the LOV then execute query since I first developing form. But I am building a bigger database recently that I start worrying about multiple query trip to dbms.
    FYI my table will have up to million rows on it. Each row will be very active (updated) within 1-2 weeks after it creation. After that it will exist for records purposes only (select only). The active rows are probably less than 1% of all the rows.

  • Is there a better way to create motion menus buttons in DVD Studio 4.2.2?

    Hi all,
    I have been creating my motion menu videos for DSP templates in FCP or iMovie. Is there an easier way for DSP to recognize my chapter markers and automatically do this like iDVD?
    thanks,
    NBK

    A slightly quicker way to do what you described for an images is to select 'Duplicate version' instead of 'New version from Master' and then 'Remove adjustments' from version 1. This will leave you with the first version as the 'before' and the second version as the 'after' without having to use L&S.
    If you need to do this for 108 images, it might be quicker to do the following:
    Export Masters for all 108 images.
    Reimport these into a new project (called 'before', for example)
    You will then have a new project with the 'before' images and your original project with the 'after' images. You could then build an album to group all of these together. When you've finished with the 'before' & 'after' images (build your web gallery or emailed them or whatever), simply delete the 'before' project.
    Regards,
    Steve
    Message was edited by: Stephen Ives

Maybe you are looking for

  • How  do I use an external FW drive as a source for Migration?

    I'm about to turn on my new iMac (intel)for the first time. Before I do, I would like guidance and advice on the best way to proceed to migrate (transfer) two specific users, internet settings, e-mail settings from a FW drive that had been establishe

  • Repeated System Hard Locks since iTunes 11.4 patch in full Screen apps.

    Firstly, the patches changes to iTunes U seems to have corrupted my iTunes library - I now have iTunes U content showing up randomly as Music, TV Shows, and Movies.  Also, many tracks have lost information. Secondly, I am getting the 'cannot sync, ou

  • Headphone jack issue

    I recently took my MBP in to repair multiple problems. One was that the headphone jack produced noise when USB and Firewire cables were plugged in. I believe that part was replaced (I know the logic board was). Now, the heaphone jack has a different

  • Link between AFVC and EBAN tables (material report)

    Friends, wanted to check if anyone can provide assistance on table links between AFVC and EBAN.  The requirement is to track material/service quantity, price, etc in comparison with plan version versus PR, PO, GR, etc.  tried retrieving object number

  • HT204350 Migration PPC / Leopard to Mavericks

    I've got to migrate user data from a G4 PowerBook running Leopard to a new MacBook Air. What's the best strategy for doing this and how do I avoid getting all the redundant PPC and Classic files coming over to the Air?