This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Node.js question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Node.js question" Watch "Node.js question" New topic
Author

Node.js question

Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 184
Good day,

Currently we are using a tomcat server with struts2 framework to do some basic function like file processing, database insertion and updation, and generate JSON object from DB and send it to a page for consumption. my colleague suggest node.js can do the same and probably to replace the tomcat which doing the above mentioned tasks.

I'm not sure how powerful of node.js, and I would like to hear from expert views, is this possible or is a risk to move into node.js ?

Thanks in advance!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

There are a lot of technologies that can pass JSON from a server to a client. That is not why one might choose to use Node.js. Nor is it as simple as "replacing Tomcat".


GenRocket - Experts at Building Test Data
Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 184
Thanks for reply Gregg !

May i know whether node.js can do following :-
1. File processing
2. DB connection and transaction like insertion, updation and etc
3. Generate jSON object from DB

Thank you !
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

If JavaScript can do it, Node.js can handle it. I think you should do some Googling and spend some time here so you can get a better understanding of what Node.js is. Then, when you have questions that aren't as easily answered by a Google search, come here and ask. We'll see if we can help out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Node.js question
 
Similar Threads
Can I use your book to learn JavaScript and then learning Node.js ?
Utilizing Node.js Along Side Grails
How To implement chat application
Most Java Like Run Time/Scriptable Interpreted Language
Node.JS like Functionality in Java