Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Himai Minh
Ranch Hand
Posts: 1400
  • 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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!