This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to send Blob object from EJB Layer to the client Layer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to send Blob object from EJB Layer to the client Layer" Watch "How to send Blob object from EJB Layer to the client Layer" New topic
Author

How to send Blob object from EJB Layer to the client Layer

RNAGESHK
Greenhorn

Joined: Aug 20, 2002
Posts: 3
Hi all,
I got a Blob object from Stored Procedure and is processed(streamed) at Session Bean and that stream object to be sent to client end layer to capture the stream. How exactly I can achieve this functionality?
Advices are appreciated.
Thanks all,
Nagesh
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
What was in the Blob? What do you really want to do with this thing?
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
RNAGESHK
Greenhorn

Joined: Aug 20, 2002
Posts: 3
Can anybody reply to this question?
Thanks

Thanks Kyle!
Actually a file will be uploaded from the client end as a File object(till the session bean) and then converted to a Stream and put as Blob object in Database. Till here no problem.
I got a problem while retrieval.
From DB, on Blob I am not able to get an object which is serialized one so that I can put Jade's Parameter Object.
I need a clue to find the solution for this.
Thanks.
With regards,
Nagesh
[ September 16, 2002: Message edited by: RNAGESHK ]
 
Don't get me started about those stupid light bulbs.
 
subject: How to send Blob object from EJB Layer to the client Layer
 
Similar Threads
repeatedly sending data through a servlet?
conversion problem (charset ?)
Convertion of string object to BLOB
can i do that
Inserting BLOB's in database