Stay away from blobs if you can. We use them here at work and have had nothing but 
problems with them. AOL stores the pictures they serve on a file system and a 
reference to them in a database.

-Pete

> 
> From: bethana kumar <[EMAIL PROTECTED]>
> Date: 2004/01/28 Wed AM 07:51:05 EST
> To: [EMAIL PROTECTED]
> Subject: soap with attachments for sending images
> 
> Hi
>    I have a requirement .....we have to develop  a webservice ....
>  
> 
>  
> 
> 1)Client will send SOAP/HTTP request for imge(s).
> 2)We have to serve the corresponding image through SOAP/HTTP.
>  
> 
> Now the design issues...
> ------------------------
>  
> I have two types of solutions...
>  
> 
> Type-1
> -------
> 1)Storing images in  Database  as a BLOB.
> 2)Extract the image(s )  and send it over SOAP/HTTP
>  
> 
> Type-2
> -------
> 1) Store the images on the hard disk with a predefined path and format, and store 
> the reference (access path) in the Oracle   database.
>  
> 2)Get the relative path and get image and send it over SOAP/HTTP.
>  
>  
>  
> could u please tell me which one is better interms of performance  and 
> scalability.We are using J2EE/J2SE/AXIS and Tomcat.
>  
> 
> what advantages do we  expect to get by serving the images using SOAP over HTTP 
> instead of serving the images using just HTTP?
>  
>  
> 
> Thanks
> Shanta.B
> 
> 
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> 

If a man is standing in the middle of the forest speaking and there is no woman around 
to hear him, is he still wrong?
Hi
   I have a requirement .....we have to develop  a webservice ....
 

 

1)Client will send SOAP/HTTP request for imge(s).
2)We have to serve the corresponding image through SOAP/HTTP.
 

Now the design issues...
------------------------
 
I have two types of solutions...
 

Type-1
-------
1)Storing images in  Database  as a BLOB.
2)Extract the image(s )  and send it over SOAP/HTTP
 

Type-2
-------
1) Store the images on the hard disk with a predefined path and format, and store the reference (access path) in the Oracle   database.
 
2)Get the relative path and get image and send it over SOAP/HTTP.
 
 
 
could u please tell me which one is better interms of performance  and scalability.We are using J2EE/J2SE/AXIS and Tomcat.
 

what advantages do we  expect to get by serving the images using SOAP over HTTP instead of serving the images using just HTTP?
 
 

Thanks
Shanta.B


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to