EJB3 Remote vs Webservices, performances?

Posted by HerQuLe on Stack Overflow See other posts from Stack Overflow or by HerQuLe
Published on 2010-03-18T12:12:26Z Indexed on 2010/03/18 21:51 UTC
Read the original article Hit count: 748

Filed under:
|
|
|

Hello

I'm planning to a webapp where every guy using it would have a client that would run computations on its computer (because these computations can't be done on the server, too much load...), and then send results to the server.

I guess there will be lot of people interested in my application and that's why i'm wonder if my architecture is good and if i'll be able to handle thousands of people.

I'm planning to expose remote EJB through JNDI with Glassfish server, so 1000 people could use these EJB at the same time (i guess there could be 5-50 requests / second) to retrieve the data needed for local computation, and then to send the results...

Is it expensive to expose EJB to many clients? Would it be better to use webservices, rmi, another solution?

Would you recommend me another architecture for what i'm going to do?

© Stack Overflow or respective owner

Related posts about ejb3

Related posts about webservice