Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Which framework offers the best performance with EJB?  RSS feed

 
charlsy chuks
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am not sure that my question was well phrased but which framework offers the best in terms of simplicity to use,
and efficiency when it comes to building enterprise applications? Strut, JSF, Spring etc

For teaching purposes, I have tried to use servelets and pure html files and jsp to illustrate the workings of EJB?
I am not sure I remember how it played out but most of those exercises were futile (and embarrassing especially when it happens
in front of your students ). So what's the best way to teach EJBs? Thank you.
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss is probably the best : http://docs.jboss.org/ejb3/app-server/tutorial/
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
charlsy chuks wrote:...For teaching purposes, I have tried to use servelets and pure html files and jsp to illustrate the workings of EJB?...


I'm not sure that'd work. Servlets represent the web layer (controller) and the html, jsp... serve the view. But EJBs are for business layer. Yes you could demo the business logic within the servlet itself but it should not be the case for scalable & maintainable apps.
 
charlsy chuks
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys

Nice take on MVC there.
If JBoss is the best, which is the best application server, Glassfish or Tomcat?
Whenever, I run enterprise applications Glassfish fails sometimes.
Are there viable options?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
charlsy chuks wrote:If JBoss is the best, which is the best application server, Glassfish or Tomcat?

I think you're confused. JBoss *is* an application server. I'm not sure why that got mentioned when you asked for *frameworks*. Tomcat is a servlet container, so you can't use it out of the box to run EJBs. I think both GlassFish and JBoss can do everything you need done.
 
charlsy chuks
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay,
Now it is getting pretty clear. I got it all mixed up . Thanks for the enlightenment.
I believe EJB in Action covers the basics. JBoss is the way forward then.

cheers.
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From an EJB perspective it really does not matter but it's probably easiest to start with JSF (say on GlassFish)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!