• 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

when EJB 3.0

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In what are benefits EJB 3.0 compared to Spring 2.0? Where would you prefer EJB 3.0 before Spring 2.0?
(I have never used EJB 3.0.)

Thanks to advanced
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Coming from a Spring + Hibernate background, I found EJB 3.0 to be much simpler to develop and deploy similar applications. It needs very very little XML (only persistence.xml). Though Spring does have annotations now, it still needs a bit of XML.

Additionally, I find not having to bundle a container, ORM framework, logging framework, collections framework, bytecode manipulation framework with all my apps nice.
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using EJB3.0 is very simple. If you using Jboss as application server then you dont require even database.
It has built in database called (Hypersonic database). So you can have everything
JSP/SERVLETs, EJB(session, stateless,Entity), inbuilt ORM concepts with all database concepts (creating database,update database etc) and generate .ear file
and deploy on jboss. So you have everything what you need (ofcourse JVM, java compiler also required )
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Manu,

Kindly look through some recent posts. I have addressed this very question on a few threads, including references comparing the two technologies.

Best regards,
Reza
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic