This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello (SCJD) World! Have you considered the possibility of having running on the same JVM several instances of the assignment app? Locking then also might be neccesary at local mode. I've just begun thinking about that, but here it is. Singleton pattern seems to be a way. What do you think?
hi, I think it is possible.just link tomcat do.we can create many contexts in one tomcat,but every context seems to live in itself jvm.But all contexts live in the same context in fact.so,i think it is possible to do that just like what you said.
I think you are over thinking your application - it is only meant to be a simple application.
The instructions usually have a line similar to "You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server."
Don't concern yourself with running multiple programs through one VM or multiple VMs .