Variable conversion, which layer is best?

I'm retireving several inputs from an html page into my jsp. I need to convert the Strings that were collected as doubles and ints in the JSP / web layer.
It's currently doing the conversion in the JSP. Is it considered a better practice to do the conversions in the Java layer, and / or would it improve performance?

I'd use .mov and ensure that AIC compression is used.
You really only have two choices since only mp4 and mov will work at all out of that list.

Similar Messages

  • Can anyone tell me that which is the best online document conversion site?

    Can anyone tell me that which is the best online document conversion site? And what’s the best features  of that site?

    Here is it just click on onlinedocumentconversion.com and convert your PDF files easily with great quality. The site also provide customers after sale services which is very secure & effective.

  • Which is the best decode or case

    Hi,
    When you check performance wise which is the best one decode or case?
    Thanks,

    > You mean CPU processor speed or oracle buffer(SGA).
    Neither. CPU architecture. RISC vs CISC vs ..
    On a PA-RISC1 CPU a DECODE is just a tad faster than a CASE. On an AMD64 CPU, the reverse is true.
    > When I increase memory, The case and decode performance will increase?
    No. A CASE and a DECODE does not need memory to work faster. It is a set of machine code instructions that needs to compare values to determine a result. It depends on just how fast the CPU can execute this set of machine code instructions.
    A faster CPU will make a very significant difference. An AMD64 Opteron CPU is a couple of times faster than a PA-RISC1 CPU.
    I had this exact same conversation back in 2006 on this forum - and posted [url
    http://forums.oracle.com/forums/thread.jspa?messageID=1346165&#1346165]this benchmark to show that the decision of using CASE or DECODE is not a decision that should be based on raw performance.

  • How to check which is th best method to use in LSMw and the file

    Hi all,
    I am new to LSMW,
    Can know me when i get the file , how to check the which is the Best method ( Batch input, Direct input,BAPI, IDOC)  have to use in LSMW .
    How to check the input file is completely filled and how to check whether it is correct and also how to Prevalidation check has to be done fior the file before uploading.
    Can you provide any documents LSMW also Apprecited.
    Regards,
    Madhavi

    Hi Madhavi,
    To check Correctness & completeness of the file:
    1. The input file structure should be same as source structure what you defined whicle creating LSMW.
    2. Check the following steps to assure the field mapping is done correctly.
    a) Maintain field mapping & conversion rule
    b) Check 'Display Read data'
    c) Check ' Display Converted data''
    Please note LSMW is a tool, which will simply upload the data whatever you are providing. So you need to be careful while making your file and validate it outside SAP ( before upload start)
    Pradeep D

  • JSF CDI : Conversation scope bean[s] best practice

    *JSF CDI : Conversation scope bean[s] best practice*
    Hello, im currently learning about JSF 2.0 and im so glad for the existence of this conversation scope feature, which is very helpful in opening a new tab or a new window on the same page and having separate resources, not overriding one another.
    But im curious on how to implement this in a good way, about when to start the conversation and when to close it.
    In my case, i have each CDI bean for each JSF page. And let's say that i have a menu, and when it's clicked, this will lead to page A, and from A, could lead to B, B could lead to C, C could lead to D, all these 4 pages are connected in one chain.
    Accessing A's bean properties from B or C or D beans is possible, accessing B's properties is also possible from C or D beans and so forth.
    Now im quite confused about :
    * whether all these A B C D should be in conversation scope or not, or perhaps just A ? Because i think sometimes from another page that is outside the ABCD chain, like a page F, it could navigate to page B, although i dont know how to supply the data to the bean B yet.
    * whether all these A B C D should be combined into one bean
    * where and when to start the conversation, im thinking about the constructor, but i dont think it's a good idea, because i prefer starting the conversation when first accessing the page, not the bean
    * where and when to stop the conversation, so that there wont be unused resources hanging around
    Regards,
    Albert Kam

    There are also some commandButtons on the view page, which performs actions on Product object, fetched by passed ID.

  • Filter or Restrict on? Which is the best way to put it?

    Hello Experts,
    If there is a Characteristic/Key figure on a report in BEx, and I right click on it and find another data element say, 0FISPER it I EDIT. On right click on 0FISPER I a variable.
    My question is this, do we way that the key figure is RESTRICTED ON 0FISPER
    or, key figure is FILTERED by 0FISPER
    When do we use Filter or Restrict on? Which is the best way to put it? How best is it read, please include the variable in your discussion.
    I will appreciate this clarification.
    e.g. Company code EDIT shows Company codes ZPPTcomp: with nodes  8000, 9000
    Thanks.

    Hi Amanda,
    as per my understanding,
    you are checking the structure field, you have selected edit then you are viewing a key figure and 0fiscper restricted by varaible. am I right?
    if this is the case this is local selection and the key figure is restricted by fiscper variable means the restriction value user can enter in selection screen. if you select 0fiscper and select restrict there you can see single values, value range and you can also see varaible tab. by using varaible tab you can restrict to variable value.
    hope this gives you some understanding.
    Sathya

  • Which vi is best to use from pid toolkit to control 8 temperature zones?

    Hi:
    I recently bought LabVIEW 8.5 w/ PID toolkit but I can't find the "pid.vi" in its examples. Although I have never used this pid.vi, I heard  that this one is a good vi to control multiple  temperature zones. Help me if I am not searching this vi in a right way or place.  I am using NI 9264 module kit for the output power. My input is two NI 9211 thermocouple temperature module.
    However my question is the same as of subject: Which vi is best to use from pid toolkit to control 8 temperature zones?
    I also see in the readme file of NI 9264 that it can give a current drive of +/- 16mA for all channels. What does that mean? Since I'll be using a solid state relay which drives on 30mA/per channel.
    Thanks for any help in advance.

    Hi HopeS,
    Unfortunately, PID control theory is not a simple subject, and there is no single answer on parameters, because every system differs in their response to inputs. That's why the P, I, and D parameters are adjustable. We do have a PID autotuning VI found in the same palette which will launch the AutoTuning wizard to help you get mor precise parameters once you have reasonable values to work with already. But again, you need to know a reasonable set of values to operate with for P, I, and D. Once you use the Autotuning Wizard to get new PID values, I would recommend replacing the VI with the normal PID VI and manually entering in the values you found through autotuning. Then you can use an array of all your temperatures (process variables) as the input to the VI. The "simulated" case of the Ready-to-Run Temperature Controller example you found is about as simple as it can get.
    And the output of the VI is just going to be based on the mathematical transformations going on within the VI. Since you want a analog output current, you'd rescale that output if necessary and wire it into a DAQ Assistant VI (or DAQmx Write). I'm not sure I understand what you mean with not having to "play with the VIs" - this application will require some small amount of modification to fit your hardware.
    Regards,
    Vijay S.
    National Instruments

  • I need an app or other method to preserve and restore my text message conversations which will be erased during a battery repair on my iPhone 5.

    I need an app or other method to preserve and restore my text message conversations which will be erased during a battery repair on my iPhone 5.

    Backup your phone to iCloud/your PC and when you restore your phone they will all come back.
    There are 3rd party apps that will allow you to export your messages on your PC.   A google search will help you sort out which suits your needs best.

  • Which is the best way for creating video placeholders in AE?

    I should create some video placeholder for AE animation, but I am not sure which is the best approach to do that.
    I found some tutorials on the web where is explained how to create basic placeholders in AE, but I want to do something better.
    Could I create some placeholder even in Photoshop? And after that to import this psd files into AE.
    I saw some intersting placeholders on Videohive but I don't know how to create something similar?
    Any help?
    Regards!

    Any layer may be replaced with new footage by simply selecting the layer you want to replace in the composition, then selecting the new footage in the project panel, then holding down the Alt/Option key and dragging the new footage to the composition.
    If you want to automate the process of replacing footage you'll have to use a script.
    If you want to use a project as a template then simply copy the template file in it's folder and paste it into a folder that contains the same structure as the template. IOW, the folders should look like this:
    Template Project
         >template.aep
         >Footage
    New project
         >copiedtemplate.aep
         >Footage
    Your footage has to have the same filename as the original template project.
    You can also save an AE project as a template (aet) project. That's what they are doing on siges like Video Hive. The template isn't easily overwritten so it maintains the work. Then you simply add your footage using the first technique that I talked about.

  • Which OS, Version, Best Setup on like-new 2008 MBP for non-HD archival DV?

    MacBook Pro 15"
    (Early 2008)
    2.4 GHz Core 2 Duo
    4GB RAM
    720GB 7200rpm Hard Drive (original 360GB 5400rpm drive also available)
    OS 10.6.8
    (6GB RAM possible but additional $100+ for 4GB module needed now for software upgrades)
        I first and last used Final Cut Pro 2-3 in film school on a Titanium PowerBook (500MHz!) during the OS9/X transition.  Next, was an Aluminum PowerBook (1.67Ghz) but because of life changes, I did little editing other than occasionally in iMovie.  Then as an early adopter of iPhone/Pad, I rarely used my AlPB other than for back up, writing, and occasional simple editing.
        Now I'm finally entering the early MacIntel age with a pristine "early 2008" MacBook Pro bought for $250 from an elderly original-owner couple who used it only at home for email and iPhoto.  Though at the end of its supported life, it's practically new with a known history of light graphics usage (no video or gaming rendering ever) delivered in the original box with original battery (only 46 cycles!), discs, manual, like-new charger, and no sign of wear.  The original internal wrapper was even saved and put back on the device!  Furthermore, because the wife was a photo enthusiast, the Apple Store swapped out her internal hard drive for a Western Digital 720GB 7200rpm drive and the husband just gave me the original 360GB drive!
        I want to do several things with this "new" device.  I've done a lot of research but the world has changed since FCP 3 and the G4 processor and I'm overwhelmed with all the possibilities.  I need guidance and have always appreciated the wisdom and generosity of the gurus here. I thank you all in advance!
    iCloud integration: I'd like it since I'm an iPhone/Pad user.  I could upgrade to Mountain Lion but Mavericks, under the best of conditions, is doable on my device and may give me improved CPU and battery performance.  I realize this is best left for the OSX forums.  HOWEVER...
    Final Cut Pro: I want to also return to editing in FCP an unfinished documentary using primarily archival film and video converted to non-HD DV.  This may greatly impact how I set up my drives and the decision as to which OS is best.  So, this should probably be my initial decision.
    Hard Drive:  First and foremost, I should probably swap the drives and place the 7200rpm drive into an enclosure (Firewire or is that stone-age?) for FCP media, correct?
    OS:  With Mavericks, I must use FCPX which is beyond my current non-HD needs and will most likely strain my system resources.  However, the new simplified interface is appealing and I've read some users are running it on "early 2008" MBPs.  If an earlier OS is better suited, then which one?  And also...
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Partitioned drive:  Finally, what about partitioning my drive, one for daily life running Mavericks or other OS, the other solely dedicated to an optimized OS/FCP for non-HD editing?  Even at 360 GB it should be doable if I keep it lean and the bulk of storage externally (I ran FCP 3 adequately on a partitioned 40GB drive back in the day).  How much space should I dedicate to an FCP partition?
        Finances are tight and I'll need to upgrade Office, other apps (I know there's Rosetta in Snow Leopard but must weigh that with iCloud integration; decsions, decisions!) and probably locate an older copy of FCP on EBay or elsewhere which could be expensive.  I must wait a bit before swapping in a 4GB RAM module and possibly upgrading to an SSD.  Meanwhile, I'd like to experience this like-new MacBook Pro now, both as it was during its heyday and with what's still possible today.  It seems doable and I appreciate any and all suggestions.
    Thank you all and have a great day!
    Evalyn
    PS: I realize my FCP3 files are probably useless and plan to reimport everything into a new project.  And sorry for the lack of paragraph spacing.  Can't get it formatted right on the iPad!

    CyberFinch wrote:
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Just to note that there is much more commonality between FCP3 and FCP7 and/or FCE than with the early version and FCP X. IMO, learning FCP X is worth the effort, but it will require some effort since it is so different than traditional NLE's. You could "get by" with FCE for many types of projects and you should be able to find a copy on eBay or Amazon  for a few hundred dollars. However, you will not be able to open a FCP project of any version with it.  Also, I don;t think I would agree that  its UI is simple; it's essentially the same as FCP.
    As for partitioning, some people advise against editing from drives that have been partitioned. I use a partition on one machine and I've not had any problems, so I think it is an option.
    As you can see from the replies you've received so far, you have  reasonable choices. Good luck.
    Russ

  • I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well??

    I have a external Hard drive of 1TB. I want to transfer HD movies to it from my MAC but it can only take 4 gb at a time, now i have to format it which is the best format in this situation NTFS or exFAT, as i use windows part ion as well?? plzz help
    Merry Christmas

    Repartition and format the drive for a Mac:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Which is the best software to convert dvd to IPad 2d

    Which is the best software to convert dvd to IPad 2d

    unfortunately discussing the breaking of the encryption that comes with commercial dvd's is prohibited in these forums. however a quick google search will get you to quite a few software providers....
    on a personal note, i don't agree with the fact that we can't "legally" transfer dvd's because breaking the encryption is considered illegal, even though the "fair use act" has said that copying dvd's for personal use or for backup purposed is considered legal. it's just the software to do that isn't. i'm not one who would rip a dvd then make multiple copies to make a financial gain. i just want to be able to convert my "old" media into a format that meets my current needs.
    good luck my friend on your search. i really wish i could help you more

  • Which is the best app to create cartoon images on that i can move around to other apps and animate to create cartoons

    which is the best app to create cartoon images on that I can move around to other apps and animate.  I want to create the image only, no background or anything

    Hi Susan,
    Kindly check out Flash pro CC
    For more details: Explore Adobe desktop apps | Adobe Creative Cloud
    Thanks,
    Atul Saini

  • How do I upload to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC :) )

    How do I upload photos to Facebook in High Resolution using my iPhone. Do I need an app? Which ones are best for the job? (I know how to do it on a PC )

    100pat wrote:
    Thanks, I can do it fine from my Windows desktop PC, I just want to know how to do it from an iPhone4
    Like I said before ask facebook or look at their support site to see if that is even a feature.

  • How to manage variable conversion factor in UOM to order unit

    Hi,
    We have a material whose base unit is PC unit price is 8 Euro / PC
    Order unit is Box now we do not have a standard conversion factor.
    Means sometimes vendor send 8 pc/ Box ,10 pc /Box and 12 pc /Box
    so when we create Material master and enter order unit as Box in purchasing view system ask for conversion rate
    if we do not enter any the value in PC field its taking 1 Box =1 PC as default.
    Example: Now while creating PO say we order for 10 box.(at this point we do not know exact conversion rate)
    and in the conditions we maintain price against PC .system calculate.
    Now when we receive the material then we actually know how much QTy we receive in SKU (PC) but that field is blur (no input) in 101 mvt type.
    One more thing In MIGO we can enter the Qty in PO Price Unit say we enter 80 PC
    system only creates stock value posting (80 * 8 =640 Euro ) but the stock qty in MMBE is still 10 piece ( from 1:1 conversion with box)
    Please suggest how we can handle this variable conversion rate.
    So that we can enter correct Qty in the time of GR ( MIGO ).
    Thanks in advance.

    Hi,
    Thanks for the valuable  Input.
    For our material base unit is PC order unit is Box.
    Say we main a conversion factor 10 PC =1 Box ( a default value) in MM01
    And we order 10 Box. but when we receive we found that vendor send 12 pc per Box so total 120 pc
    [ Po price unit is in PC in condition details]
    Now in MIGO we cannot modify that Qty ( from 100 to 120 in PC)
    SO you are suggesting here we receive 12 box in MIGO. so that actual qty in PC is correct..
    Thanks again

Maybe you are looking for