I did such as thing in shockwave some year ago. The biggest disadvantage though that you can steal the model easy (well, easy for experts) regardless if you show it in java, flash, shockwave etc. And Java would be better to show a model online, as it's faster.