Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: In memory concept

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Location
    hyderabad
    Posts
    9
    My Mood
    Fine
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question In memory concept

    hi,

    This is vanirathna,
    i don't have any idea on in memory concept in java, but i want code for storing a file from scanner to server directly that means the file should not store on local memory. so please help me in this

    Thanks,
    vanirathna
    VaniRathna


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: In memory concept

    Can you be more explanatory in your question?
    Do you want to transfer a file with in a network?

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: In memory concept

    I don't know a way to copy a file from a PC to a server without some program reading the file into memory.

  4. #4
    Junior Member
    Join Date
    Oct 2011
    Location
    hyderabad
    Posts
    9
    My Mood
    Fine
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: In memory concept

    hi Mr.777
    I need to scan a file from scanner and that scanned file should not store in local memory, it should store directly on server, and for this some one suggested me to use in memory mechanism of java. but i don't have any idea regarding in memory mechanism in java, so can u please help me in this how can i do this because i even can't understand how to start this

    thank you..
    VaniRathna

  5. #5
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: In memory concept

    Well, yes you can scan a file and store it on the server without storing it in the local memory. I'll recommend you to have a look over this discussion. Parsing huge file without reading into memory (Performance forum at JavaRanch)
    This might help you.

  6. #6
    Junior Member
    Join Date
    Oct 2011
    Location
    hyderabad
    Posts
    9
    My Mood
    Fine
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: In memory concept

    thank you Mr.777
    i'll try in that way
    VaniRathna

Similar Threads

  1. Help with a GUI Concept
    By UnKnown Conceptz in forum AWT / Java Swing
    Replies: 1
    Last Post: January 28th, 2012, 08:53 AM
  2. Need help with a interface concept
    By drakenlord in forum Object Oriented Programming
    Replies: 2
    Last Post: September 13th, 2011, 02:17 PM
  3. Doubt in Encapsulation concept
    By nareshn in forum Object Oriented Programming
    Replies: 1
    Last Post: January 19th, 2011, 02:20 AM
  4. Memory Handling -de allocate memory in Java
    By 19world in forum Java Theory & Questions
    Replies: 4
    Last Post: June 15th, 2010, 04:05 AM
  5. [SOLVED] The concept of Server and Client
    By rendy.dev in forum Java Theory & Questions
    Replies: 3
    Last Post: January 18th, 2010, 04:13 AM