• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scalaibility without EJB  RSS feed

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to make web apps that can scale to 1000's of users
without using EJB. Are there sites out there which have not used EJB but have scaled quite well? If so, then what are the best
coding practices to scale without EJB?
 
trevershick
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, scalable sites with Java have been around before EJBs, yes. The question you asked is a pretty large question, but I would use EJBs as a model for creating your own services.
People have created Java sites using CORBA that are just as scalable if not more. Not all websites require declarative security, and transactions across objects.
I'd determine what you need for basic services, then try your hand at CORBA. Using multithreaded code and object pools are a couple of basic practices you can use.
But to answer your question in a nutshell, you don't need EJB if you don't need their advanced services, you can use CORBA.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!