hi all:
I want to know the difference between getting the defualt Session instance vs. getting a new instance. The api says that the defualt instance is shared among all the applications running in the same JVM. Is that mean if called this line: Session session = Session.getDefaultInstance(props, null);
and then in another application someone else reset the the security parameters on the defualt session, then my application will not function.
which is more secure Session.getInstance() or Session.getDefualtInstance()
and why?
I have been looking for an answer, and not one has any clue.
any help is greatly appreciated.
I want to know the difference between getting the defualt Session instance vs. getting a new instance. The api says that the defualt instance is shared among all the applications running in the same JVM. Is that mean if called this line: Session session = Session.getDefaultInstance(props, null);
and then in another application someone else reset the the security parameters on the defualt session, then my application will not function.
which is more secure Session.getInstance() or Session.getDefualtInstance()
and why?
I have been looking for an answer, and not one has any clue.
any help is greatly appreciated.