Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-20-2009, 01:43 PM
makpandian's Avatar
Senior Member
 
Join Date: Dec 2008
Location: Chennai
Posts: 253
Rep Power: 2
makpandian is on a distinguished road
Default Is EJB an alternative for JDBC?
Hello,
I am beginner of EjB.
Some of my friends told that EjB is an alternative of JDBC.Isn't it?

Write down your idea here.
__________________
Mak
(Living @ Virtual World)
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-05-2009, 09:36 PM
Senior Member
 
Join Date: Mar 2009
Location: USA
Posts: 117
Rep Power: 0
Aseem is on a distinguished road
Default
no..who said.
ejb is mainly used for heavy transaction however you can use EJB for database operations. However widely used for handing transactions.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-15-2009, 07:43 PM
Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
mbaocha is on a distinguished road
Default
JPA which is part of EJB is uses jdbc. so jdbc compliments ejb. not an alternative
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 12-22-2009, 04:03 PM
Member
 
Join Date: Dec 2009
Posts: 2
Rep Power: 0
somu.krissh@gmail.com is on a distinguished road
Default
no,wrong information.. EJB is a distributed component which can be supported in any of the platform..now we use this ejb for middletier purpose.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-06-2010, 10:14 AM
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 27
Rep Power: 0
jogep is on a distinguished road
Default
it is always a good idea not to use plain jdbc when you work
with some greater databases.

EJB is one possible alternative but it only works
in an application server environment.

An alternative to EJB is Spring + Hibernate.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
alternative to static initialization blocks paola New To Java 1 12-06-2008 06:51 PM
Any Alternative to Swing? Niveditha AWT / Swing 13 06-27-2008 10:39 AM
Java mswinsck.ocx alternative kpedersen Advanced Java 0 06-13-2008 08:45 PM
alternative for ajax site4u New To Java 1 03-17-2008 01:08 PM
How to use JDBC Template classes to control basic JDBC processing and error handling JavaBean Java Tips 0 09-28-2007 01:56 PM


All times are GMT +2. The time now is 05:16 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org