The difference using file text and using database ...

whatz 'p dude !!!
yo men i have a little quest bout using file text and
usig database .
the quest is :
if u a programer tell me, if u use file text why u use that ?
whats the advantages using file text for saving record ?
and if u use database like jdbc,sql,orcle for making java
what the advantages using them ?
can u give me some hope plizzzz

if u a programer tell me, if u use file text
why u use that ?Text files are good for storing things like configuration data. For this, you are best served using java.util.Properties to store data in any easily accessible format. That's the problem with text files, you have to invent a format and a way to read/write that format every time you use a text file for a database. Sure you could use a standard format like CSV, but you run into big problems when your database exceeds several megabytes in size. Doing something a simple as reading a single field from a file usually involves reading the entire file. That can kill performance if you have to do it repeatedly and often.
and if u use database like jdbc,sql,orcle for
making java what the advantages using them ?Java was made with C, not with JDBC, SQL, or Oracle. SQL is a language for reading and writing data from a database. JDBC is a Java interface to interact with databases. And Oracle itself is a relational database.
The advantages of using a database are ease of use, performance, and reliability. All you need to know is JDBC and SQL to read/write data from a database (though SQL varies slightly with every different database). Databases use indexes to allow them to quickly find rows and fiels in a database without having to read the entire database. Most of them cache data in memory to speed things up too.
That's it. If you want to know more, search Google or buy a book or two :)
can u give me some hope plizzzzI'm hopeful you will realize that you make yourself look like an idiot typing like that.

Similar Messages

  • What are the differences between file vault and legacy file vault?

    what are the differences between file vault and legacy file vault?

    Legacy is an encrypted disk image of your Home folder, FileVault2 is whole disk encryption

  • What is the difference between Standard text and Text Symbols?

    Hi,
                1.Difference between Standard text and text symbol,?
                2. Which we use Standard symbol?

    Text symbol
    Text symbols are symbols representing text elements. In fact, a text symbol can be defined for every text elements. The reading of the form is easier in the SAPscript editor. The name of the text symbol must not exceed 32 characters and its value 60 characters. The value assignement can be done in two ways:
    - Using the following command: "/: DEFINE &SYMBOL&='TEST_SYMBOLE'"
    - Using a standard text symbol.
    The text symbol value is temporary stored. When the print program finishes the execution, the text symbol does not exist anymore. The text symbol must have a value when it is declared.
    Also check this link,
    http://www.supinfo-projects.com/en/2005/forms_sapscript_en/5/
    Standard text are good, if you are using them in more than one SAPScript, because you have to maintain them only once, and not in every SAPScript.
    It is really good to write rarely changing texts into the SO10 standard texts (for example company name, and address).
    standard text is not always used in scripts. when ever u want to display some data u need to use standard text so that the data gets displayed. Say, u have a large piece of document which needs to be printed at end of script... rather than writing the whole thing in script, we create standard text using SO10 and then use the name along with standard text in script.

  • What is the difference between 'command delete' and using 'delete original and all versions'?

    My masters are not referenced and I usually have only one version.  What is the difference between using 'command delete' versus going to the top menu bar and using 'dele

    Good question  .
    When the Version is the only Version based on the Original of that Version, the two commands have the same effect.
    See this User Tip by master Aperturist Frank Caggiano.

  • Difference between copy value and use one as many

    hi
    what  is the difference between copy value and use one as many?
    thanks

    [http://help.sap.com/saphelp_nw2004s/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/content.htm]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm]
    Much better understanding of UseOneAsMany: [http://help.sap.com/saphelp_nw2004s/helpdata/en/38/85b142fa26c811e10000000a1550b0/content.htm]
    Edited by: Praveen Gujjeti on Feb 18, 2010 11:42 AM

  • Difference between File adapter and FTP adapter

    hi,
    I would like to know what is the difference between File adapter and FTP adapter
    thanks
    Yatan

    Both file and ftp adapters are non-concurrent jca adaps, however we go for file adapters mostly when you have files on your local environment and do not need to wait for someone to FTP the files on a timely basis. In case of FTP Adapter, we would need an FTP Server, a remote location with access where in files pitch in for polling.
    Also, File adapter is dependent on the local folder and OS, however FTP adapter is dependent on the local as well as the remote file system/OS/folder permissions/user access.

  • Difference between Include Text and Text Modules in Smartform?

    Hello Experts,
    I need to know the differences between Include Text and Text Modules in the Smartform.
    When we create a Text in smartform, the text type can be text element Or Include Text Or Text Module.
    Now i need to know the differences between Include Text and Text Module.
    Thanks and Best Regards,
    Suresh

    Hi Suresh,
    Kindly check the below link for Text Modules.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/24/ccbd2a00c811d4b588006094192fe3/content.htm]
    For Include Text:
    [Include Text|http://help.sap.com/saphelp_nw70/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm]
    Regards,
    -Syed.

  • Solution using File Text (.txt extension) as entry and JDBC as out

    We need develop a solution using File Text (.txt extension) with separator, as entry(outbound) and JDBC SqlServer as out (inbound).
    We have checked  the documentation in the url: http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm and had no success.
    We defined the data type structure of file text likely the data content and structured in XI like this:
             Message Mapping 1                      Message Mapping 2
    outbound (txt) -> inbound (txt)   ->  outbound (txt) -> inbound JDBC,
    in Message Monitoring, showed just one message with status successfull and the target wasn´t reached ( the data was not writed in SqlServer).
    We didn´t understand why the Message Monitoring didn´t show us the problem with the solution developed.
    Regards,
    Midervilson e Mônica Andrade.

    The interface does not look correct to me.
    You dont need to create a text file out to send the data to a DB.
    File -> Sender Agreement -> File Sender Adapter -> Content Conversion -> Integration Server -> Receiver Determination -> Interface Determination (Interface Map) -> Receiver Agreemnt -> JDBC Receiver Adapter.
    You dont need to output the file for JDBC.
    Install JDBC Driver for your SQLServer using following guide and use JDBC Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    The JDBC receiver message format
    http://help.sap.com/saphelp_erp2004/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    regards
    Shravan

  • I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless i select the list in the sub file. How do I get backto the old method of seeing and using iTunes??

    I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless I select the list in the sub file. How do I get back to the old method of seeing and using iTunes??

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and th

    When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but do not see any video. Have I changed some setting that controls video playback in the monitor window?

    Randy Ruttger
    Thanks for the follow up.
    Missing in this equation were the version of Premiere Elements that you were using and the computer operating system on which it was running. But...
    The deed is done. But.....Until now and after you went ahead and moved to version 12, we now learn what version of Premiere Elements you were using. We still do not know the computer operating system involved.
    You just said Premiere Elements 10. Premiere Elements 10 is hit by a serious known display issue if the computer uses a NVIDIA GeForce video card/graphics card. In this issue, the only remedy is to roll back the driver version to about May 2013. The description of the problem and how to do the roll back are described in one of the Announcements at the top of this forum. What video card/graphics card does your computer use?
    On another front, Adobe will be releasing a new version of Premiere Elements any day now. No one but Adobe knows the feature set for the new version. That type of information is announced at the moment of release of the new version.
    So the remedy to the problem that you presented in this thread could have been...
    1. Rolling back the NVIDIA GeForce driver version to about May 2013 if possible (Windows 8 or 8.1 64 bit, may not be possible)
    2. Move to another version of Premiere Elements (which you did)
    I offer the above for consideration so that you can review your decisions. We are pleased to learn that Premiere Elements 12/12.1 works for you.
    Please do not hesitate to ask questions and ask for clarifications, but remember that the answers are in the details.
    Best wishes,
    ATR

  • I do video productions for a small local TV station. I use Final Cut Express to edit. I need a new video camera but am at a loss as to what to buy. I know I will get a digital camera but do not know the difference between just digital and digital HD.

    I do video productions for a small local TV station. I use Final Cut Express to edit. I need a new video camera but am at a loss as to what to buy. I know I will get a digital camera but do not know the difference between just digital and digital HD. Also, I can not afford an expensive camera and need some advice on which of the available cameras would be best and also work well with a Mac. One last issue, I currently use a Panasonic #CCD camera that takes a tape. When I load video to Final Cut the audio and video are out of sinc. Go figure. Can anyone help with these questions. Karen

    Hello Karen,
    If you are using Final Cut Express, then look for camcorders that are AVCHD camcorders.  Look especially for the AVCHD logo and specific mention of AVCHD in the specs.  Most of the major manufacturers produce good quality camdcorders - Canon, Sony, etc.
    Also, be aware that there are a lot of "not quite AVCHD" camcorders on the market (sometimes they say they record video as MPEG4-H.264/AVC) - buyer beware!
    Most everything you are going to find on the market today is HD, which stands for "high-def".
    Regarding your question about the Panasonic camcorder, it's best if you post that as a separate question, and please identify the specific model camcorder and the Easy Setup you are using in FCE.

  • I need to know the difference between planned SKF and Actual SKF from business view and when I can use one of them ?

    I need just to know the difference between plan SKF and Actual SKF in business example and when I use one of them.
    thanks

    Hi Salaam,
    Statistical Key Figure (SKF) is a base to allocate the cost between cost centers. Usually, common cost centers cost should allocate to respective department cost centers on monthly basis.
    Some of SKFs are: Calculating floor rent on SFT, Telephone charges on No. of units, and employees head count is with "Each" in SAP.
    Apart from Ajay's reply, you can consider the Canteen exp in an organization. Assume Admin, Fin and Mfg departments are getting food services from Canteen. Here, total monthly cost of Canteen exp should be allocated to respective departments. Here, we use SKF as total head count of each department and distribute the cost.
    Planned SKF is what you planned on the beginning of a period. (Assume head count was planned as 30 in the month beginning)
    Actual SKF is what exactly you consumed over the period. (Actual employees provided canteen services during the month is 25)
    BR, Srinivas Salpala

  • What is the difference between Outlook features using exchage server and using 3rd party mail server ?

    Hi~ I'd like to know what the difference is between Outlook features using exchage server and using 3rd party mail server.
    If I use 3rd party mail server with Outlook, Outlook features are the same as Exchange Server ?
    I want to use all Outlook features..

    The basic features (and many advanced features) are identical in all accounts. With pop3, your mail, calendar, contacts, tasks, notes are stored in a pst and are only on the computer. IMAP accounts only sync email back to the server, not calendar,
    contacts, and tasks. Outlook.com EAS accounts (aka Hotmail) syncs calendar and contacts back to the server. Exchange mailboxes stores everything on the server - mail, calendar, contacts, custom views, rules - and if you open the mailbox in outlook on
    any other computer, the mailbox is identical. Because everything is on the server, you'll have much better syncing with smartphones and tablets with Exchange mailboxes.
    Calendar sharing, open other users folder, and retention policies are Exchange-only. Mail Tips and apps (linked under the reading pane header in Outlook 2013) are Exchange-only.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Backup SQL Agent Jobs - whats the difference between "create to" and "drop to" using "script job as"?

    Hi,
    This should be straightforward, but being new to SQL Server 2008, can someone advise the difference between "create to" and "drop to" using "script job as"?
    Thanks
    IT Support/Everything

    hello,
    "CREATE TO" create a CREATE statement for the job, e.g. to execute this script on a other server to create the same job there.
    "DROP TO" means you get a script to delete an existing job.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • What is the difference between undo tablespace and online redo log files.

    what is the difference between undo tablespace and online redo log files. I am confused
    as per my knowledge undo tablespace is used to store the undo information when a table is being updated so that, just incase we need to rollback a transaction we know what was present in the table earlier.
    when a transaction fails the SMON performs the rollback of the data.
    This undo data is stored in the undo tablespace and read consistency if any is enforced.
    is my understanding till here correct?
    Now, can this undo data/before image not be stored in the redo log buffer and online redolog files?
    can redo-log files not store this information?
    in fact, is it that when undo tablespaces exist in a database, the undo data/before image is stored in both the undo tablespace and also the redo log files?
    kindly clarify my doubt.
    thank you.

    This question has been asked many times before. The answer is always the same.
    Yes, redo contains the before image of data (and the after-image). Therefore, it **COULD** be used to roll back a transaction.
    BUT... Redo is written sequentially. Using it to rollback your transaction would involve reading through all the redo written by maybe thousands of other people. It would be painfully slow.
    Your transaction is, however, directly linked to just the UNDO that it generates (which is JUST the before image of the data). So, your undo is your undo and doesn't share space with anyone else's undo. Therefore, using it to roll back YOUR transaction is fast.
    The fact that undo is only the before image of the data also makes it faster than wading through a sea of before and AFTER images as you'd find in redo. About twice as fast, in fact, since there's half the data. Roughly.
    Redo also gets written and flushed to disk whenever there's a commit, 3 seconds are up or too much (1MB, actually) redo gets generated between flushes caused by other factors. Your redo gets flushed when those things happen, even if you haven't actually committed your transaction. And redo logs recycle themselves, meaning that your redo -even if your transaction hasn't been committed yet- can be over-written by later transactions. Try rolling back when that's happened, if redo was the source of your rollback data!
    Undo, however, cannot be over-written if the transaction has not been committed. Ever. If you don't commit for three years, there will be three years' undo stored in your database (assuming you had the space, of course!).
    I could go on, but that will do. Redo is there fore RECOVERY, after catastrophe. Undo is there for read-consistency (and the occasional change of mind). Two different functions. Two different mechanisms. Each one highly tuned to doing what it does, why it does it, most efficiently and effectively.

Maybe you are looking for

  • Print Price in PO

    Hi All, In purchase order -item details- Condition Control Tab one Print Price box is there. Here always tick mark is coming. I want to to know where we are setting this default value. Waiting for favourable response. Regards Indrashsish

  • Trying to import iPhoto 6.0.2 Library to Aperture 1.1 - Need help!

    I just installed aperture and updated to version 1.1 I attempted import my iphoto library into aperture, but ran into a serious problem. A large number of my jpg pictures are coming up as "Unsupported Image Format." I have figured out that all the pi

  • Calender sync 'hanging' between my iphone and office 2007 calender

    Since my latest itunes software update my iphone no longer syncs with my calender set up in MS office 2007. It appears to be syncing the calender but operation never completes (have left it for up to 25 minutes) and has to be ended by my intervention

  • Parent-child repeating frame display parent-attributes

    I have the following object-structure M-D-DD-DDD so, the tree would look something like M1 --D1 ----DD1 ------DDD1 ------DDD2 ----DD2 ------DDD3 ----DD3 ------DDD4 --D2 ----DD4 ------DDD4 I need to display parent's attribute on each page ie M1-D1-DD1

  • Regex, String Range

    Hello please, Appreciate your help here. I have a field string that wants to find if that exists between two range strings on character basis. Ex: String lower boundary : "ABD" String upper boundary : "ALGKP" field String : "ABE" Now the field string