Coffeescript,nodejs,mongoDB和JasperReports,是可能吗? [英] Coffeescript, nodejs, mongoDB and JasperReports, is it possible?

查看:185
本文介绍了Coffeescript,nodejs,mongoDB和JasperReports,是可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚实现了一个JSF(web javascript应用程序),连接到mongoDB数据库和生成报告(PDF)感谢JasperReports图书馆。 (因此使用.java文件)



是否可以在coffescript和nodejs中使用web应用程序执行相同的操作?
我真的很新,所以我不知道从哪里开始。



例如:可以运行



感谢

解决方案

感谢nodejs或coffeescript, JSF实际上是一个 JavaServer Faces 应用程序,而不是Javascript应用程序。 Javascript(其中node.js,coffeescript是基于)不是等同于Java,尽管名称相似。



如果您已经有一个基于JSF的应用程序,那么您已经拥有创建基于Web的应用程序所需的一切,不需要node.js,coffeescript等。 p>

去看看JSP,Tomcat等,以了解如何呈现网页而不是输出到PDF,你应该设置


I just realized a JSF (web javascript application) that connect to mongoDB database and generate a report (PDF) thanks to JasperReports Library. (so with a .java file)

Is it possible to do the same thing with a web applicaton in coffescript and nodejs ? I am really new to this so I don't know where to start.

For example: Is it possible to run a .java thanks to nodejs or coffeescript ?

Thanks

解决方案

JSF is actually a JavaServer Faces application, not a Javascript application. Javascript (which node.js, coffeescript are based on) is not equivalent to Java despite the similarity in names.

If you already have a JSF based application then you already should have everything you need to create a web based application, no need for node.js, coffeescript etc.

Go take a look at JSP, Tomcat etc. to figure out how to render web pages rather than output to PDF and you should be set

这篇关于Coffeescript,nodejs,mongoDB和JasperReports,是可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆