aspose file tools*
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 Spring in Action this week in the Spring 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send Blob object from EJB Layer to the client Layer