Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

implementing business logic for web services app

 
Jano Frank
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is EJB the only class container that can be called from the presentation or service interface layer? Are there instances where EJB is not used for the business layer other than the most simple prototypes or poorly designed web applications?

The book I am reading goes straight from the presentation layer to EJB without giving any other options.

Thank you!
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Enterprise JavaBeans framework was designed for "enterprise" business software. This is a specific class of software that typically has a wide range of requirements, e.g. security, transaction management, etc. It is simply a framework and using it to build non-enterprise applications is questionable. In smaller applications, business components can simply be created with custom Java classes using various Java frameworks, utility classes and other API as needed, e.g. Collections framework.
 
Jano Frank
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!