Results 1 to 3 of 3
Thread: Basic question about EJB
- 12-02-2007, 10:00 PM #1
Member
- Join Date
- Nov 2007
- Posts
- 97
- Rep Power
- 0
- 07-15-2008, 05:44 PM #2
Member
- Join Date
- Mar 2008
- Posts
- 28
- Rep Power
- 0
EJB 2.0 and EJB 3.0 both help you in the same way for what you pay for the EJB container. The central point about EJB 3.0 is that it has simplifed the life of developers.
How ?
1) Deployment Descriptors have been replaced by annotations that can be done in Java Code itself .
2) The Concept of using POJO probably inspired from the popularity of Spring Framework has been introduced simplifying the coding process.
3) Now you need not code the home and component interfaces that were pretty complex when you consider some simple business implemention. That was a real overhead in ejb 2.0 .
- 07-15-2008, 05:44 PM #3
Member
- Join Date
- Mar 2008
- Posts
- 28
- Rep Power
- 0
1. As part of ejb2.0 we are using EntityBeans for to access the database.But as part of ejb3.0 we are using the JPA(Java Persistance API) for to access the database and some portability issues.But this Api is same as some orm products like hibernate, Toplink, JDO. But JPA is better than these orm products in case of portability.Because it is using the same api called JPA.
2. EJB2.0 has Deployment descriptors but in EJB3.0 has no Deployment Descriptors.
3. EJB2.0 we have to write Home and Remote Interfaces But in EJB3.0 No need to write Home and remote interfaces.
4. In EJB3.0 We are identifying all entities with '@' symbol.
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
Basic Applet
By jkswebsite in forum Java AppletsReplies: 4Last Post: 01-13-2008, 09:14 PM -
Very basic question
By gvi in forum New To JavaReplies: 2Last Post: 10-30-2007, 06:30 PM -
basic question about files
By oregon in forum New To JavaReplies: 1Last Post: 08-05-2007, 02:34 AM -
help with basic example
By fred in forum New To JavaReplies: 1Last Post: 07-20-2007, 05:45 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks