Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using EJB OR Servlet as Iteration Layer  RSS feed

 
Jhon Gonzales
Greenhorn
Posts: 22
Java Linux PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

I'm building an Application. The all the business logic is written using EJB, so I have to expose my business as Soap Webservice using JAX-WS. I have to create an iteration layer to communicate the client with my business. So I could create my iteration layer using JAX-WS + EJB but i could create my iteration layer using Servlet + JAX-WS.

What will be the recommended stack (JAX-WS +EJB OR Servlet+JAX-WS) for having better performance, less use of resource and process assurance. The number one priority is that all processes will be executed successful and the a lot of client will be acceded to the application.

PD: The application will be running inside a Cluster.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would recommend that you use JAX-RS to expose your business logic. I don't know why you want to use EJB's? I would ideally pick a lightweight stack with Servlets and expose your functionality via JAX-RS.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!