Solution for Converting OAS JWEB to 9iAS

Hello community.
I just wanted to let you know that there is a solution for migrating from JWEB to Servlet (MVC) type J2EE framework. I am not sure why Oracle did not do this?
1) We created some java classes that replace the PStringBuffer, PDouble, Session classes etc. We still need to keep these around, but you can't use the jar file that contains these classes as they contain JNI lookup references to shared libraries/dll's.
2) We created a class to replicate what PL2JAVA produces. So, the interface to the routines are the same, but we swap in JDBC calls and a JDBC connection pool. The only limitation is the fact that booleans are not handled as nicely with JDBC, so we had to change a couple of the SPs to work with numbers instead (0=false, 1=true). Other than that, no database interface code needs changing.
The Session object that is passed in is actually a wrapper for a JDBC Connection Cache object that the generated SP Java wrapper can grap connections from. The only problem here is that once a SP call is made, the transaction is commited and the connection released back to the connection pool. We did it this way as we did not want to have to add too much transaction management in 100s of classes that use the Java SP interface. We might be able to tweak this a bit so that this functionality is possible by changing the constructor to handle a connection object instead. That way we have more control.
3) We replaced all local variables with HttpSession object setting and getting. This was very tedious, but not too bad.
4) We created a servlet controller that would load the JWeb pages appropriately based on the request.
If anyone is interested, we probably will be doing up a small summary of this. The Java class interface generator could be utilized for any stored procedure work. It is too large to ship up here, but if anyone wants it, I may be convinced to share :) ....
Again, Oracle should have had a migration plan well documented instead of saying, you have to rewrite this. We should have our JWeb app converted with about 2 weeks of part time effort by 3 developers. Now that we have some of these tools, it should be half that time.
Good luck!
Sincerely,
Brad Worsfold

It looks like the LabVIEW Sound and Measurement Suite would do the trick, or possibly Diadem, though I'm not sure if you have LabVIEW.  What program are you trying to open the file with?  It may also have a package you can download that supports all of the formats.  For instance, there appears to be a UFF file reader and writer if you Google "uff files" in the top result, but that's only if you were using a specific program.  But I suppose the easiest way would be if you already had the Sound and Measurement Suite.
Regards,
Jake G.
National Instruments
Applications Engineer

Similar Messages

  • Solution for converting the UFF58--- UFF58b or UFF Ascii.

    Dear all,
    Rightnow, I'm working on vibration analysis by using LV signal express
    2010 which seem can be exported the measurement file as the UFF58. (Universal
    File Format)
    but my problem is; I have to use this measurement file with another program which accept only the UFF58b and UFF Ascii format.
    I try to find solutions for convert UFF58--->UFF58b or UFF Ascii.  Does anyone have an idea? Please help.
    Thank you in advance.

    It looks like the LabVIEW Sound and Measurement Suite would do the trick, or possibly Diadem, though I'm not sure if you have LabVIEW.  What program are you trying to open the file with?  It may also have a package you can download that supports all of the formats.  For instance, there appears to be a UFF file reader and writer if you Google "uff files" in the top result, but that's only if you were using a specific program.  But I suppose the easiest way would be if you already had the Sound and Measurement Suite.
    Regards,
    Jake G.
    National Instruments
    Applications Engineer

  • Is there any solution for convert document spreadsheet presentation to images with Office Web Apps?

    Hi there!
    Is there any solutions for convert document spreadsheet presentation to images with Office Web Apps?

    Hi,
    As far as I know, there is no build-in feature that convert Office file to image format in Office web app yet.
    I'll collect the information, and submit it with internal ways. Then, we could also submit the feedback here:
    http://office.microsoft.com/suggestions.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Can anyone post me a solution for converting gif containing text to a .txt

    Can anyone post me a solution for converting gif containing text to a .txt file using Java

    wow!!!
    not gonna put a full solution (since its huge!!!)
    but heres how you would do it
    open the gif in a bufferd image, then do some image recognition on it
    easy (hehe) case is if the gif only contains text (black on white of a standard font)
    then i would scan down the image until i find a raster line that isnt all white (top of a text line), then find the next raster line that is all white (bottom of text line.
    half(ish) way between these lines scan from the left until you find a black pixel (start <maybe> of next character) (be careful you dont aim for the gap in "i"
    from that point (x, y) test a set of pixels (x+n1, y+m1) to (x+nt, x+mt) where t should only have to be ~8 or 10 such that for each character in the font these test points return a unique combination, you then know what character is next, add it to a string and repeat along the line, then down the page
    tahh dahh there ya go
    you can write a program to learn the required test points by giving it a line of the full character set
    good piggin luck is what i say :-)

  • Solutions for converting HTML to PDF programatically?

    to start off i should say that i am rather new to programming in java.
    here's what i am attempting to do.
    i need to write a java class that will get an HTML string as input... and needs to spit out a PDF file (or outputstream) as output. i have spent the last week or trying to accomplish this using XSL-FO and the FOP library. this solution does not work too well because XSL-FO and FOP do not handle complex table layouts very well (since they require the number of columns and column widths to be known in advance). it seems that FOP (and XSL-FO) is better suited to handling structured XML input... not something unstructured and complex as HTML.
    are there any other libraries/APIs that are out there that are specifically well suited to HTML -> PDF conversion?
    remember this needs to be done programatically, and will probably be invoked as a webservice.
    thanks,
    vivek

    #1 There are definite copyright issues with your
    software. Before you go live with anything like this,
    make sure you're not gonna get reamed.Ehh? I didn't see anything from the OP's question that implied this. Yes, if he uses it to mine commercial web sites and convert them to PDF's there's a problem, but aside from that, where's the danger?
    #2 The PDF part is the easy part. As the other poster
    said, lowagie iText can do PDF. The rendered HTML is
    a much bigger question. The smaller issue is that web
    pages are defined to fit your browser window, so
    you've got to choose a size. The much tougher problem
    is finding a decent HTML renderer in Java. In truth,
    I don't think there is one; JEditorPane is a piece of
    ****, and opera is really not a lot better. Not at all. The OP specifically mentioned web services, so we don't need to assume that Swing is involved. You can, using a 3rd party library (google for java pdf), have a servlet or jsp render its output as a PDF document.

  • Elegant solution for converting a mixed AAC/MP3 playlist to all MP3s?

    Does anyone have an elegant solution (AppleScript?) for taking a playlist containing a mix of unprotected AAC and MP3 files, converting only the AAC files into MP3 files, and preserving the order in the playlist? It seems to be a terribly tedious job to locate each of the newly created MP3s individually and placing them in order in the playlist. Looking for suggestions. Thanks.

    Just had to say thanks for waking my mind up. I'm having troubles in converting over 7,000 MP3s to AACs. I decided to convet everything to the smaller 128kbps AAC meanwhile cleaning everything up. Well, the batch conversion stopped half way through and now I've got duplicats of a ton of stuff in both MP3 and AAC. I had no idea where it stopped on the MP3 list. I completely forgot about sorting by dates. Now, hopefully, I can figure out where it stopped and start up the converting from there rather than starting over and converting everything from the beginning. Got my fingers crossed.
    Since I have a bunch of duplicates, I know I can sort these by "showing duplicates". However, is there any to tell it to delete all dups? It'll just take a long time going through and manually erasing. Any tips would be great.

  • Seeking solution for converter!!!

    I have a bunch of questions that need to be taken care of
    like I want a converter for files to play on my mobile in 3GP
    format and also need to convert my audio files that are in my CD to
    my mobile ringtones.Can I get any software/site that can provide me
    a good solution?

    It is not freeware but i am using total video converter :
    http://www.download.com/Total-Video-Converter/3000-2194_4-10429299.html
    It works fine

  • PL/SQL Solution for Converting Long to VarChar2

    I recently had to convert a bunch of text stored in Long fields to a new VarChar2(2000) field in the same table.
    As you know if you've ever tried, you can't use a basic SQL the update statement will not do this, e.g. update table1 set field2 = field1 (where field2 is VarChar(2000) and field1 is Long) fails as does update table1 set field2 = substr(field1, 1, 2000).
    Interestingly PL/SQL's implementation of SubStr does work with Long fields. I was able to put together the following anonymous PL./SQL block to accomplish the task (msgtext is varchar(2000), msgtext2 is Long):
    DECLARE
    CURSOR message_cur
    IS
    SELECT ROWID, msgtext, msgtext2
    FROM tlrcmmessages
              FOR UPDATE;
    message_rec message_cur%ROWTYPE;
    BEGIN
    OPEN message_cur;
    LOOP
    FETCH message_cur
    INTO message_rec;
    EXIT WHEN message_cur%NOTFOUND;
    UPDATE tlrcmmessages
    SET msgtext = SUBSTR(message_rec.msgtext2, 1, 2000)
    WHERE CURRENT OF message_cur;
    END LOOP;
    CLOSE message_cur;
    END;
    I hopes this helps others out there in similar circumstances.
    Good luck,
    Rob Bratton, Bratton Enterprises

    Oracle strongly recommends to convert LONG fields into CLOB:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adfnstyp.htm#429091
    Rgds.

  • Best workflow/solution for converting Flip HD Videos in FC

    Ok, I have tried many different video/audio settings for bringing in Flip HD videos to edit and ultimately output using H.264 into .mov and .m4p files (for uploading to various web sites). I cannot seem to get a good result - lousy audio syncing and crappy looking video. The footage itself but I am not getting what settings to use to get it into FC, edited, and then out at least in some reasonably decent looking and sounding format. Advice please and thanks.
    I have used Compressor to prep the footage but I was hoping to not have to go through so many many steps to get something done with this footage.

    I have a flip UltraHD and am running FCP 6.0.5
    This is my process.
    • Copy the files from the camera to my scratch folder.
    • Open up Compressor and create a custom preset for ProRes422 to use the existing video size and frame rate with audio conversion to 48khz (the camera records 720p30 and 44.1khz). Set the destination to "Source". Of course, you only need to do this the first time. Once you've created the preset, setting up the files in Compressor goes very quickly.
    • Add the files to the batch list in Compressor.
    • Drop the new preset on the clips and let your computer run. If you have a multi core intel mac, make sure you have set up the machine to use quick clustering. On a MacPro w/ 10GB of ram this goes very quickly.
    • Go have a cup of coffee or your favorite cold beverage.
    • Come back.
    • Edit in a ProRes422 timeline to match your settings.
    Note: ProRes files are not small. But, no one ever said this was an inexpensive or easy game.
    Have fun.
    x

  • When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    Please try with latest version of MS Word and Acrobat.
    Regards,
    Anoop

  • Any solution for preventing converted data (to excel) from crashing?

    Any solution for preventing converted data (to excel) from crashing - file crashes on a consistent basis.

    Hi Shrinivas,
    LabVIEW is getting bug fixes and new features with each version step.
    But new features also can bring new bugs - and not all bugs from older versions are fixed by now…
    The MixedSignalGraph is a beast of it's own and known to have bugs inside. The one you noticed now is probably one of those.
    So it's not your fault your VI terminates rather "unhappy", but most probably NI's fault. You can have a workaround as described in the last post.
    If I have to take same data from wire as you mentioned, I need to save the data in some variable
    No, you don't need any "variable"! THINK DATAFLOW: the wire is the variable!
    I have to write the data to excel file using report generation tool kit or some other way. … Please let me know if I can do it in some other easy methods. 
    It all depends on the datatype of your data. There are functions to save to spreadsheet files. You can save in binary files. You can create TDMS files , which can be read by Excel too. All those functions are really easy to use - you just have to look at the example VIs coming with LabVIEW!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • When I convert documents from pages to word, the format is changed partially and at times entirely. Any solution for this?

    When I convert documents from pages to word, the format is changed partially and at times entirely. Any solution for this?

    Gig Harbor Tina wrote:
    ...Is it possible that the server at work is somehow affecting these attachments?
    I can't say, but if that's the answer, trying to get it fixed might be impossible. Instead, I'd suggest compressing your attachments to create a .zip file. Decompression at the other end would take no time, and if the server changes the attachment's file type, just change it back to .zip.

  • What's the best storage solution for a large iLife? RAID? NAS?

    I'm looking for an affordable RAID storage solution for my Time Machine, iTunes Library, iMovie videos, and iPhoto Library. To this point I've been doing a hodgepodge of external hard drives without the saftey of redundancy and I've finaly been bitten with HD failures. So I'm trying to determine what would be the best recommendation for my scenario. Small Home Office for my wife's business (just her), and me with all our media. I currentlty have a mid-2010 Mac Mini (no Thunderbolt), she has an aging 2007 iMac and 2006 MacBook Pro (funny that they're all about the same benchmark speed). We have an AppleTV (original), iPad2 and two iPhone 4S's.
    1st Question: Is it better to get a RAID and connect it to my Airport Extreme Base Station USB port as a shared disk? OR to connect it directly to my Mac Mini and share through Home Sharing? OR Should I go with a NAS RAID?
    2nd Question: Simple is Better. Should I go with a Mac Mini Server and connect drives to it? (convert my Mac Mini into a server) or Should I just get one of those nice all-in-one 4-bay RAID drive solutions that I can expand with?
    Requirements:
    1. Expandable and Upgradeable. I don't want something limited to 2TB drives, but as drives get bigger and cheaper I want to easily throw one in w/o concerns.
    2. Simple integration with Time Machine and my iLife: iTunes, iMovie, iPhoto. If iTune's Home Sharing feature is currently the best way of using my media across multiple devices then why mess with it? I see "DLNA certified" storage on some devices and wonder if that would just add another layer of complexity I don't need. One more piece to make compatible.
    3. Inexpensive. I totally believe in the "You Get What You Pay For" concept. But I also realize sometimes I'm buying marketing, not product. I imagine that to start, I'm going to want a diskless system (because of $$$) to throw all my drives into, and then upgrade bigger drives as my data and funds grow.
    4. Security. I don't know if its practical, but I like the idea of being able to pop two drives out and put them in my safe and then pop them back in once a week for the backup/mirroring. I like this idea because I'm concerned that onsite backup is not always the safest. Unfortunately those cloud based services aren't designed for Terabytes of raw family video, or an entire media library that isn't wholey from the iTunes Store. I can't be the only one facing this challenge. Surely there's an affordable way to keep a safe backup for the average Joe. But what is it?
    5. Not WD. I've had bad experiences with Western Digital drives, and I loathe their consumer packaged backup software that comes preloaded on their external drives. They are what I meant when I say you get what you pay for. Prettily packed garbage.
    6. Relatively Fast. I have put all my media on an external drive before (back when it fit on one drive) and there's noticeable spool-up hang time. Thunderbolt's nice and all, but so new that its not easily available across devices, nor is it cheap. eSata is not really an option. I love Firewire but I'm getting the feeling that Apple has made it the red-headed step-child of connections. USB 3.0 looks decent, but like eSata, Apple doesn't recognize it exists. Where does that leave us? Considering this dilemma I really liked Seagate's GoFlex external drives because it meant I could always buy a new base and still be compatible. But that only works with single drives. And as impressive as Seagate is, we can't expect them to consistently double drive sizes every two years like they have been -cool as that may be.
    So help me out without getting too technical. What's the best setup? Is it Drobo? Thecus? ReadyNAS? Seagate's BlackArmor? Or something else entirely?
    All comments are appreciated. Thanks in advance.

    I am currently using WD 2TB Thunderbolt hard drive for my iTunes, which i love and is works great.  i am connected directly to my Mac Book Pro. I am running low on Memory and thinking of buying a bigger Hard drive.  My question is should I buy 6TB thunderbolt HD or 6TB NAS drive to work solely for iTunes.  I have home sharing enabled for my Apple TV 
    I also have my time capsule connected just as back up only.   

  • W530 – Solution for lack of eSATAp port

    Hi All,
    When I was analyzing laptop specifications to buy a new one, I was disappointed because I have some external eSATA disks, and there were no eSATAp connector on any W530 model. Anyway, I brought one and I can assure you it is a solid and great machine.
    Meanwhile I found a good and almost inexpensive solution for this problem. It is a small adapter from Addonics that connects to USB 3.0 port and converts to an eSATAp port. (Since I live in Portugal to avoid customs costs I got mine from Aimtec (UK)).
    I measure transfers of 120 MB/s with my 2,5” external disk and so far I am totally satisfied with this solution. To avoid mechanical stress in the laptop port, I suggest using an small USB3.0 extension cable (15 cm) instead of connecting directly the adapter to the computer.
    (NOTE: I have no comercial interest or own any stock options on the referred companies. My only purpose is to share with other members this workaround since Lenovo dropped the support of eSATAp ports on W530 model).
    A.Nuno
    W530 i7-3610QM Quadro K1000M 1600x900 16GB 500GB HDD mSATA Mushkin Atlas 120 GB - Win7 x64

    Dear sophware,
    I don't think this Sonnet adapter supplies power to the external drive. It is eSATA not eSATAp. In this case it is necessary to connect another cable to an USB port to supply power to the external disk.
    In my own opinion I think it is better to have an external adapter than an internal one:
    a) If outside, the heat it generates will be dissipated in the air while the heat generated by the internal adapter will be added to the one already inside and generated by the CPU, graphics etc..
    b) Call me a too much careful person, but in case of internal adapter problem or short circuit, I prefer it occurs outside my machine. The electrical isolation is greater in a USB port than in the ExpressCard/34 Bus. Any electric pick or static discharge and the motherboard internal bus buffers may be damage.
    These are the reasons why I choose an external adapter.
    Best regards,
    A.Nuno
    W530 i7-3610QM Quadro K1000M 1600x900 16GB 500GB HDD mSATA Mushkin Atlas 120 GB - Win7 x64

  • Solution for printing black and white in acrobat

    Hi,
    Here was the problem :
    I was trying to convert my colored pdf file to black and white but nothing was working. Others were having the same problem too (such as http://adobeforums.com/webx/.59b5454d ) and the topic was already archived so I could not post the reply.
    I tried also to print as black (as it can be found at the bottom of the print button in the acrobat 8 ) but it just made my whole document black.
    So, the solution
    TO convert your color pdf to black and white and save it as black and white pdf do the following (I am using acrobat 8 )
    1. GO to file > Print
    2. Choose pdf from the printer
    3. At the very bottom there is a button called "advanced" in the middle of "printing tips" and "summarize comments". Click the advanced button
    4. In the advanced option, under output - there is an option called color and the next to it is written "composite"
    Change it to "composite gray"
    5. press ok and it brings you back to the main printing window
    6. Now if you press ok it prints your file to black and white.
    Hope this will help some people.

    My biggest challenge is printing pdfs of schematic diagrams where color is used to signify "layers" in a drawing.  Hardest one to read is "yellow" on white for lines or text.
    I found a solution, however it may apply to my specific printer only (Sharp MX-2300N).
    From  the print dialog, select "Properties" next to the printer name.
    From the priter properties popup, select the "Main" tab, and check "Black and White print".
    From the "Color" tab, make these selections:
      Color Mode:  Select "black and white"
      Color Adjustment:  Check "Text to Black"
      Color Adjustment:  Check "Vector to Black"
    Other printers may have similar configuration options.

Maybe you are looking for

  • 11.5.10.2 upgrade to R12.1 - 32bit to 64bit env

    We are planning to upgrade our 11.5.10.2 E-Business environment to R12.1. We are running the 11.2.0.1 version of the database. Our current 11.5.10.2 environment is running on Linux x86 servers with the OEL 5.2 OS. We plan to implement R12.1 on new se

  • VGA Input error

    Hello, I had a picture fall on the top of my tower. Now I am receiving an error from my monitor saying no signal from the VGA port. I have plugged the tower into anot her monitor using the DVI port and I received the same error. The green LED by the

  • Problems syncing TV Shows to iPod Touch

    I am having issues syncing my TV shows that I've purchased on iTunes into my iPod Touch. I get a pop up window that says: The episode was not copied to the iPod because it cannot be played on this iPod. I just purchased this iPod yesterday, I've upda

  • Creating new versions and file size?

    Hello. My understanding is creating new versions in Aperture consumes very little file space (i.e., for adjustments, etc). I'm finding I like to have the "create new version" property enabled so I can have multiple choices in a stack per image in my

  • Stray film rolls and pics

    Hi. Was just going through my library and I have found something strange. Sorting by rolls I have roll 92 ( May 8th 2003) next roll is 420, which also says it was imported on the same date. Problem is there are pics in that roll from the same time bu