Re: [nodejs] Node.js with java

326 views
Skip to first unread message

Ryan Schmidt

unread,
Oct 22, 2012, 6:23:50 PM10/22/12
to nod...@googlegroups.com

On Oct 22, 2012, at 12:43, amro alfares wrote:

> i want to use node.js with my java web project

What do you mean, exactly?

Alexey Petrushin

unread,
Oct 23, 2012, 12:16:45 PM10/23/12
to nod...@googlegroups.com
Yeas, with 0MQ

Ryan Schmidt

unread,
Oct 23, 2012, 3:42:54 PM10/23/12
to nod...@googlegroups.com

On Oct 23, 2012, at 11:16, Alexey Petrushin wrote:

> Yeas, with 0MQ

nodejs can use 0MQ:

https://github.com/JustinTulloss/zeromq.node

Do you have a specific question?



Alexey Petrushin

unread,
Oct 23, 2012, 5:10:16 PM10/23/12
to nod...@googlegroups.com
It's not me who asked, I know node can work with ZeroMQ, so I advised it :).

General question - general answer.

greelgorke

unread,
Oct 24, 2012, 3:54:27 AM10/24/12
to nod...@googlegroups.com
even more general: yes, use REST

Angel Java Lopez

unread,
Oct 24, 2012, 8:55:35 AM10/24/12
to nod...@googlegroups.com
Another approach:

Call Node.js functions from Java, using dnode
https://github.com/substack/dnode

On Mon, Oct 22, 2012 at 2:43 PM, amro alfares <amro.a...@gmail.com> wrote:
Dear all 
i am posting this question after alot of google search 

i want to use node.js with my java web project 
can any one tell me how to do that ?! 
Regards 

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Matt

unread,
Oct 24, 2012, 10:14:40 AM10/24/12
to nod...@googlegroups.com
Another approach, call Java directly from Node using JNI:

Evangelos Pappas

unread,
Oct 24, 2012, 11:25:53 AM10/24/12
to nod...@googlegroups.com
IMHO I disagree regarding JNI. JNI has total different philosophy. The combination of NodeJS & Java serves the need for an external I/O Processing VM. The fact that can be implemented doesn't mean that's a good solution. In Most Cases you should combine both via messaging or Interprocess communication.

JNI serves the need to reach a low level access in the JVM.
Evangelos Pappas
 - papas.e...@gmail.com
mob: +30 698 3358 406

Matt

unread,
Oct 24, 2012, 12:07:31 PM10/24/12
to nod...@googlegroups.com
Of course. But the OP didn't give any more detail of what he wanted, so I was making sure the circle of solutions was complete.

You could use node-java to talk to something like JODConverter for converting open office documents, for example: http://www.artofsolving.com/opensource/jodconverter

Matt.

Ryan Schmidt

unread,
Oct 24, 2012, 3:42:49 PM10/24/12
to nod...@googlegroups.com

On Oct 23, 2012, at 16:10, Alexey Petrushin wrote:

> It's not me who asked, I know node can work with ZeroMQ, so I advised it :).

Oh, sorry. You quoted my message, so I thought you were replying to me. Proper quoting is important...

Matt

unread,
Oct 24, 2012, 4:08:06 PM10/24/12
to nod...@googlegroups.com
It was [*], and then gmail came around and made it a pain in the ass.

Matt.

[*] I personally believe it still is, but gmail just makes it too easy to screw up, sadly.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages