I wanna use node.js and app.js in my application
My application under java programming language and my application container is Jetty 6 server
So can I use node.js and app.js inside my application ?
You wont be able to run node.js inside your servlet container.
However you can write services in node.js and host it along side jetty and have your application consume those services.
ie your java application connects to a rest service that running on top of node, to perform its database access.
or vice versa.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.