In my architecture framework, I had to use collection depending on my need I had to come to one point either Vector or ArrayList can fit in to my requirement
But the case I am not sure which among the two should be chosen.
As Vector is synchronized and Arraylist is not based on this difference, how do i define where should i chose between this two.
1) Do in my ejb(Session bean and entity bean) would Vector having synchronized nature would be an advantage.
Can I have a scenario in a case where Vector should be used over ArrayList
2) Same for JSP
Can I have a scenario in a case where Vector should be used over ArrayList
Thanks,
aakash