web applications - Calling a static method from a Java web app -


hi new web app development. creating java web app. safe assume web app used multiple clients @ same time. inside app wish call static method. generic method , there no need create object that. there processing penalty doing that? since method declared static there 1 method web clients share? bottle neck? what's best practice regarding this? thanks.

if static method synchronised or has form of thread locking, bottleneck. if thread-safe, should fine.


Comments

Popular posts from this blog

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -