4

I am wondering if there are limitation stopping Dalvik VM work as a Server VM? A Previous discussion already stats that most of java code should work. Since Dalvik VM uses less memory, which would be very useful for VPS users.

Are there anything similar being done? I Did a google search and found Zero things. Am i missing something? That is can not be used this way?

Ksec
  • 251
  • 3
  • 5

1 Answers1

1

DalvikVM is not a "standard"(pdf) JVM. It's a JVM explicitly geared towards operating on a mobile device and it runs a modified version of Java. Using this as a webserver would be a bad idea, particularly on the grounds that it doesn't fully support JavaSE (wikipedia) and it doesn't even mention having support for J2EE.

FloppyDisk
  • 1,693
  • 16
  • 25
  • Well according to another question on StackExchange, http://stackoverflow.com/questions/230193/what-can-you-not-do-on-the-dalvik-vm-androids-vm-that-you-can-in-sun-vm – Ksec Oct 07 '11 at 09:41
  • Yes, however, see http://stackoverflow.com/questions/230193/what-can-you-not-do-on-the-dalvik-vm-androids-vm-that-you-can-in-sun-vm/2389218#2389218 answer in the question. Dalvik was designed with mobile as its primary market, not being a general JVM. – FloppyDisk Oct 07 '11 at 12:57
  • Of course it would not be a drop in replacement for JavaSE, but I would like to see a Dalvik server. – Prof. Falken Aug 05 '12 at 22:39