Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Would it be foolish to only use the EJB container?

 
Steve Buck
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would it be foolish to only use the EJB container? Say you want some centralized objects with controlled DB access (the EJB does it all..not client), security, transactions, persistence and remotability available for a rich desktop app (many clients in a network using it). But there was no real use for JSP and/or servlets. Would it be considered "overkill"?

Well... I have considered web services too. Have the web services do all the EJB access. Keep it neutral and then allow any type of client to connect and take advantage of the web service.

Is this is a commonly used design?
[ January 15, 2005: Message edited by: Steve Buck ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve,
It is a valid design to have the EJBs function as remote components called from the fat client. That's essentially what you have with servlets anyway. You are just moving the client from the servlet to the desktop app.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic