Pros/Cons JDBC HIBERNATE EJB
Upcoming SlideShare
Loading in...5
×
 

Pros/Cons JDBC HIBERNATE EJB

on

  • 3,065 views

differences bw JDBC, HIBERNATE, EJB and final conclusion

differences bw JDBC, HIBERNATE, EJB and final conclusion

Statistics

Views

Total Views
3,065
Views on SlideShare
2,503
Embed Views
562

Actions

Likes
1
Downloads
16
Comments
0

38 Embeds 562

http://rajkrrsingh.blogspot.com 169
http://rajkrrsingh.blogspot.in 142
http://www.rajkrrsingh.blogspot.in 119
http://www.linkedin.com 24
http://www.rajkrrsingh.blogspot.com 24
http://www.rajkrrsingh.blogspot.se 8
http://rajkrrsingh.blogspot.nl 7
http://rajkrrsingh.blogspot.de 7
http://rajkrrsingh.blogspot.fr 6
http://rajkrrsingh.blogspot.co.uk 4
http://rajkrrsingh.blogspot.mx 4
http://rajkrrsingh.blogspot.ie 3
http://www.rajkrrsingh.blogspot.nl 3
http://rajkrrsingh.blogspot.dk 3
http://rajkrrsingh.blogspot.hu 3
http://rajkrrsingh.blogspot.kr 3
http://rajkrrsingh.blogspot.fi 2
http://rajkrrsingh.blogspot.ch 2
http://rajkrrsingh.blogspot.sg 2
http://rajkrrsingh.blogspot.se 2
http://www.rajkrrsingh.blogspot.sg 2
http://rajkrrsingh.blogspot.ca 2
http://rajkrrsingh.blogspot.com.es 2
http://rajkrrsingh.blogspot.pt 2
http://rajkrrsingh.blogspot.jp 2
http://rajkrrsingh.blogspot.ro 2
http://www.rajkrrsingh.blogspot.fr 2
http://www.rajkrrsingh.blogspot.de 1
http://rajkrrsingh.blogspot.it 1
http://www.rajkrrsingh.blogspot.mx 1
http://rajkrrsingh.blogspot.ru 1
http://www.rajkrrsingh.blogspot.ae 1
http://rajkrrsingh.blogspot.co.at 1
http://www.rajkrrsingh.blogspot.it 1
http://rajkrrsingh.blogspot.hk 1
http://www.rajkrrsingh.blogspot.co.uk 1
http://www.rajkrrsingh.blogspot.com.br 1
http://rajkrrsingh.blogspot.com.au 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Pros/Cons JDBC HIBERNATE EJB Pros/Cons JDBC HIBERNATE EJB Presentation Transcript

  • Pros/Cons JDBC Hibernate EJB 3.0 www.rajkrrsingh.blogspot.com
  • ProsJDBC Hibernate EJB 3.0You have complete Simple to write CRUD A lot less artifacts thancontrol (create, retrieve, update, EJBover the persistence delete) operations. 2. x. Make use ofbecause this is the No container or annotations or attributesbuilding blocks of nearly application server is based programming.all other persistence required and can be Narrows the gaptechnologies in Java. plugged into an existing between EJBCan call Stored container. 2. x and O/R mapping.Procedures. Tools are available to Do support OO conceptsCan manipulate relatively simplify like inheritance.large data sets. mapping relational data to objects and quick to develop www.rajkrrsingh.blogspot.com
  • ConsJDBC Hibernate EJB 3.0You will have to write a lot of Little or no capabilities for Since it is new, might be toocode to perform a little. remote access and early to use in commercialEasy to make mistakes in distributability. projects.properly managing Mapping schemas can be It is still evolving.connections and can cause tedious and O/R mappingout of cursors issues. has its tricks like using lazyHarder to maintain because initialization, eager loadingchanges in schemas can etc. What works for one maycause lot of changes to your not work for another.code. Limited clusteringRecords need to be locked capabilities.manually (e.g. select for Large data sets can stillupdate). cause memory issues. Support for security at a database level only and no support for role based security without any add on APIs like Aspect Oriented Programming etc. www.rajkrrsingh.blogspot.com
  • ConclusionsJDBC Hibernate EJB 3.0Where possible stay Suitable for records in As a rule of thumb,away use suitable for distributedfrom using JDBC unless between 100 and 5000. and clusteredyou Watch out for memory applications, which ishave compelling reason issues, when heavily transactionto using large data sets. based. Records inuse it for batch jobs use say between 1 andwhere 100.large amount of dataneed to be transferred,records in use greaterthan 5000, required touse Stored Proceduresetc. www.rajkrrsingh.blogspot.com