• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing a BLOB File  RSS feed

 
karthik Suryanarayanan
Ranch Hand
Posts: 121
Java Opera Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am saving a file in a BLOB object in java . I am having cluster environment setup. How will i read the object and print it in my local machine.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A BLOB is bineary data. So you need to know how to interpret it. How to read it depends on many things. For instance where and how is it stored.
 
karthik Suryanarayanan
Ranch Hand
Posts: 121
Java Opera Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Wouter for the comments. Will publish the entire code once after completing. Just a small clarification. I have machines A , B,C,D together forming a cluster environment . When i click print data in machine A it prints it from the temp memory of the machine A. Is there a way that i can move the Data to machine D through B & C and print it in temp memory of machine D
 
Santhosh ayiappan
Ranch Hand
Posts: 81
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to persist the data in the file system instead of maintaining it in memory? If you can cache the Blob, you can retrieve it any time. Since you are running on a cluster environment you can use Oracle coherence to replicate the data to all the machines within the cluster.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
karthik Suryanarayanan wrote:Will publish the entire code once after completing.
I don't think that that is a good idea. If you're going to paste code then only post the relevant parts.

Are you sure that you have a cluster environment and not just a network of computers?
 
karthik Suryanarayanan
Ranch Hand
Posts: 121
Java Opera Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes sure.. I'm confident that i have a cluster environment..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!