CoffeeScript,Node.js,MongoDB和JasperReports,它有可能吗? [英] CoffeeScript, Node.js, MongoDB and JasperReports, is it possible?

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

问题描述

我刚刚实现了一个连接到MongoDB数据库并生成报告(PDF)的JSF(Web JavaScript应用程序),这要归功于JasperReports Library(所以带有.java文件)。

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

是否可以使用CoffeeScript和Node.js中的Web应用程序执行相同的操作?我真的很陌生,所以我不知道从哪里开始。

Is it possible to do the same thing with a web application in CoffeeScript and Node.js? I am really new to this, so I don't know where to start.

例如:是否可以运行.java感谢Node.js或CoffeeScript?

For example: Is it possible to run a .java thanks to Node.js or CoffeeScript?

推荐答案

JSF实际上是 JavaServer Faces 应用程序,而不是JavaScript应用程序。 JavaScript(Node.js,CoffeeScript所基于的)等同于Java,尽管名称相似。

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.

如果你已经有了基于JSF的应用程序然后您已经拥有创建基于Web的应用程序所需的一切。不需要Node.js,CoffeeScript等。

If you already have a JSF-based application then you already should have everything you need to create a web-based application. There is no need for Node.js, CoffeeScript, etc.

去看看JSP,Tomcat等,弄清楚如何渲染网页而不是输出到PDF,你应该设置。

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,Node.js,MongoDB和JasperReports,它有可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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