• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using EJB OR Servlet as Iteration Layer

 
Greenhorn
Posts: 22
PHP Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic