This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
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

EJB /Servlet Architecture  RSS feed

 
Prem Kumar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends

I would like to what are things i need to consider on choosing whether
i should go for servlet with helper classes or servlet with session beans.
The client is always web (jsp).

Thanks
Prem
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For EJBs, it is always a question on whether you need the benefits an App Server gives, like Connection Pooling, Transactions, Security, et al.

If you don't need it then just use POJOs. Or look at the Spring framework where you can inject only the stuff you want to add like you only need Transactions or auditing.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!