• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Difference between JCA adapter and JDBC

 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I read in a recent post that we can use JCA adapters to do I/O operations in EJBs. I have a question:

what is the difference between JCA adapters and JDBC?

Both provide way to read and write data.
JDBC provides data formatting.
JCA provides for connection pooling,opening and closing. which JDBC too provides.

If all above is right? and if not then what else are the differences?


I read on JCA adapters web site

http://www.javaworld.com/javaworld/jw-11-2001/jw-1121-jca-p2.html

that JCA needs data/record like structure for IO operation. Isn't it the same for JDBC too?

Thanks!!
 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDBC is just for DB access.
JCA is generic and can be used for any resource.
 
What are you doing in my house? Get 'em tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic