On 12/14/05, Michael Kay <mike@(protected):
> > There is a business rule in place on the maximum size of the image,
>
> I can imagine a business rule that expresses a maximum size as say 12cm x
> 8cm, but a restriction on the size in bytes of the compressed image is
> surely a technical rule rather than a business rule, imposed for technical
> purposes rather than business purposes.
You're absolutely right, the rule is on dimensions. Given the maximum
dimensions, I can come up with a maximum file size. Perhaps I'll
decide not to go this route, but I figure if I can catch this early,
before decoding the binary data and creating an object for the image,
I might as well.
- J.
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)