• 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

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic