开发者

Are there frameworks for Jython or JRuby, or is it you can run a py or ruby app on the JVM?

Are there specific frameworks for Jython 开发者_Go百科or JRuby, or is it you can run a py or ruby app on the JVM?

i.e. you take your python django app, and you can run in on tomcat using jython?

Sorry little confused.


JRuby 1.5.X is compatible with Ruby 1.8.7, and pretty much anything you write in Ruby will work in JRuby. This includes applications written in frameworks such as Ruby on Rails, which can be converted to a war file and deployed to Tomcat. In fact the NetBeans IDE comes with Ruby on Rails support and by default you're using JRuby. This makes it easy if you're just getting started with the language and/or the framework.


I think you're right. You can run django framework python in jython, which will run on the JVM, so I think you're in good shape. http://www.infoq.com/news/2009/09/state-of-python-on-the-jvm has a lot more details that may help you with specific ways to do this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜