|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
mm..not sure about this, you want the java server to serve your svg files in xml format?
__________________
I climb high mountains,dive deep seas. I ride wild horses and fight enemies. When not doing all those things i sit quietly with a nice cup of tea. |
|
||||
|
yes, that would be one way to look at the problem.
Or if there is another way to return svg's from the web service would also work for me.
__________________
[url=http://sparshpolly.blogspot.com]My blog [\url] |
|
||||
|
I can see a few different solutions to this situation, but I am not quite clear on the implementation you have in mind. Is the image being generated and then stored somewhere on the server, waiting for the user to request it, or is the image to be generated dynamically at the time the user requests it?
In either case, honestly I think the actual image would exist outside the web service as a distinct entity on the server, either as a static file or an image generation program. The web service would simply give the client a link to request the image. The server would then deliver the static image or generate and deliver a live image.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
Quote:
Thanks a lot for your reply. Here is one solution that I managed to implement : I generated the image within my java code when the web service method was called (there are some parameters that I need to customize the image with - hence the dynamic generation.) I saved the image xml in a string and returned the string. Then on the mobile client using the image I converted the string to a byteInputStream and displayed it. I think if I just create a file on my server and send it across, it should by default go as a stream of bytes - but am not too sure how to do that. And as of now, I don't see any effeciency gain in creating a file over a simple string object. Quote:
Moreover, I need to generate dynamic graphs for my web service. Do you have any suggestions on how this could be done effeciently without having to create the whole image every single request ? Like does svg support something like parameters to modify charts ? Thank you for your help Sparsh
__________________
[url=http://sparshpolly.blogspot.com]My blog [\url] |
|
||||
|
Yeah, that does sound like the best solution if you are talking to your own client.
Quote:
__________________
The best way to learn anything, is to question everything. |
|
||||
|
would you happen to know a way by which i could modify an existing SVG Chart (Line Chart / Bar Chart) without having to replot the points through my code ? Does SVG Support parameter driven charting ??
__________________
[url=http://sparshpolly.blogspot.com]My blog [\url] |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java code for scrolling image banner | griffygirl74 | Web Programming Discussion Forum | 1 | 03-24-2007 12:56 PM |
| google returning 200 ok header on 404 page | pagetta | Web Programming Discussion Forum | 9 | 03-01-2007 05:22 AM |
| Percentage Returning Visitors | Gert Leroy | Google Discussion Forum | 12 | 09-20-2006 05:12 AM |
| Using SEO to Keep Customers Returning | WPW_Feedbot | Search Engine Optimization Forum | 0 | 05-04-2005 03:30 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |