Implement Java Core Features In Node Js
Posted By : Shashwat Gupta | 19-Sep-2017
Is It Possible to implement Java Core Features In Node Js ??
Yes , Is it possible to implement java core features in Node Js by using 'java4node' npm module.This Library is awesome that provide very easy methods to implement java features in node js in javascript manner
"java4node" : java runner in javascript
Features :
- Multithreading
- System.out.println(" ..any logs ");

Upcoming Features :
- Java Classes
- Java Function overloading
Usage :
just fire the commend on terminal :
npm install java4node
Methods :
.multiThreading(tasks , callbacks)
This Function is use for perform multi threading in java script manner
.System.out.println();
This Functions is use for print the output in the terminal or console window
var java = require('java4node')
java.multiThreading({
one: function(callback) {
java.System.out.println("function one is running");
callback()
},
two: function(callback) {
java.System.out.println("function two is running");
callback()
},
three: function(callback) {
java.System.out.println("function three is running");
callback()
}
}, function(err, results) {
callback(err, results)
});
Link: https://www.npmjs.com/package/java4node
This is very easy module for implement java features in nodejs . Thanks for reading blog
see you on next blog
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Shashwat Gupta
Shashwat is a bright Mean Stack Developer . He has good experience in development of complex UI's of web application and hybrid mobile applications.