Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running Applications through Server JVM with Client's JVM turned off

 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

Below goes my requirement:
There is a web application which should use only Server JVM to run. The constraint is the Client JVM should be turned off. And also, for starting in this process, I should use my own system to implement this thing. i.e., Both the Server JVM and Client JVM should reside in the same system with Client's JVM turned off

My doubts are as follows:

1. How to turn off Client JVM?
2. How to install a Server JVM?
3. What is the use if we do this?

Any guidance on this will be highly appreciated.

PS:
1. I use Tomcat 6
2. I need a cook book like guidance since I am new in JVM concepts. I don't have a clue about these things
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you are using applets in your web application, there is never a need for a JVM on the client. All the user needs is a browser.
 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bear for your reply.. yes, there is no applets in this application

but my boss insists that I should turn off client JVM. How to do this?

and also how to install server JVM?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only concept of a "client JVM" is the browser JVM. So I guess he wants you to disable Java in the browser.

If you have a JVM on the machine where you are running Tomcat, that's your "server JVM".

I think your boss is either unclear on the concepts, or communicating them poorly.
 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so will the application run when Java is disabled in the browser (given that there are no applets)?

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. In a Java web application, all the Java runs on the server. The client needs only a browser, and that browser does not need Java unless it is to run applets.
 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear. I am more clear now. I thought it as a geeky work
 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now the issue is:

The organization has a desktop version (created using swing) of a web application. They want me to run this desktop application without client JVM. Is it possible?

PS:
it is run from command line
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course not. To run Java on a system, you need a JVM.
 
Sujai Kaarthik
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic