• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

EPractice Lab review quiz 3: dispatched entity and EJB interact with the db ?

 
Bartender
Posts: 1925
13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Which component can be used as model component that directly interact with database?
Given answer: dispatched entity.


My choice : Singleton EJB.
I think EJB can also interact with the DB.
In the below reference, the EJB can use java.sql.DriverManager and java.sql.Connection to interact with the database.
Reference:
http://www.tutorialspoint.com/ejb/ejb_access_database.htm
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic