• 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

Would it be foolish to only use the EJB container?

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic