Originally posted by Merrill Higginson:
One other suggestion: In Struts, it's better to make all input fields Strings, and then convert them to other data types in your Model objects if you need to. While the above code will work for valid data, if the user enters a value that cannot be converted to a float, Struts will throw an exception. If you use Strings, you can validate the values first, and then convert them to floats in your Model. Another point is that with the above code, you're forced to accept the default formatting of your floats. If you use Strings, you can format the output however you want.
Originally posted by ManojKumar Unnikrishnan:
Well, i have tried using startUML but it does not seem to have options to create sequence diagrams and component diagrams.
Can you please calrify...
thanks
Originally posted by jay roy:
If all the instances in instance-cache have been used up and there are no instances available, what happens when more concurrent users try
to access the bean and there are no instances avaialble. Are they just turned away?
Originally posted by jay roy:
Is there any specific practical reason why it should not be used?
Did you read it in any text book or a website or do you feel its a j2ee best practise to follow.
Note that only Session and Message-driven beans can be used with bean-managed transaction demarcation.A Bean Provider is not allowed to provide an Entity bean with bean-managed transaction demarcation.
Originally posted by jay roy:
CMP with BMT is a bad choice.
but BMP with BMT is possible.