JamVM - a compact, open source Java Virtual Machine can now be ported into iphone. This means that developers can now develop java web applications in iPhone and use iPhone itself as the application server. Cool huh? This is best for developing and testing small applications - on the go.

JamVM on the iPhone



Jetty Embedded Server
iPhone is using SQLite and the SQLite JDBC can be used to access iPhone's DB